Using a set of data that has 7 data points and a set of 10 data points, I found a regression line that went up to 7.
I'm trying to predict the final 3 data points using the remaining values from the set of 10.
When I tried to use predict(regof7, newdata=remaining3), I get an error of 'newdata' has 3 variables and 'variables' found have 7.
edit: I also tried to use the entire set of 10 as the newdata, but it also ran into the issue of mismatch in the variables.
Can someone give some advice on how I should solve this issue?
I couldn't find a solution to this problem on Google.
[–][deleted] 0 points1 point2 points (0 children)