Help using Base SAS procedures

Input dataset for proc simnormal

Reply
New Contributor flg
New Contributor
Posts: 2

Input dataset for proc simnormal

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?

New Contributor flg
New Contributor
Posts: 2

Re: Input dataset for proc simnormal

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.

Ask a Question
Discussion stats
  • 1 reply
  • 270 views
  • 0 likes
  • 1 in conversation