BookmarkSubscribeRSS Feed
AnastasiaK
Calcite | Level 5

I am running SAS proc mixed:

 

proc mixed data=Data;

class sample;

model result= time / DDFM=KENWARDROGER s cl E3 alphap=0.05 residual outp=mixedout;

random sample /s;

run;

 

I need to calculate Confidence Intervals for individual values for each sample separately.

We  can call these intervals Prediction intervals.

 

With outp= I can obtain only CI's for mean values.

 

Can somebody help me?

 

Thank you in advance,

 

Anastasia.

3 REPLIES 3
SteveDenham
Jade | Level 19

You can get EBLUPs (empirical best linear unbiased predictors) from the solution option on your RANDOM statement.  You could add a CL option to get confidence bounds.  The outp= only incorporates EBLUPs for repeated factors.

 

Steve Denham

AnastasiaK
Calcite | Level 5

Dear Steve,

 

thank you for you interest to my question.

 

I think that I didn't explained well my question.

 

I can have CIs from outp= .

But my problem is that I can not have Tolerance Intervals for 'result' variable. I need to estimate the intervals where individual measurements could be found if the experiment would be repeated again.

 

Thank you in advance,

 

Anastasia.

SteveDenham
Jade | Level 19

I fear I am missing something.  So you want confidence bounds on 'result' at various times for future repetitions at the same random effects?  What about shifting to PROC GLIMMIX, where you can use the OUTPUT statement--

 

output out=out1 pred(blup ilink)=predicted lcl(blup ilink)=lower ucl(blup ilink)=upper;

 

This should give the blup's and confidence intervals on the original scale.

 

Steve Denham

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1531 views
  • 2 likes
  • 2 in conversation