Hi everyone,
I am running a BCHOICE procedure and was wondering how I can get the covarance and correlation matrix as an actual data output (and not via running stats=corr or stats=cov).
Furthermore I wondered why the stats=cov table, for example, shows covariances and variances of the covariances itself (e.g. REmean"Attrlvl1"). What sense does it make to show the covariance matrix of the covariance? Possibly, my thinking is wrong so I am glad for help.
Lastly, if I want to draw conclusions to how much my parameters are associated what is the best way? The standard BCHOICE output gives me the mean random estimates (e.g. REmeanAttrlvl1) and its covariaces (e.g. RECovAttrlvl1, Attrlvl 2). So I could interpret them just as I always would with covariates (e.g. Attrlvl1 and Attrlvl2 are positiely associated). However, doesn't the correlation between those two give better interpretable results?
How would you proceed?
Thank you very much for your help.
Best,
Alex
As with any procedure, you can save any table it produces in a data set by using an ODS OUTPUT statement. You just need the name of the table you want to save. If you use the STATS=CORR option, for example, then you could save it as a data set by adding this statement:
ods output corr=mycorr;
See this note for more on saving tables.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.