add a covariate to Generalized linear mixed models

classic Classic list List threaded Threaded
11 messages Options
ro
Reply | Threaded
Open this post in threaded view
|

add a covariate to Generalized linear mixed models

ro
Hi all,

I d like know if is possible add a covariate in a Generalized linear mixed models...

Thanks in advance
Rodrigo
Reply | Threaded
Open this post in threaded view
|

Re: add a covariate to Generalized linear mixed models

Bruce Weaver
Administrator
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
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).
Reply | Threaded
Open this post in threaded view
|

Re: add a covariate to Generalized linear mixed models

Maguin, Eugene
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
Reply | Threaded
Open this post in threaded view
|

Re: add a covariate to Generalized linear mixed models

Bruce Weaver
Administrator
Gene, re the comparison of GenlinMixed to SAS, Stata etc, the UCLA "textbook examples" site would be a good place to look.  E.g., here's a page showing the use of gllamm in Stata.  

  http://www.ats.ucla.edu/stat/stata/examples/mlm_ma_hox/chapter2.htm

Cheers,
Bruce


Gene Maguin 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
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).
Reply | Threaded
Open this post in threaded view
|

Re: add a covariate to Generalized linear mixed models

Ryan
In reply to this post by ro
Rodrigo,

Are you asking about the GENLINMIXED procedure specifically or are you
asking about generalized linear mixed models (GLMMs) more broadly?
Well, the answer is an absolute YES to either question.

By the way, GLMMs can be thought of as an extension of generalized
linear models (e.g., logistic regression model) by allowing random
effects to be incorporated into the linear predictor.

Ryan

On Thu, Sep 29, 2011 at 2:07 PM, ro <[hidden email]> wrote:

> Hi all,
>
> I d like know if is possible add a covariate in a Generalized linear mixed
> models...
>
> Thanks in advance
> Rodrigo
>
> --
> View this message in context: http://spssx-discussion.1045642.n5.nabble.com/add-a-covariate-to-Generalized-linear-mixed-models-tp4854209p4854209.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
ro
Reply | Threaded
Open this post in threaded view
|

Re: add a covariate to Generalized linear mixed models

ro
Hi Ryan,

Yes, I ask for Generalized linear mixed models.

thanks for your information
Rodrigo





On Thu, Sep 29, 2011 at 10:34 PM, R B [via SPSSX Discussion]
<[hidden email]> wrote:

> Rodrigo,
>
> Are you asking about the GENLINMIXED procedure specifically or are you
> asking about generalized linear mixed models (GLMMs) more broadly?
> Well, the answer is an absolute YES to either question.
>
> By the way, GLMMs can be thought of as an extension of generalized
> linear models (e.g., logistic regression model) by allowing random
> effects to be incorporated into the linear predictor.
>
> Ryan
>
> On Thu, Sep 29, 2011 at 2:07 PM, ro <[hidden email]> wrote:
>> Hi all,
>>
>> I d like know if is possible add a covariate in a Generalized linear mixed
>> models...
>>
>> Thanks in advance
>> Rodrigo
>>
>> --
>> View this message in context:
>> http://spssx-discussion.1045642.n5.nabble.com/add-a-covariate-to-Generalized-linear-mixed-models-tp4854209p4854209.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
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://spssx-discussion.1045642.n5.nabble.com/add-a-covariate-to-Generalized-linear-mixed-models-tp4854209p4855322.html
> To unsubscribe from add a covariate to Generalized linear mixed models,
> click here.
Reply | Threaded
Open this post in threaded view
|

Re: add a covariate to Generalized linear mixed models

Ryan
In reply to this post by Maguin, Eugene
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
ro
Reply | Threaded
Open this post in threaded view
|

Re: add a covariate to Generalized linear mixed models

ro
Hi Ryan,

Could you give me some command for get Criteria Information in SAS??

Thanks in advance
Rodrigo
Reply | Threaded
Open this post in threaded view
|

Re: add a covariate to Generalized linear mixed models

Ryan
Rodrigo,

The GLIMMIX procedure in SAS automatically produces various
information criteria (e.g., AIC, BIC) unless the model is estimated
using pseudo-likelihood methods.

Ryan

On Thu, Sep 29, 2011 at 10:41 PM, ro <[hidden email]> wrote:

> Hi Ryan,
>
> Could you give me some command for get Criteria Information in SAS??
>
> Thanks in advance
> Rodrigo
>
> --
> View this message in context: http://spssx-discussion.1045642.n5.nabble.com/add-a-covariate-to-Generalized-linear-mixed-models-tp4854209p4855494.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
ro
Reply | Threaded
Open this post in threaded view
|

Re: add a covariate to Generalized linear mixed models

ro
ok, thanks for the information.






On Fri, Sep 30, 2011 at 12:04 AM, R B [via SPSSX Discussion]
<[hidden email]> wrote:

> Rodrigo,
>
> The GLIMMIX procedure in SAS automatically produces various
> information criteria (e.g., AIC, BIC) unless the model is estimated
> using pseudo-likelihood methods.
>
> Ryan
>
> On Thu, Sep 29, 2011 at 10:41 PM, ro <[hidden email]> wrote:
>> Hi Ryan,
>>
>> Could you give me some command for get Criteria Information in SAS??
>>
>> Thanks in advance
>> Rodrigo
>>
>> --
>> View this message in context:
>> http://spssx-discussion.1045642.n5.nabble.com/add-a-covariate-to-Generalized-linear-mixed-models-tp4854209p4855494.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
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://spssx-discussion.1045642.n5.nabble.com/add-a-covariate-to-Generalized-linear-mixed-models-tp4854209p4855571.html
> To unsubscribe from add a covariate to Generalized linear mixed models,
> click here.
Reply | Threaded
Open this post in threaded view
|

Re: add a covariate to Generalized linear mixed models

Swank, Paul R
In reply to this post by Ryan
He latest version also includes a quadrature method so that true likelihoods can be obtained.

Dr. Paul R. Swank,
Children's Learning Institute
Professor, Department of Pediatrics, Medical School
Adjunct Professor, School of Public Health
University of Texas Health Science Center-Houston


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of R B
Sent: Thursday, September 29, 2011 9:57 PM
To: [hidden email]
Subject: Re: add a covariate to Generalized linear mixed models

Rodrigo,

The GLIMMIX procedure in SAS automatically produces various
information criteria (e.g., AIC, BIC) unless the model is estimated
using pseudo-likelihood methods.

Ryan

On Thu, Sep 29, 2011 at 10:41 PM, ro <[hidden email]> wrote:

> Hi Ryan,
>
> Could you give me some command for get Criteria Information in SAS??
>
> Thanks in advance
> Rodrigo
>
> --
> View this message in context: http://spssx-discussion.1045642.n5.nabble.com/add-a-covariate-to-Generalized-linear-mixed-models-tp4854209p4855494.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