generalized linear mixed query

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

generalized linear mixed query

Kornbrot, Diana
hi
have a between*between*repeated*repeated design 
and want means at lowest level, got this message

Warnings
glmm: No more than three fields can be specified in a single estimated marginal means term.
Execution of this command stops.

what can I do?
offending syntax line is
/EMMEANS TABLES=b1*b2*w1*w2 CONTRAST=NONE 

GLMM is quite a disappointment, ti tends to give up on quite simple designs

best

Diana
________________________________________
Professor Diana Kornbrot
Work
University of Hertfordshire
College Lane, Hatfield, Hertfordshire AL10 9AB, UK
+44 (0) 170 728 4626
[hidden email]
http://dianakornbrot.wordpress.com/
 http://go.herts.ac.uk/Diana_Kornbrot
skype:  kornbrotme
Home
19 Elmhurst Avenue
London N2 0LT, UK
 +44 (0) 208 444 2081                                                   



===================== 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
|  
Report Content as Inappropriate

Re: generalized linear mixed query

Bruce Weaver
Administrator
I couldn't quite believe that warning, so had to try it for myself--see syntax below.  

It's true:  GENLINMIXED did not estimate the model with the 4-way interaction on the EMMEANS line.  MIXED, on the other hand, did estimate that model.

Cheers,
Bruce


NEW FILE.
DATASET CLOSE ALL.
* Change path on next line as needed.
GET FILE='C:\SPSSdata\survey_sample.sav'.

* EMMEANS with three-way interaction.
GENLINMIXED
 /FIELDS TARGET=Age
 /TARGET_OPTIONS DISTRIBUTION=NORMAL LINK=IDENTITY
 /FIXED EFFECTS=
   sex race marital born
   sex*race sex*marital sex*born race*marital race*born marital*born
   sex*race*marital sex*race*born race*marital*born
   sex*race*marital*born
 /EMMEANS TABLES=sex*race*marital CONTRAST=NONE
.

* EMMEANS with four-way interaction.
GENLINMIXED
 /FIELDS TARGET=Age
 /TARGET_OPTIONS DISTRIBUTION=NORMAL LINK=IDENTITY
 /FIXED EFFECTS=
   sex race marital born
   sex*race sex*marital sex*born race*marital race*born marital*born
   sex*race*marital sex*race*born race*marital*born
   sex*race*marital*born
 /EMMEANS TABLES=sex*race*marital*born CONTRAST=NONE
.

* WARNING:
* "No more than three fields can be specified in a single estimated marginal means term".


Kornbrot, Diana wrote
hi
have a between*between*repeated*repeated design
and want means at lowest level, got this message

Warnings

glmm: No more than three fields can be specified in a single estimated marginal means term.

Execution of this command stops.


what can I do?
offending syntax line is
/EMMEANS TABLES=b1*b2*w1*w2 CONTRAST=NONE

GLMM is quite a disappointment, ti tends to give up on quite simple designs

best

Diana
________________________________________
Professor Diana Kornbrot
Work
University of Hertfordshire
College Lane, Hatfield, Hertfordshire AL10 9AB, UK
+44 (0) 170 728 4626
[hidden email]<mailto:[hidden email]>
http://dianakornbrot.wordpress.com/
 http://go.herts.ac.uk/Diana_Kornbrot
skype:  kornbrotme
Home
19 Elmhurst Avenue
London N2 0LT, UK
 +44 (0) 208 444 2081




=====================
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."

NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: generalized linear mixed query

Maguin, Eugene
Wouldn't be possible to compute the standard errors of comparisons using the error covariance matrix? (I'm not suggesting that doing so would be EASY!) That matrix is available in regression but I don't know if it's available in glm, mixed, genlin or genlinmixed or logistic regression or some other routines either. No test commands either.

Gene Maguin

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Bruce Weaver
Sent: Friday, March 10, 2017 11:02 AM
To: [hidden email]
Subject: Re: generalized linear mixed query

I couldn't quite believe that warning, so had to try it for myself--see syntax below.  

It's true:  GENLINMIXED did not estimate the model with the 4-way interaction on the EMMEANS line.  MIXED, on the other hand, did estimate that model.

Cheers,
Bruce


NEW FILE.
DATASET CLOSE ALL.
* Change path on next line as needed.
GET FILE='C:\SPSSdata\survey_sample.sav'.

* EMMEANS with three-way interaction.
GENLINMIXED
 /FIELDS TARGET=Age
 /TARGET_OPTIONS DISTRIBUTION=NORMAL LINK=IDENTITY  /FIXED EFFECTS=
   sex race marital born
   sex*race sex*marital sex*born race*marital race*born marital*born
   sex*race*marital sex*race*born race*marital*born
   sex*race*marital*born
 /EMMEANS TABLES=sex*race*marital CONTRAST=NONE .

* EMMEANS with four-way interaction.
GENLINMIXED
 /FIELDS TARGET=Age
 /TARGET_OPTIONS DISTRIBUTION=NORMAL LINK=IDENTITY  /FIXED EFFECTS=
   sex race marital born
   sex*race sex*marital sex*born race*marital race*born marital*born
   sex*race*marital sex*race*born race*marital*born
   sex*race*marital*born
 /EMMEANS TABLES=sex*race*marital*born CONTRAST=NONE .

* WARNING:
* "No more than three fields can be specified in a single estimated marginal means term".



Kornbrot, Diana wrote

> hi
> have a between*between*repeated*repeated design and want means at
> lowest level, got this message
>
> Warnings
>
> glmm: No more than three fields can be specified in a single estimated
> marginal means term.
>
> Execution of this command stops.
>
>
> what can I do?
> offending syntax line is
> /EMMEANS TABLES=b1*b2*w1*w2 CONTRAST=NONE
>
> GLMM is quite a disappointment, ti tends to give up on quite simple
> designs
>
> best
>
> Diana
> ________________________________________
> Professor Diana Kornbrot
> Work
> University of Hertfordshire
> College Lane, Hatfield, Hertfordshire AL10 9AB, UK
> +44 (0) 170 728 4626

> d.e.kornbrot@.ac

> &lt;mailto:

> d.e.kornbrot@.ac

> &gt;
> http://dianakornbrot.wordpress.com/
>  http://go.herts.ac.uk/Diana_Kornbrot
> skype:  kornbrotme
> Home
> 19 Elmhurst Avenue
> London N2 0LT, UK
>  +44 (0) 208 444 2081
>
>
>
>
> =====================
> To manage your subscription to SPSSX-L, send a message to

> LISTSERV@.UGA

>  (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
[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/generalized-linear-mixed-query-tp5733981p5733983.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
Loading...