I am simulating multivariate data using proc simnormal. I have known parameters rather than generating them using proc corr, so I am creating a dataset that looks like the one proc corr would have output. Proc simnormal seems to require that this dataset includes means standard deviations correlation coefficents and N. I can't see how this N is being used. It seems that unless N=1 the value N takes doesn't really matter, but if N=1 then the simulated values all take the mean values that are input (which makes some sense). Bas I have no known value for N as an input parameter is my assumption that it has no effect so I can choose any value (except N=1) correct?
I raised this question to SAS and the best way to apprach it appears to be to create a COV dataset rather than a CORR dataset when simulating from known parameters but with no knowledge of the N that they are based on. Using this dataset does not encounter the same problems as the CORR dataset when no N is provided.
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.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.