I have an exercise that says
Find a confidence interval of 95% on the mean number of games won by a team when x2=2300,x7=56 and x8=2100.
Is there a function in R that gives directly such confidence interval?
I've thought about using the function
confint(f)
, but this function gives the result when it's about one or more parameters, and as far as I understand I don't have a parameter but a function like this beta0+beta1xi where the parameter beta is already estimated and the point xi would be x2,x7 and x8.
Another way would be to do it 'manually' but this complicates because I would have to calculate the standard error,the variance, the t value, etc.
Could you help please?
Thank you in advance