Date: Thu, 15 Jun 2006 11:04:16 -0300
Reply-To: Pedro Albuquerque <zefiro@BRTURBO.COM.BR>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Pedro Albuquerque <zefiro@BRTURBO.COM.BR>
Subject: RES: All combinations...
In-Reply-To: <CA8F89971ADA9F47A6C915BA23978442011A7C22@MAILBE2.westat.com>
Content-type: text/plain; charset=us-ascii
Great!!!!
Tks for all answer !!!
Pedro.
-----Mensagem original-----
De: Sigurd Hermansen [mailto:HERMANS1@WESTAT.com]
Enviada em: Thursday, June 15, 2006 11:01 AM
Para: Pedro Albuquerque; SAS-L@LISTSERV.UGA.EDU
Assunto: RE: All combinations...
Pedro:
You don't hear me say this often.... For this class of problem SAS has a
better procedure than PROC SQL:
data test;
v0='0'; v1='1'; v2='2';
output;
run;
proc summary data=test;
class v0 v1 v2;
output out=pattern (drop=_type_ _freq_);
run;
Sig
-----Original Message-----
From: owner-sas-l@listserv.uga.edu [mailto:owner-sas-l@listserv.uga.edu]
On Behalf Of Pedro Albuquerque
Sent: Wednesday, June 14, 2006 10:00 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: All combinations...
Hello,
How can I do to make a data file like this:
ALL COMBINATIONS "0" TO "T"
Data combination;
Input x $100.;
Cards;
0
0,1
0,2
...
0,T
1,2
1,3
...
1,T
...
0,1,2
0,1,3
...
0,1,T
...
...
0,1,2,...,T
;
Tks very much
-----Mensagem original-----
De: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] Em nome de Matt
Enviada em: Wednesday, June 14, 2006 8:49 PM
Para: SAS-L@LISTSERV.UGA.EDU
Assunto: Re: Hausman Test for comparing fixed vs. mixed models
Yes, but TSCREG has two drawbacks:
1) requires that the data be balanced
2) dummy variables for fixed parameters are explicity estimated and
reported, requiring excessive cpu usage and output
My data (SIPP) is unbalanced and is extremely large (~2.5 million
person-months).
Are there any other ways to get the Hausman test?
Thanks, Matt
Ban Cheah wrote:
> Instead of comparing STATA's xtreg with PROC MIXED, the alternative
> comparison may be with PROC TSCSREG. PROC TSCSREG outputs the Hausman
> test by default.
>
> -----Original Message-----
> From: owner-sas-l@listserv.uga.edu
> [mailto:owner-sas-l@listserv.uga.edu]
> On Behalf Of Matt
> Sent: Wednesday, June 14, 2006 3:44 PM
> To: sas-l@uga.edu
> Subject: Hausman Test for comparing fixed vs. mixed models
>
>
> Hello,
>
> I have searched up, down, left and right for a way to run the Hausman
> test in SAS, for comparing fixed effects (GLM) vs. random effects
> (MIXED). Apparently it can be done, but I can't seem to find how to
> do so. PROC MODEL does not seem to be appropriate for this comparison.
> I know this can be done, the 'long way' (which I've done), but it
> seems like SAS would have developed some sort of option (possibly in
> PROC
> MIXED) for the Hausman Test, similar to the 'hausman option' in
Stata's
> xtreg package.
>
> Thanks for your help in advance.
>
> Matt Hall
> Penn State Population Research Institute
|