Login  Register

Re: Running MIXED with time as a factor

Posted by Bruce Weaver on Jun 07, 2012; 2:31pm
URL: http://spssx-discussion.165.s1.nabble.com/Running-MIXED-with-time-as-a-factor-tp5713561p5713562.html

MIXED has an EMMEANS sub-command.  You can use it to generate fitted values of Y at various combinations of the explanatory variables.  Will that give you what you're after?  Here's an example for a much simpler model from the fine manual.

MIXED Y BY A B WITH X
 /FIXED A B X
 /EMMEANS TABLES(A*B) WITH(X=0.23) COMPARE(A) ADJ(SIDAK)
 /EMMEANS TABLES(A*B) WITH(X=MEAN) COMPARE(A) REFCAT(LAST) ADJ(LSD).

MIXED also has a TEST sub-command, which can be used for crafting any comparisons you wish to make.  See several posts to this list by Ryan for nice examples of how to use it.

HTH.


kine wrote
Dear subscribers,

I would like to get the parameter estimation on ALL the categories (time 1, time 2, time 3) in my three-way interaction analysis. As of now, SPSS only estimates time 1 and 2 (as it often does with categorical data).

How may I obtain this information? Please find present syntax below:

mixed Exlog with OPce Posce pssce pcsce Gender Age Sector Respons Tenure Hour_w BY time
/CRITERIA=MXITER (5000)
/print=solution
  /method=reml
  /fixed = Gender Age Sector Respons Tenure Hour_w OPce time OPce*time OPce*POSce OPce*PsSce OPce*PcSce PoSce pssce pcsce pssce*time pcsce*time Posce*time POSce*OPce*time PsSce*OPce*time PcSce*OPce*time
  /random intercept time | subject(id) covtype(VC).

Best regards,
Kine
--
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/).