Help using Base SAS procedures

Proc Model: how to specify covariance structure?

Reply
New Contributor
Posts: 2

Proc Model: how to specify covariance structure?

Hi,

I'm trying to model the var-cov structure of two bivariate variables, y1 and y2 using Proc Model as follows:

----------------------------------------------------------------------------------------------------

proc model data= mydata;

  y1= u1;

  y2= u2;

  h.y1 = (some functional form);

  h.y2 = (some functional form);

cov(y1,y2) = (some functional form);  => (how to express the covariance of y1 and y2 here???)

...

run; quit;

----------------------------------------------------------------------------------------------------

According to the SAS ETS 9.3, one can use h.var to specify the functional form of variance. My question is if there's a way to obtain the covariance of y1 and y2 in a similar fashion?

Thanks!

Ask a Question
Discussion stats
  • 0 replies
  • 106 views
  • 0 likes
  • 1 in conversation