Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Anova SAS vs.Stata

From   Cinzia Rienzo <>
Subject   st: Anova SAS vs.Stata
Date   Wed, 30 May 2007 13:33:56 +0100 (BST)

Dear all,

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; 
output out=here.bw2m

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:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index