Hi guys!
I would very much like to plot / sketch / graph a 95% confidence ellipse using base SAS for a small data set I have, of size 9.
I'm unsure of how to proceed. This is the two methods I tried to use without much success:
proc princomp DATA=scores OUT=scores1 COVARIANCE plot=((alpha=0.05)=(confidence=ellipse));
title 'Scores:';
VAR x y ;
RUN;
and
proc corr data=scores nomiss plots=scatter(ellipse=prediction alpha=0.05);
var x y;
run;
Anyone have any ideas? Also, if you know of another statement to add to any code to provide me with the individual c.i. for the two variables, I would greatly appreciate that as well.
Scrofungulus
I would very much like to plot / sketch / graph a 95% confidence ellipse using base SAS for a small data set I have, of size 9.
I'm unsure of how to proceed. This is the two methods I tried to use without much success:
proc princomp DATA=scores OUT=scores1 COVARIANCE plot=((alpha=0.05)=(confidence=ellipse));
title 'Scores:';
VAR x y ;
RUN;
and
proc corr data=scores nomiss plots=scatter(ellipse=prediction alpha=0.05);
var x y;
run;
Anyone have any ideas? Also, if you know of another statement to add to any code to provide me with the individual c.i. for the two variables, I would greatly appreciate that as well.
Scrofungulus