Hello,
I am trying to replicate this SAS code in STATA. I understand most of the commands, but I would like to know what org(upc) means. Is it like an indicator variable? Also, is the command assigning random effects for each listed variable: upc org(upc) store org
Thanks in advance!!
proc mixed data= out.sample_av2 method= ml;
by city prod_name;
class org store upc timevar city subject month;
model logprice_fill= subject/ ddfm=bw solution;
random intercept upc org(upc) store org/ subject = timevar;
ods output CovParms = out99.varcomp_pav_wst;
run;
I am trying to replicate this SAS code in STATA. I understand most of the commands, but I would like to know what org(upc) means. Is it like an indicator variable? Also, is the command assigning random effects for each listed variable: upc org(upc) store org
Thanks in advance!!
proc mixed data= out.sample_av2 method= ml;
by city prod_name;
class org store upc timevar city subject month;
model logprice_fill= subject/ ddfm=bw solution;
random intercept upc org(upc) store org/ subject = timevar;
ods output CovParms = out99.varcomp_pav_wst;
run;