I have a little issue with R and statistics.
I fitted a model with the Maximum Likelihood method, who gave me the following coefficients with their respective Standard Errors (among other parameters estimates):
ParamIndex Estimate SE
1 a0 0.2135187 0.02990105
2 a1 1.1343072 0.26123775
3 a2 -1.0000000 0.25552696
From what I can draw my curve:
y= 0.2135187 + 1.1343072 * x - 1 * I(x^2)
But from that, I have now to calculate the confidence interval around this curve, and I don't have a clear idea how to do that.
Apparently, I should use the propagation or error/uncertainty, but the methods I found require the raw data, or more than just the polynomial formula.
Is there any method to calculate the CI of my curve when the SE of the estimates are known with R?
Thank you for your help.
Edit:
So, right now, I have the covariance table (v) obtain with the function vcov
:
a0 a1 a2
a0 0.000894073 -0.003622614 0.002874075
a1 -0.003622614 0.068245163 -0.065114661
a2 0.002874075 -0.065114661 0.065294027
and n = 279
.