Mixed models with repeated meassures

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

Mixed models with repeated meassures

karenyearwood
Hi everyone

I eish someone can help me with this one

I have a sample of patients who went through bariatric surgery and their weight at time 1,2,3,4 but with lots of missing data

so I opted for mixed model with repeated meassures using the following syntax

DATASET ACTIVATE DataSet1.
MIXED peso BY time
  /CRITERIA=CIN(95) MXITER(100) MXSTEP(10) SCORING(1) SINGULAR(0.000000000001) HCONVERGE(0,
    ABSOLUTE) LCONVERGE(0, ABSOLUTE) PCONVERGE(0.000001, ABSOLUTE)
  /FIXED=time | SSTYPE(3)
  /METHOD=REML
  /PRINT=SOLUTION.

and then

MIXED peso BY time
  /CRITERIA=CIN(95) MXITER(100) MXSTEP(10) SCORING(1) SINGULAR(0.000000000001) HCONVERGE(0,
    ABSOLUTE) LCONVERGE(0, ABSOLUTE) PCONVERGE(0.000001, ABSOLUTE)
  /FIXED=time | SSTYPE(3)
  /METHOD=REML
  /PRINT=R SOLUTION TESTCOV
  /REPEATED=time | SUBJECT(code) COVTYPE(UN).

I wanted to confirm if it is the correct syntax and then ask how can I aseses the variable of number of nutrition appointments if I want to know if this is a significant predictor of weight loss.

Just on a linear regression of time 4 by time 1 and number of appointments? or any suggestions

thanks

Karen


Reply | Threaded
Open this post in threaded view
|

Re: Mixed models with repeated meassures

Bruce Weaver
Administrator
I don't have a lot of time to study your situation carefully right now, but from a quick glance, I think you might want to consider exploring covariance structures other than UN.  The material at the following links may be helpful.

http://jonathantemplin.com/files/anova/ersh8310f09/ersh8310f09_lecture14.pdf
http://www.ats.ucla.edu/stat/spss/faq/repeat_covar.htm
http://www.youtube.com/watch?v=LKT4brBV-jo

I haven't viewed all of the last one.  He does not exit the dialogs via PASTE, but he does appear to explore using various covariance structures.

HTH.


karenyearwood wrote
Hi everyone

I eish someone can help me with this one

I have a sample of patients who went through bariatric surgery and their weight at time 1,2,3,4 but with lots of missing data

so I opted for mixed model with repeated meassures using the following syntax

DATASET ACTIVATE DataSet1.
MIXED peso BY time
  /CRITERIA=CIN(95) MXITER(100) MXSTEP(10) SCORING(1) SINGULAR(0.000000000001) HCONVERGE(0,
    ABSOLUTE) LCONVERGE(0, ABSOLUTE) PCONVERGE(0.000001, ABSOLUTE)
  /FIXED=time | SSTYPE(3)
  /METHOD=REML
  /PRINT=SOLUTION.

and then

MIXED peso BY time
  /CRITERIA=CIN(95) MXITER(100) MXSTEP(10) SCORING(1) SINGULAR(0.000000000001) HCONVERGE(0,
    ABSOLUTE) LCONVERGE(0, ABSOLUTE) PCONVERGE(0.000001, ABSOLUTE)
  /FIXED=time | SSTYPE(3)
  /METHOD=REML
  /PRINT=R SOLUTION TESTCOV
  /REPEATED=time | SUBJECT(code) COVTYPE(UN).

I wanted to confirm if it is the correct syntax and then ask how can I aseses the variable of number of nutrition appointments if I want to know if this is a significant predictor of weight loss.

Just on a linear regression of time 4 by time 1 and number of appointments? or any suggestions

thanks

Karen
--
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: Mixed models with repeated meassures

Alex Reutter
Reply | Threaded
Open this post in threaded view
|

Re: Mixed models with repeated meassures

Ryan
In reply to this post by karenyearwood
You might find a message I posted a while back helpful:
 
 
Sorry but no time to respond further right now.
 
Ryan


On Thu, Mar 20, 2014 at 4:42 AM, karenyearwood <[hidden email]> wrote:
Hi everyone

I eish someone can help me with this one

I have a sample of patients who went through bariatric surgery and their
weight at time 1,2,3,4 but with lots of missing data

so I opted for mixed model with repeated meassures using the following
syntax

DATASET ACTIVATE DataSet1.
MIXED peso BY time
  /CRITERIA=CIN(95) MXITER(100) MXSTEP(10) SCORING(1)
SINGULAR(0.000000000001) HCONVERGE(0,
    ABSOLUTE) LCONVERGE(0, ABSOLUTE) PCONVERGE(0.000001, ABSOLUTE)
  /FIXED=time | SSTYPE(3)
  /METHOD=REML
  /PRINT=SOLUTION.

and then

MIXED peso BY time
  /CRITERIA=CIN(95) MXITER(100) MXSTEP(10) SCORING(1)
SINGULAR(0.000000000001) HCONVERGE(0,
    ABSOLUTE) LCONVERGE(0, ABSOLUTE) PCONVERGE(0.000001, ABSOLUTE)
  /FIXED=time | SSTYPE(3)
  /METHOD=REML
  /PRINT=R SOLUTION TESTCOV
  /REPEATED=time | SUBJECT(code) COVTYPE(UN).

I wanted to confirm if it is the correct syntax and then ask how can I
aseses the variable of number of nutrition appointments if I want to know if
this is a significant predictor of weight loss.

Just on a linear regression of time 4 by time 1 and number of appointments?
or any suggestions

thanks

Karen






--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Mixed-models-with-repeated-meassures-tp5724942.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