[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Anova SAS vs.Stata
i am translating some commands from SaS to Stata;
my main dubt is about the variance of the residuals, from which i
should get the between, within and total variance.
command for Sas are the following:
proc summary vardef=weight data=one;
class year edcl expcl;
var lwage1 rw1;
command for STATA shoul be :
by year, sort: loneway lwage1 rw1 [aweight = hwt]
My questions are:
1) how do i account into STATA for the "class year edcl expcl;"
2) is the Sata command correct consistent with Sas one?
i would appratiate any suggestions.
* For searches and help try: