I have the following output from from R.
I know we can calculate predicted values using the predict() function.
How can we calculate the predicted value by hand if X=2 or 3?
I'm using the below formula but my answer differs from the output from the predict() function.