For the following set of data,
one can generate a linear fit model as shown below:
Y = 24.522739 + 11.068566*X
Summary of Fit
RSquare Adj 0.729474
Root Mean Square Error 16.17783
Mean of Response 138.695
Observations (or Sum Wgts) 20
The question I have is: how should I go about and generate the 99% confidence intervals for the projected Y when X = 11.8 and 12.7? Or even better if you could elaborate the details on how JMP calculates the confidence intervals (such as, 95%, 99%) for a linear fit model.
Many thanks in advance!
Solved! Go to Solution.
They are both correct and both appropriate, depending on what you want to estimate or test. They answer different questions. They are not used for the same purpose. The former is for the statistic and the latter is for the data.
BTW, you can easily visualize either one or both of these intervals when you fit the line in Bivariate. Use same menu under the plot and select Confid Shaded Fit or Confid Shaded Indiv. One is related to the uncertainty in the sample statistic (regression line) and the other is related to the uncertainty of individual observations.
to get the predicted values and confidence intervals you would do the following:
To see how jmp calculates the prediction/CIs you could just klick on the "+"-symbol on the left hand side (next to the column names).
To get the prediction and CI for specific values of X you would just add new rows (like it did in the picture above: Row 21 and 22). JMP will automatically generate the predictions and CI-values for the X-values you enter.
Hope that helps.
Thanks for the reply! This was what I did. However, I was puzzled by the Vec Quadratic term in the formula as shown belown and also I was expecting 2.576 multiplying the standard error (for 99% confidence interval calculation instead of 2.878 or 1.96 for 95% confidence interval calculation)
(24.5227390655596 + 11.0685662563684 * :X) - 2.87844047273861 *
[1.00352196297906 -0.0924403260280234, -0.0924403260280234
 || :X
) * 261.722077754035
2nd quesition: is it more appropriate to use Indiv Confidence Limit Formula than Mean Confidence Limit Formula? If not, why so?
The Vec Quadratic() function is an optimized way to perform the matrix computations before applying the scalar multipliers.
You want a two-sided 99% confidence interval, so the probability cutoff on each tail is 0.005%. This calculation with the given 18 degrees of freedom for the error indicates the correct multiplier:
t Quantile( 0.995, 18 ) -> 2.87844047273861
Note that you can select Graph > Profiler and enter all three of the formula columns. You can now change X by dragging or typing over the current value (in red) and entering an exact value. The profilers will give the point estimates, lower and upper bounds.
I can't answer your second question about which kind of interval is appropriate because you have not stated how you would use or interpret the interval. They are both appropriate but for different questions. It depends on the alternative hypothesis you are trying to test.
Thanks Jeff and Mark for your very quick reply. I got that part. However, in my formula, I have (see attached) 0.395, 0.051, and 0.007 inside first term in Vec Quadratic. I was wondering what these values represent? 0.051 and 0.007 have something to do with the slope, but not very sure. Again, thanks for your assistance.
Taken directly from the description and explanation I just posted, it is a "symmetric matrix," the "inverse covariance matrix." It refers to the covariance of the parameter estimates, of course.