Is there a way to know the fitted curved from the function Predict
when choosing the linear regression method.
I am using this data:
SeedRandom[144]
x = 2*RandomReal[{0, 1}, 10];
y = 2 + 2*x + RandomReal[{0, 1}, 10];
I am asking beacuse I use LinearFitModel
in order to get the equation of the best fit.
Predict
performs identical toLinearModelFit
when it comes to the estimates of the coefficients. But when you start out with a uniform distribution for the error,LinearModelFit
does not give appropriate estimates of precision andPredict
doesn't give estimates of precision at all. Maybe you were just usingRandomReal
to get an example dataset as opposed to mimicking the kind of data you actually have. $\endgroup$