Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: GLM regression


From   Aidan Trung Nguyen <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: GLM regression
Date   Tue, 11 Mar 2014 14:24:41 +0000

Hi all, 

 

I'm trying to write the STATA equivalent of the following
SAS statement:

 

proc glm data=dataset

class a b 

model x = v*y*y    
u*u    t    a*b

weight w

output out = outputdataset

 

a is a string character

b, x, v, y, u, t are numeric

u contains non integer and negative values

 

i tries the below command but without success:

anova x  v*y*y   u*u  
t   a*b

 

error message : factor variables may not contain non integer
values

 

Any guidance is much appreciated. Thanks.


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index