Login  Register

Re: add a covariate to Generalized linear mixed models

Posted by Ryan on Sep 30, 2011; 2:27am
URL: http://spssx-discussion.165.s1.nabble.com/add-a-covariate-to-Generalized-linear-mixed-models-tp4854209p4855478.html

Gene,

I'm a huge fan of the GLIMMIX procedure in SAS. Here's the basic code structure:

proc glimmix data=mydata method=<method>;
class <categorical predictor variables and random effects subject
identification variable>;
model y = <fixed effects> / s link=<link function> dist=<distribution>;
random <random effects> / subject=<random effects subject
identification variable>;
run;

Talk about straightforward!

Ryan

On Thu, Sep 29, 2011 at 4:45 PM, Gene Maguin <[hidden email]> wrote:

> Yes, isn't the command syntax cryptic. I don't know how difficult it was to
> develop the command syntax for Genlinmixed but why is it so complex. I'd be
> curious to know how it compares to sas or stata or mlwin or hlm. Mplus is
> trivially simple in comparison. It makes me wonder if spss bought the
> routine from somebody and had to build the command syntax to accommodate the
> routine. That same question comes up too for the cryptically named Plum and
> and for Nomreg. Everywhere else spss has a somewhat standard command
> structrure syntax.
>
> Gene Maguin
>
>
> -----Original Message-----
> From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
> Bruce Weaver
> Sent: Thursday, September 29, 2011 4:17 PM
> To: [hidden email]
> Subject: Re: add a covariate to Generalized linear mixed models
>
> When I first read the question, I wasn't sure what the problem was.  But
> then, I've not yet had the pleasure of taking GENLINMIXED out for a test
> drive.  A quick glance at the FM (i.e., the "fine manual", as in RTFM)
> /suggests/ that rather than using the "BY factor WITH covariate" method,
> GENLINMIXED uses the variable levels to distinguish between factors (nominal
> & ordinal) and covariates (scale).  Perhaps someone who has used GENLINMIXED
> can confirm.
>
> HTH.
>
>
> ro wrote:
>>
>> Hi all,
>>
>> I d like know if is possible add a covariate in a Generalized linear mixed
>> models...
>>
>> Thanks in advance
>> Rodrigo
>>
>
>
> -----
> --
> Bruce Weaver
> [hidden email]
> http://sites.google.com/a/lakeheadu.ca/bweaver/
>
> "When all else fails, RTFM."
>
> NOTE: My Hotmail account is not monitored regularly.
> To send me an e-mail, please use the address shown above.
>
> --
> View this message in context:
> http://spssx-discussion.1045642.n5.nabble.com/add-a-covariate-to-Generalized
> -linear-mixed-models-tp4854209p4854548.html
> Sent from the SPSSX Discussion mailing list archive at Nabble.com.
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> [hidden email] (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> [hidden email] (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD
>

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD