GET
  FILE='F:\QIPSR 2013\Download\SPSS\Example4.sav'.
DATASET NAME DataSet1 WINDOW=FRONT.

SAVE OUTFILE='F:\QIPSR 2013\Download\SPSS\Example4.sav'
  /COMPRESSED.
NEW FILE.
DATASET NAME DataSet2 WINDOW=FRONT.
DATASET ACTIVATE DataSet2.
DATASET CLOSE DataSet1.
* Define locations of files used in examples -- CHANGE THIS.
FILE HANDLE example /NAME = "F:\QIPSR 2013\Download\SPSS".

* SPSS code to import data and center predictors.
GET FILE = "example/Example4.sav".
DATASET NAME example4 WINDOW=FRONT.
COMPUTE PMnm0 = PMnegmood - 0.
COMPUTE WPnm  = negmood - PMnegmood.
COMPUTE TVnm0 = negmood - 0.
VARIABLE LABELS
  PMnm0 "PMnm0: Person Mean Negative Mood (0=0)"
  WPnm  "WPnm: Within-Person Negative Mood (0=PM)"
  TVnm0 "TVnm0: Time-Varying Negative Mood (0=0)".
EXECUTE.

******************************************************************************
******                   EXAMPLE 4 MODELS                    ******
******************************************************************************.

DATASET ACTIVATE example4 WINDOW=FRONT.

TITLE "SPSS Model 1a: Empty Model for Daily Glucose Outcome".


SPSS Model 1a: Empty Model for Daily Glucose Outcome


MIXED lGlucAM BY ID day
/METHOD = ML
 /PRINT  = SOLUTION TESTCOV
 /FIXED  =
 /RANDOM = INTERCEPT | SUBJECT(ID) COVTYPE(UN)
/REPEATED = day | SUBJECT(ID) COVTYPE(ID).



Mixed Model Analysis


Notes
Output Created 03-MAY-2013 11:29:50
Comments  
Input Data F:\QIPSR 2013\Download\SPSS\Example4.sav
Active Dataset example4
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 4140
Missing Value Handling Definition of Missing User-defined missing values are treated as missing.
Cases Used Statistics are based on all cases with valid data for all variables in the model.
Syntax MIXED lGlucAM BY ID day
/METHOD = ML
/PRINT = SOLUTION TESTCOV
/FIXED =
/RANDOM = INTERCEPT | SUBJECT(ID) COVTYPE(UN)
/REPEATED = day | SUBJECT(ID) COVTYPE(ID).
Resources Processor Time 00:00:00.05
Elapsed Time 00:00:00.13


[example4] F:\QIPSR 2013\Download\SPSS\Example4.sav


Warnings
A(n) FIXED subcommand has no specifications and will therefore be ignored.
The covariance structure for random effect with only one level will be changed to Identity.

Model Dimensiona
  Number of Levels Covariance Structure Number of Parameters Subject Variables Number of Subjects
Fixed Effects Intercept 1   1    
Random Effects Intercept 1 Identity 1 ID  
Repeated Effects day 20 Identity 1 ID 207
Total 22   3    
a. Dependent Variable: lglucAM: Log Morning Glucose.

Information Criteriaa
-2 Log Likelihood -1941.456
Akaike's Information Criterion (AIC) -1935.456
Hurvich and Tsai's Criterion (AICC) -1935.450
Bozdogan's Criterion (CAIC) -1913.471
Schwarz's Bayesian Criterion (BIC) -1916.471
The information criteria are displayed in smaller-is-better forms.
a. Dependent Variable: lglucAM: Log Morning Glucose.


Fixed Effects


Type III Tests of Fixed Effectsa
Source Numerator df Denominator df F Sig.
Intercept 1 207.000 74306.322 .000
a. Dependent Variable: lglucAM: Log Morning Glucose.

Estimates of Fixed Effectsa
Parameter Estimate Std. Error df t Sig. 95% Confidence Interval
Lower Bound Upper Bound
Intercept 4.942683 .018132 207.000 272.592 .000 4.906936 4.978430
a. Dependent Variable: lglucAM: Log Morning Glucose.


Covariance Parameters


Estimates of Covariance Parametersa
Parameter Estimate Std. Error Wald Z Sig. 95% Confidence Interval
Lower Bound Upper Bound
Repeated Measures Variance .030285 .000683 44.345 .000 .028976 .031654
Intercept [subject = ID] Variance .066542 .006690 9.947 .000 .054642 .081035
a. Dependent Variable: lglucAM: Log Morning Glucose.


TITLE "SPSS Model 1b: Empty Model for Daily Negative Mood Predictor".


SPSS Model 1b: Empty Model for Daily Negative Mood Predictor


MIXED negmood BY ID day
 /METHOD = ML
 /PRINT  = SOLUTION TESTCOV
 /FIXED  =
 /RANDOM = INTERCEPT | SUBJECT(ID) COVTYPE(UN)
 /REPEATED = day | SUBJECT(ID) COVTYPE(ID).



Mixed Model Analysis


Notes
Output Created 03-MAY-2013 11:29:50
Comments  
Input Data F:\QIPSR 2013\Download\SPSS\Example4.sav
Active Dataset example4
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 4140
Missing Value Handling Definition of Missing User-defined missing values are treated as missing.
Cases Used Statistics are based on all cases with valid data for all variables in the model.
Syntax MIXED negmood BY ID day
/METHOD = ML
/PRINT = SOLUTION TESTCOV
/FIXED =
/RANDOM = INTERCEPT | SUBJECT(ID) COVTYPE(UN)
/REPEATED = day | SUBJECT(ID) COVTYPE(ID).
Resources Processor Time 00:00:00.05
Elapsed Time 00:00:00.22


[example4] F:\QIPSR 2013\Download\SPSS\Example4.sav


Warnings
A(n) FIXED subcommand has no specifications and will therefore be ignored.
The covariance structure for random effect with only one level will be changed to Identity.

Model Dimensiona
  Number of Levels Covariance Structure Number of Parameters Subject Variables Number of Subjects
Fixed Effects Intercept 1   1    
Random Effects Intercept 1 Identity 1 ID  
Repeated Effects day 20 Identity 1 ID 207
Total 22   3    
a. Dependent Variable: negmood: Daily Negative Mood.

Information Criteriaa
-2 Log Likelihood 9630.387
Akaike's Information Criterion (AIC) 9636.387
Hurvich and Tsai's Criterion (AICC) 9636.393
Bozdogan's Criterion (CAIC) 9658.372
Schwarz's Bayesian Criterion (BIC) 9655.372
The information criteria are displayed in smaller-is-better forms.
a. Dependent Variable: negmood: Daily Negative Mood.


Fixed Effects


Type III Tests of Fixed Effectsa
Source Numerator df Denominator df F Sig.
Intercept 1 207.000 14.599 .000
a. Dependent Variable: negmood: Daily Negative Mood.

Estimates of Fixed Effectsa
Parameter Estimate Std. Error df t Sig. 95% Confidence Interval
Lower Bound Upper Bound
Intercept .159740 .041807 207.000 3.821 .000 .077319 .242162
a. Dependent Variable: negmood: Daily Negative Mood.


Covariance Parameters


Estimates of Covariance Parametersa
Parameter Estimate Std. Error Wald Z Sig. 95% Confidence Interval
Lower Bound Upper Bound
Repeated Measures Variance .525824 .011858 44.345 .000 .503090 .549585
Intercept [subject = ID] Variance .335504 .035567 9.433 .000 .272558 .412985
a. Dependent Variable: negmood: Daily Negative Mood.


TITLE "SPSS Model 2a: Fixed Effects of Negative Mood using PMC".


SPSS Model 2a: Fixed Effects of Negative Mood using PMC


MIXED lGlucAM BY ID day WITH WPnm PMnm0
 /METHOD = ML
 /PRINT  = SOLUTION TESTCOV
 /FIXED  = WPnm PMnm0
 /RANDOM = INTERCEPT | SUBJECT(ID) COVTYPE(UN)
 /REPEATED = day | SUBJECT(ID) COVTYPE(ID)
 /SAVE = FIXPRED (predmood)
 /TEST = "Within-Person Mood Effect"   WPnm  1
 /TEST = "Between-Person Mood Effect"  PMnm0 1
 /TEST = "Contextual Mood Effect"      PMnm0 1 WPnm -1.



Mixed Model Analysis


Notes
Output Created 03-MAY-2013 11:29:51
Comments  
Input Data F:\QIPSR 2013\Download\SPSS\Example4.sav
Active Dataset example4
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 4140
Missing Value Handling Definition of Missing User-defined missing values are treated as missing.
Cases Used Statistics are based on all cases with valid data for all variables in the model.
Syntax MIXED lGlucAM BY ID day WITH WPnm PMnm0
/METHOD = ML
/PRINT = SOLUTION TESTCOV
/FIXED = WPnm PMnm0
/RANDOM = INTERCEPT | SUBJECT(ID) COVTYPE(UN)
/REPEATED = day | SUBJECT(ID) COVTYPE(ID)
/SAVE = FIXPRED (predmood)
/TEST = "Within-Person Mood Effect" WPnm 1
/TEST = "Between-Person Mood Effect" PMnm0 1
/TEST = "Contextual Mood Effect" PMnm0 1 WPnm -1.
Resources Processor Time 00:00:00.06
Elapsed Time 00:00:00.27
Variables Created predmood Fixed Predicted Values


[example4] F:\QIPSR 2013\Download\SPSS\Example4.sav


Warnings
The covariance structure for random effect with only one level will be changed to Identity.

Model Dimensiona
  Number of Levels Covariance Structure Number of Parameters Subject Variables Number of Subjects
Fixed Effects Intercept 1   1    
WPnm 1   1    
PMnm0 1   1    
Random Effects Intercept 1 Identity 1 ID  
Repeated Effects day 20 Identity 1 ID 207
Total 24   5    
a. Dependent Variable: lglucAM: Log Morning Glucose.

Information Criteriaa
-2 Log Likelihood -1956.538
Akaike's Information Criterion (AIC) -1946.538
Hurvich and Tsai's Criterion (AICC) -1946.523
Bozdogan's Criterion (CAIC) -1909.896
Schwarz's Bayesian Criterion (BIC) -1914.896
The information criteria are displayed in smaller-is-better forms.
a. Dependent Variable: lglucAM: Log Morning Glucose.


Fixed Effects


Type III Tests of Fixed Effectsa
Source Numerator df Denominator df F Sig.
Intercept 1 207.001 71396.202 .000
WPnm 1 3941.483 8.250 .004
PMnm0 1 207.001 6.966 .009
a. Dependent Variable: lglucAM: Log Morning Glucose.

Estimates of Fixed Effectsa
Parameter Estimate Std. Error df t Sig. 95% Confidence Interval
Lower Bound Upper Bound
Intercept 4.930171 .018451 207.001 267.201 .000 4.893795 4.966548
WPnm .010974 .003821 3941.483 2.872 .004 .003484 .018465
PMnm0 .080398 .030461 207.001 2.639 .009 .020344 .140451
a. Dependent Variable: lglucAM: Log Morning Glucose.


Covariance Parameters


Estimates of Covariance Parametersa
Parameter Estimate Std. Error Wald Z Sig. 95% Confidence Interval
Lower Bound Upper Bound
Repeated Measures Variance .030221 .000682 44.345 .000 .028915 .031587
Intercept [subject = ID] Variance .064349 .006474 9.940 .000 .052833 .078374
a. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 1 (Within-Person Mood Effect)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .010974 .003821 3941.483 0 2.872 .004 .003484 .018465
a. Within-Person Mood Effect
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 2 (Between-Person Mood Effect)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .080398 .030461 207.001 0 2.639 .009 .020344 .140451
a. Between-Person Mood Effect
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 3 (Contextual Mood Effect)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .069423 .030696 213.462 0 2.262 .025 .008917 .129930
a. Contextual Mood Effect
b. Dependent Variable: lglucAM: Log Morning Glucose.

CORRELATIONS lGlucAM predmood.



Correlations


Notes
Output Created 03-MAY-2013 11:29:51
Comments  
Input Data F:\QIPSR 2013\Download\SPSS\Example4.sav
Active Dataset example4
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 4140
Missing Value Handling Definition of Missing User-defined missing values are treated as missing.
Cases Used Statistics for each pair of variables are based on all the cases with valid data for that pair.
Syntax CORRELATIONS lGlucAM predmood.
Resources Processor Time 00:00:00.00
Elapsed Time 00:00:00.02


[example4] F:\QIPSR 2013\Download\SPSS\Example4.sav


Correlations
  lglucAM: Log Morning Glucose Fixed Predicted Values
lglucAM: Log Morning Glucose Pearson Correlation 1 .153
Sig. (2-tailed)   .000
N 4140 4140
Fixed Predicted Values Pearson Correlation .153 1
Sig. (2-tailed) .000  
N 4140 4140


TITLE "SPSS Model 2b: Random Effect of WP Negative Mood using PMC".


SPSS Model 2b: Random Effect of WP Negative Mood using PMC


MIXED lglucAM BY ID day WITH WPnm PMnm0
 /METHOD = ML
 /PRINT  = SOLUTION TESTCOV
 /FIXED  = WPnm PMnm0
 /RANDOM = INTERCEPT WPnm | SUBJECT(ID) COVTYPE(UN)
 /REPEATED = day | SUBJECT(ID) COVTYPE(ID)
 /TEST = "Within-Person Mood Effect"   WPnm  1
 /TEST = "Between-Person Mood Effect"  PMnm0 1
 /TEST = "Contextual Mood Effect"      PMnm0 1 WPnm -1.



Mixed Model Analysis


Notes
Output Created 03-MAY-2013 11:29:51
Comments  
Input Data F:\QIPSR 2013\Download\SPSS\Example4.sav
Active Dataset example4
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 4140
Missing Value Handling Definition of Missing User-defined missing values are treated as missing.
Cases Used Statistics are based on all cases with valid data for all variables in the model.
Syntax MIXED lglucAM BY ID day WITH WPnm PMnm0
/METHOD = ML
/PRINT = SOLUTION TESTCOV
/FIXED = WPnm PMnm0
/RANDOM = INTERCEPT WPnm | SUBJECT(ID) COVTYPE(UN)
/REPEATED = day | SUBJECT(ID) COVTYPE(ID)
/TEST = "Within-Person Mood Effect" WPnm 1
/TEST = "Between-Person Mood Effect" PMnm0 1
/TEST = "Contextual Mood Effect" PMnm0 1 WPnm -1.
Resources Processor Time 00:00:00.06
Elapsed Time 00:00:00.08


[example4] F:\QIPSR 2013\Download\SPSS\Example4.sav


Model Dimensiona
  Number of Levels Covariance Structure Number of Parameters Subject Variables Number of Subjects
Fixed Effects Intercept 1   1    
WPnm 1   1    
PMnm0 1   1    
Random Effects Intercept + WPnmb 2 Unstructured 3 ID  
Repeated Effects day 20 Identity 1 ID 207
Total 25   7    
a. Dependent Variable: lglucAM: Log Morning Glucose.
b. As of version 11.5, the syntax rules for the RANDOM subcommand have changed. Your command syntax may yield results that differ from those produced by prior versions. If you are using version 11 syntax, please consult the current syntax reference guide for more information.

Information Criteriaa
-2 Log Likelihood -1959.445
Akaike's Information Criterion (AIC) -1945.445
Hurvich and Tsai's Criterion (AICC) -1945.418
Bozdogan's Criterion (CAIC) -1894.146
Schwarz's Bayesian Criterion (BIC) -1901.146
The information criteria are displayed in smaller-is-better forms.
a. Dependent Variable: lglucAM: Log Morning Glucose.


Fixed Effects


Type III Tests of Fixed Effectsa
Source Numerator df Denominator df F Sig.
Intercept 1 207.008 71340.957 .000
WPnm 1 201.719 7.118 .008
PMnm0 1 207.031 6.930 .009
a. Dependent Variable: lglucAM: Log Morning Glucose.

Estimates of Fixed Effectsa
Parameter Estimate Std. Error df t Sig. 95% Confidence Interval
Lower Bound Upper Bound
Intercept 4.930206 .018458 207.008 267.097 .000 4.893816 4.966597
WPnm .011037 .004137 201.719 2.668 .008 .002880 .019195
PMnm0 .080215 .030471 207.031 2.633 .009 .020142 .140288
a. Dependent Variable: lglucAM: Log Morning Glucose.


Covariance Parameters


Estimates of Covariance Parametersa
Parameter Estimate Std. Error Wald Z Sig. 95% Confidence Interval
Lower Bound Upper Bound
Repeated Measures Variance .029953 .000692 43.282 .000 .028627 .031341
Intercept + WPnm [subject = ID] UN (1,1) .064405 .006479 9.941 .000 .052880 .078441
UN (2,1) -.000205 .001067 -.192 .848 -.002296 .001887
UN (2,2) .000506 .000335 1.510 .131 .000138 .001852
a. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 1 (Within-Person Mood Effect)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .011037 .004137 201.719 0 2.668 .008 .002880 .019195
a. Within-Person Mood Effect
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 2 (Between-Person Mood Effect)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .080215 .030471 207.031 0 2.633 .009 .020142 .140288
a. Between-Person Mood Effect
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 3 (Contextual Mood Effect)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .069178 .030746 214.504 0 2.250 .025 .008574 .129781
a. Contextual Mood Effect
b. Dependent Variable: lglucAM: Log Morning Glucose.


TITLE "SPSS Model 2c: Fixed Effects of Sex (0=M, 1=F) by PMC Negative Mood ".

>Warning # 2003.  Command name: TITLE
>The title given exceeds 60 characters in length.  The first 60 characters will
>be used.


SPSS Model 2c: Fixed Effects of Sex (0=M, 1=F) by PMC Negati


MIXED lglucAM BY ID day WITH WPnm PMnm0 sexmf
/METHOD = ML
 /PRINT  = SOLUTION TESTCOV
 /FIXED  = WPnm PMnm0 sexmf WPnm*sexmf PMnm0*sexmf
 /RANDOM = INTERCEPT | SUBJECT(ID) COVTYPE(UN)
 /REPEATED = day | SUBJECT(ID) COVTYPE(ID)
 /SAVE = FIXPRED (predsex)
/TEST = "Intercept: Men (Mood=0)"             intercept 1 sexmf 0
/TEST = "Intercept: Women (Mood=0)"           intercept 1 sexmf 1
/TEST = "Intercept: Women Diff (Mood=0)"       sexmf 1
/TEST = "Within-Person Mood Effect: Men"         WPnm 1 WPnm*sexmf 0
/TEST = "Within-Person Mood Effect: Women"       WPnm 1 WPnm*sexmf 1
/TEST = "Within-Person Mood Effect: Women Diff"   WPnm*sexmf 1
/TEST = "Between-Person Mood Effect: Men"         PMnm0 1 PMnm0*sexmf 0
/TEST = "Between-Person Mood Effect: Women"      PMnm0 1 PMnm0*sexmf 1
/TEST = "Between-Person Mood Effect: Women Diff"  PMnm0*sexmf 1
/TEST = "Contextual Mood Effect: Men"             PMnm0 1 PMnm0*sexMF 0 WPnm -1 WPnm*sexMF  0
/TEST = "Contextual Mood Effect: Women"          PMnm0 1 PMnm0*sexMF 1 WPnm -1 WPnm*sexMF -1
/TEST = "Contextual Mood Effect: Women Diff"      PMnm0*sexMF 1 WPnm*sexMF -1.



Mixed Model Analysis


Notes
Output Created 03-MAY-2013 11:29:51
Comments  
Input Data F:\QIPSR 2013\Download\SPSS\Example4.sav
Active Dataset example4
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 4140
Missing Value Handling Definition of Missing User-defined missing values are treated as missing.
Cases Used Statistics are based on all cases with valid data for all variables in the model.
Syntax MIXED lglucAM BY ID day WITH WPnm PMnm0 sexmf
/METHOD = ML
/PRINT = SOLUTION TESTCOV
/FIXED = WPnm PMnm0 sexmf WPnm*sexmf PMnm0*sexmf
/RANDOM = INTERCEPT | SUBJECT(ID) COVTYPE(UN)
/REPEATED = day | SUBJECT(ID) COVTYPE(ID)
/SAVE = FIXPRED (predsex)
/TEST = "Intercept: Men (Mood=0)" intercept 1 sexmf 0
/TEST = "Intercept: Women (Mood=0)" intercept 1 sexmf 1
/TEST = "Intercept: Women Diff (Mood=0)" sexmf 1
/TEST = "Within-Person Mood Effect: Men" WPnm 1 WPnm*sexmf 0
/TEST = "Within-Person Mood Effect: Women" WPnm 1 WPnm*sexmf 1
/TEST = "Within-Person Mood Effect: Women Diff" WPnm*sexmf 1
/TEST = "Between-Person Mood Effect: Men" PMnm0 1 PMnm0*sexmf 0
/TEST = "Between-Person Mood Effect: Women" PMnm0 1 PMnm0*sexmf 1
/TEST = "Between-Person Mood Effect: Women Diff" PMnm0*sexmf 1
/TEST = "Contextual Mood Effect: Men" PMnm0 1 PMnm0*sexMF 0 WPnm -1 WPnm*sexMF 0
/TEST = "Contextual Mood Effect: Women" PMnm0 1 PMnm0*sexMF 1 WPnm -1 WPnm*sexMF -1
/TEST = "Contextual Mood Effect: Women Diff" PMnm0*sexMF 1 WPnm*sexMF -1.
Resources Processor Time 00:00:00.08
Elapsed Time 00:00:00.11
Variables Created predsex Fixed Predicted Values


[example4] F:\QIPSR 2013\Download\SPSS\Example4.sav


Warnings
The covariance structure for random effect with only one level will be changed to Identity.

Model Dimensiona
  Number of Levels Covariance Structure Number of Parameters Subject Variables Number of Subjects
Fixed Effects Intercept 1   1    
WPnm 1   1    
PMnm0 1   1    
sexmf 1   1    
WPnm * sexmf 1   1    
PMnm0 * sexmf 1   1    
Random Effects Intercept 1 Identity 1 ID  
Repeated Effects day 20 Identity 1 ID 207
Total 27   8    
a. Dependent Variable: lglucAM: Log Morning Glucose.

Information Criteriaa
-2 Log Likelihood -1988.050
Akaike's Information Criterion (AIC) -1972.050
Hurvich and Tsai's Criterion (AICC) -1972.015
Bozdogan's Criterion (CAIC) -1913.423
Schwarz's Bayesian Criterion (BIC) -1921.423
The information criteria are displayed in smaller-is-better forms.
a. Dependent Variable: lglucAM: Log Morning Glucose.


Fixed Effects


Type III Tests of Fixed Effectsa
Source Numerator df Denominator df F Sig.
Intercept 1 207.003 32837.854 .000
WPnm 1 3941.792 27.600 .000
PMnm0 1 207.005 16.951 .000
sexmf 1 207.004 .996 .319
WPnm * sexmf 1 3941.839 19.779 .000
PMnm0 * sexmf 1 207.006 9.087 .003
a. Dependent Variable: lglucAM: Log Morning Glucose.

Estimates of Fixed Effectsa
Parameter Estimate Std. Error df t Sig. 95% Confidence Interval
Lower Bound Upper Bound
Intercept 4.953854 .027337 207.003 181.212 .000 4.899959 5.007749
WPnm .031188 .005937 3941.792 5.254 .000 .019549 .042828
PMnm0 .199628 .048487 207.005 4.117 .000 .104036 .295220
sexmf -.036194 .036261 207.004 -.998 .319 -.107682 .035295
WPnm * sexmf -.034434 .007743 3941.839 -4.447 .000 -.049614 -.019254
PMnm0 * sexmf -.184933 .061349 207.006 -3.014 .003 -.305881 -.063985
a. Dependent Variable: lglucAM: Log Morning Glucose.


Covariance Parameters


Estimates of Covariance Parametersa
Parameter Estimate Std. Error Wald Z Sig. 95% Confidence Interval
Lower Bound Upper Bound
Repeated Measures Variance .030069 .000678 44.345 .000 .028769 .031428
Intercept [subject = ID] Variance .060740 .006118 9.928 .000 .049858 .073997
a. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 1 (Intercept: Men (Mood=0))


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 4.953854 .027337 207.003 0 181.212 .000 4.899959 5.007749
a. Intercept: Men (Mood=0)
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 2 (Intercept: Women (Mood=0))


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 4.917661 .023823 207.005 0 206.422 .000 4.870693 4.964628
a. Intercept: Women (Mood=0)
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 3 (Intercept: Women Diff (Mood=0))


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 -.036194 .036261 207.004 0 -.998 .319 -.107682 .035295
a. Intercept: Women Diff (Mood=0)
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 4 (Within-Person Mood Effect: Men)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .031188 .005937 3941.792 0 5.254 .000 .019549 .042828
a. Within-Person Mood Effect: Men
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 5 (Within-Person Mood Effect: Women)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 -.003246 .004970 3941.906 0 -.653 .514 -.012990 .006499
a. Within-Person Mood Effect: Women
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 6 (Within-Person Mood Effect: Women Diff)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 -.034434 .007743 3941.839 0 -4.447 .000 -.049614 -.019254
a. Within-Person Mood Effect: Women Diff
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 7 (Between-Person Mood Effect: Men)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .199628 .048487 207.005 0 4.117 .000 .104036 .295220
a. Between-Person Mood Effect: Men
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 8 (Between-Person Mood Effect: Women)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .014695 .037585 207.007 0 .391 .696 -.059404 .088794
a. Between-Person Mood Effect: Women
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 9 (Between-Person Mood Effect: Women Diff)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 -.184933 .061349 207.006 0 -3.014 .003 -.305881 -.063985
a. Between-Person Mood Effect: Women Diff
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 10 (Contextual Mood Effect: Men)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .168439 .048864 213.506 0 3.447 .001 .072122 .264757
a. Contextual Mood Effect: Men
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 11 (Contextual Mood Effect: Women)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .017940 .037897 213.944 0 .473 .636 -.056759 .092640
a. Contextual Mood Effect: Women
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 12 (Contextual Mood Effect: Women Diff)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 -.150499 .061837 213.670 0 -2.434 .016 -.272388 -.028610
a. Contextual Mood Effect: Women Diff
b. Dependent Variable: lglucAM: Log Morning Glucose.

CORRELATIONS lGlucAM predsex.



Correlations


Notes
Output Created 03-MAY-2013 11:29:52
Comments  
Input Data F:\QIPSR 2013\Download\SPSS\Example4.sav
Active Dataset example4
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 4140
Missing Value Handling Definition of Missing User-defined missing values are treated as missing.
Cases Used Statistics for each pair of variables are based on all the cases with valid data for that pair.
Syntax CORRELATIONS lGlucAM predsex.
Resources Processor Time 00:00:00.02
Elapsed Time 00:00:00.39


[example4] F:\QIPSR 2013\Download\SPSS\Example4.sav


Correlations
  lglucAM: Log Morning Glucose Fixed Predicted Values
lglucAM: Log Morning Glucose Pearson Correlation 1 .249
Sig. (2-tailed)   .000
N 4140 4140
Fixed Predicted Values Pearson Correlation .249 1
Sig. (2-tailed) .000  
N 4140 4140


TITLE "SPSS Model 3: Fixed Effect of TV Negative Mood only using GMC".

>Warning # 2003.  Command name: TITLE
>The title given exceeds 60 characters in length.  The first 60 characters will
>be used.


SPSS Model 3: Fixed Effect of TV Negative Mood only using GM


MIXED lglucAM BY ID day WITH TVnm0
 /METHOD = ML
 /PRINT  = SOLUTION TESTCOV
 /FIXED  = TVnm0
 /RANDOM = INTERCEPT | SUBJECT(ID) COVTYPE(UN)
 /REPEATED = day | SUBJECT(ID) COVTYPE(ID).



Mixed Model Analysis


Notes
Output Created 03-MAY-2013 11:29:53
Comments  
Input Data F:\QIPSR 2013\Download\SPSS\Example4.sav
Active Dataset example4
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 4140
Missing Value Handling Definition of Missing User-defined missing values are treated as missing.
Cases Used Statistics are based on all cases with valid data for all variables in the model.
Syntax MIXED lglucAM BY ID day WITH TVnm0
/METHOD = ML
/PRINT = SOLUTION TESTCOV
/FIXED = TVnm0
/RANDOM = INTERCEPT | SUBJECT(ID) COVTYPE(UN)
/REPEATED = day | SUBJECT(ID) COVTYPE(ID).
Resources Processor Time 00:00:00.08
Elapsed Time 00:00:00.19


[example4] F:\QIPSR 2013\Download\SPSS\Example4.sav


Warnings
The covariance structure for random effect with only one level will be changed to Identity.

Model Dimensiona
  Number of Levels Covariance Structure Number of Parameters Subject Variables Number of Subjects
Fixed Effects Intercept 1   1    
TVnm0 1   1    
Random Effects Intercept 1 Identity 1 ID  
Repeated Effects day 20 Identity 1 ID 207
Total 23   4    
a. Dependent Variable: lglucAM: Log Morning Glucose.

Information Criteriaa
-2 Log Likelihood -1951.484
Akaike's Information Criterion (AIC) -1943.484
Hurvich and Tsai's Criterion (AICC) -1943.474
Bozdogan's Criterion (CAIC) -1914.170
Schwarz's Bayesian Criterion (BIC) -1918.170
The information criteria are displayed in smaller-is-better forms.
a. Dependent Variable: lglucAM: Log Morning Glucose.


Fixed Effects


Type III Tests of Fixed Effectsa
Source Numerator df Denominator df F Sig.
Intercept 1 207.323 74815.386 .000
TVnm0 1 4041.365 10.044 .002
a. Dependent Variable: lglucAM: Log Morning Glucose.

Estimates of Fixed Effectsa
Parameter Estimate Std. Error df t Sig. 95% Confidence Interval
Lower Bound Upper Bound
Intercept 4.940763 .018063 207.323 273.524 .000 4.905152 4.976375
TVnm0 .012018 .003792 4041.365 3.169 .002 .004583 .019453
a. Dependent Variable: lglucAM: Log Morning Glucose.


Covariance Parameters


Estimates of Covariance Parametersa
Parameter Estimate Std. Error Wald Z Sig. 95% Confidence Interval
Lower Bound Upper Bound
Repeated Measures Variance .030222 .000682 44.344 .000 .028915 .031588
Intercept [subject = ID] Variance .065954 .006634 9.942 .000 .054153 .080326
a. Dependent Variable: lglucAM: Log Morning Glucose.


TITLE "SPSS Model 3a: Fixed Effects of Negative Mood using GMC".


SPSS Model 3a: Fixed Effects of Negative Mood using GMC


MIXED lglucAM BY ID day WITH TVnm0 PMnm0
/METHOD = ML
  /PRINT  = SOLUTION TESTCOV
  /FIXED  = TVnm0 PMnm0
  /RANDOM = INTERCEPT | SUBJECT(ID) COVTYPE(UN)
  /REPEATED = day | SUBJECT(ID) COVTYPE(ID)
  /TEST = "Within-Person Mood Effect"  TVnm0 1
  /TEST = "Between-Person Mood Effect"  TVnm0 1 PMnm0 1
  /TEST = "Contextual Mood Effect"      PMnm0 1.



Mixed Model Analysis


Notes
Output Created 03-MAY-2013 11:29:54
Comments  
Input Data F:\QIPSR 2013\Download\SPSS\Example4.sav
Active Dataset example4
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 4140
Missing Value Handling Definition of Missing User-defined missing values are treated as missing.
Cases Used Statistics are based on all cases with valid data for all variables in the model.
Syntax MIXED lglucAM BY ID day WITH TVnm0 PMnm0
/METHOD = ML
/PRINT = SOLUTION TESTCOV
/FIXED = TVnm0 PMnm0
/RANDOM = INTERCEPT | SUBJECT(ID) COVTYPE(UN)
/REPEATED = day | SUBJECT(ID) COVTYPE(ID)
/TEST = "Within-Person Mood Effect" TVnm0 1
/TEST = "Between-Person Mood Effect" TVnm0 1 PMnm0 1
/TEST = "Contextual Mood Effect" PMnm0 1.
Resources Processor Time 00:00:00.08
Elapsed Time 00:00:00.17


[example4] F:\QIPSR 2013\Download\SPSS\Example4.sav


Warnings
The covariance structure for random effect with only one level will be changed to Identity.

Model Dimensiona
  Number of Levels Covariance Structure Number of Parameters Subject Variables Number of Subjects
Fixed Effects Intercept 1   1    
TVnm0 1   1    
PMnm0 1   1    
Random Effects Intercept 1 Identity 1 ID  
Repeated Effects day 20 Identity 1 ID 207
Total 24   5    
a. Dependent Variable: lglucAM: Log Morning Glucose.

Information Criteriaa
-2 Log Likelihood -1956.538
Akaike's Information Criterion (AIC) -1946.538
Hurvich and Tsai's Criterion (AICC) -1946.523
Bozdogan's Criterion (CAIC) -1909.896
Schwarz's Bayesian Criterion (BIC) -1914.896
The information criteria are displayed in smaller-is-better forms.
a. Dependent Variable: lglucAM: Log Morning Glucose.


Fixed Effects


Type III Tests of Fixed Effectsa
Source Numerator df Denominator df F Sig.
Intercept 1 207.001 71396.202 .000
TVnm0 1 3941.483 8.250 .004
PMnm0 1 213.462 5.115 .025
a. Dependent Variable: lglucAM: Log Morning Glucose.

Estimates of Fixed Effectsa
Parameter Estimate Std. Error df t Sig. 95% Confidence Interval
Lower Bound Upper Bound
Intercept 4.930171 .018451 207.001 267.201 .000 4.893795 4.966548
TVnm0 .010974 .003821 3941.483 2.872 .004 .003484 .018465
PMnm0 .069423 .030696 213.462 2.262 .025 .008917 .129930
a. Dependent Variable: lglucAM: Log Morning Glucose.


Covariance Parameters


Estimates of Covariance Parametersa
Parameter Estimate Std. Error Wald Z Sig. 95% Confidence Interval
Lower Bound Upper Bound
Repeated Measures Variance .030221 .000682 44.345 .000 .028915 .031587
Intercept [subject = ID] Variance .064349 .006474 9.940 .000 .052833 .078374
a. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 1 (Within-Person Mood Effect)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .010974 .003821 3941.483 0 2.872 .004 .003484 .018465
a. Within-Person Mood Effect
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 2 (Between-Person Mood Effect)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .080398 .030461 207.001 0 2.639 .009 .020344 .140451
a. Between-Person Mood Effect
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 3 (Contextual Mood Effect)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .069423 .030696 213.462 0 2.262 .025 .008917 .129930
a. Contextual Mood Effect
b. Dependent Variable: lglucAM: Log Morning Glucose.


TITLE "SPSS Model 3b: Random Effect of TV Negative Mood using GMC".


SPSS Model 3b: Random Effect of TV Negative Mood using GMC


MIXED lglucAM BY ID day WITH TVnm0 PMnm0
/METHOD = ML
  /PRINT  = SOLUTION TESTCOV
  /FIXED  = TVnm0 PMnm0
  /RANDOM = INTERCEPT TVnm0 | SUBJECT(ID) COVTYPE(UN)
  /REPEATED = day | SUBJECT(ID) COVTYPE(ID)
  /TEST = "Within-Person Mood Effect"  TVnm0 1
  /TEST = "Between-Person Mood Effect"  TVnm0 1 PMnm0 1
  /TEST = "Contextual Mood Effect"      PMnm0 1.



Mixed Model Analysis


Notes
Output Created 03-MAY-2013 11:29:54
Comments  
Input Data F:\QIPSR 2013\Download\SPSS\Example4.sav
Active Dataset example4
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 4140
Missing Value Handling Definition of Missing User-defined missing values are treated as missing.
Cases Used Statistics are based on all cases with valid data for all variables in the model.
Syntax MIXED lglucAM BY ID day WITH TVnm0 PMnm0
/METHOD = ML
/PRINT = SOLUTION TESTCOV
/FIXED = TVnm0 PMnm0
/RANDOM = INTERCEPT TVnm0 | SUBJECT(ID) COVTYPE(UN)
/REPEATED = day | SUBJECT(ID) COVTYPE(ID)
/TEST = "Within-Person Mood Effect" TVnm0 1
/TEST = "Between-Person Mood Effect" TVnm0 1 PMnm0 1
/TEST = "Contextual Mood Effect" PMnm0 1.
Resources Processor Time 00:00:00.08
Elapsed Time 00:00:00.17


[example4] F:\QIPSR 2013\Download\SPSS\Example4.sav


Model Dimensiona
  Number of Levels Covariance Structure Number of Parameters Subject Variables Number of Subjects
Fixed Effects Intercept 1   1    
TVnm0 1   1    
PMnm0 1   1    
Random Effects Intercept + TVnm0b 2 Unstructured 3 ID  
Repeated Effects day 20 Identity 1 ID 207
Total 25   7    
a. Dependent Variable: lglucAM: Log Morning Glucose.
b. As of version 11.5, the syntax rules for the RANDOM subcommand have changed. Your command syntax may yield results that differ from those produced by prior versions. If you are using version 11 syntax, please consult the current syntax reference guide for more information.

Information Criteriaa
-2 Log Likelihood -1960.398
Akaike's Information Criterion (AIC) -1946.398
Hurvich and Tsai's Criterion (AICC) -1946.371
Bozdogan's Criterion (CAIC) -1895.099
Schwarz's Bayesian Criterion (BIC) -1902.099
The information criteria are displayed in smaller-is-better forms.
a. Dependent Variable: lglucAM: Log Morning Glucose.


Fixed Effects


Type III Tests of Fixed Effectsa
Source Numerator df Denominator df F Sig.
Intercept 1 205.740 71528.921 .000
TVnm0 1 205.067 6.947 .009
PMnm0 1 214.161 5.235 .023
a. Dependent Variable: lglucAM: Log Morning Glucose.

Estimates of Fixed Effectsa
Parameter Estimate Std. Error df t Sig. 95% Confidence Interval
Lower Bound Upper Bound
Intercept 4.930203 .018434 205.740 267.449 .000 4.893859 4.966547
TVnm0 .011019 .004181 205.067 2.636 .009 .002776 .019262
PMnm0 .070146 .030659 214.161 2.288 .023 .009714 .130579
a. Dependent Variable: lglucAM: Log Morning Glucose.


Covariance Parameters


Estimates of Covariance Parametersa
Parameter Estimate Std. Error Wald Z Sig. 95% Confidence Interval
Lower Bound Upper Bound
Repeated Measures Variance .029921 .000690 43.340 .000 .028598 .031306
Intercept + TVnm0 [subject = ID] UN (1,1) .063999 .006464 9.901 .000 .052504 .078009
UN (2,1) -.000328 .001050 -.312 .755 -.002386 .001730
UN (2,2) .000579 .000339 1.705 .088 .000183 .001827
a. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 1 (Within-Person Mood Effect)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .011019 .004181 205.067 0 2.636 .009 .002776 .019262
a. Within-Person Mood Effect
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 2 (Between-Person Mood Effect)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .081165 .030470 208.926 0 2.664 .008 .021098 .141233
a. Between-Person Mood Effect
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 3 (Contextual Mood Effect)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .070146 .030659 214.161 0 2.288 .023 .009714 .130579
a. Contextual Mood Effect
b. Dependent Variable: lglucAM: Log Morning Glucose.


TITLE "SPSS Model 3c: Fixed Effects of Sex (0=M, 1=F) by GMC Negative Mood".

>Warning # 2003.  Command name: TITLE
>The title given exceeds 60 characters in length.  The first 60 characters will
>be used.


SPSS Model 3c: Fixed Effects of Sex (0=M, 1=F) by GMC Negati


MIXED lglucAM BY ID day WITH TVnm0 PMnm0 sexmf
 /METHOD = ML
  /PRINT  = SOLUTION TESTCOV
  /FIXED  = TVnm0 PMnm0 sexmf TVnm0*sexmf PMnm0*sexmf
  /RANDOM = INTERCEPT | SUBJECT(ID) COVTYPE(UN)
  /REPEATED = day | SUBJECT(ID) COVTYPE(ID)
  /TEST = "Intercept: Men (Mood=0)"             intercept 1 sexmf 0
  /TEST = "Intercept: Women (Mood=0)"            intercept 1 sexmf 1
  /TEST = "Intercept: Women Diff (Mood=0)"        sexmf 1
  /TEST = "Within-Person Mood Effect: Men"        TVnm0 1 TVnm0*sexmf 0
  /TEST = "Within-Person Mood Effect: Women"      TVnm0 1 TVnm0*sexmf 1
  /TEST = "Within-Person Mood Effect: Women Diff"  TVnm0*sexmf 1
  /TEST = "Between-Person Mood Effect: Men"        TVnm0 1 TVnm0*sexmf 0 PMnm0 1 PMnm0*sexmf 0
  /TEST = "Between-Person Mood Effect: Women"     TVnm0 1 TVnm0*sexmf 1 PMnm0 1 PMnm0*sexmf 1
  /TEST = "Between-Person Mood Effect: Women Diff" TVnm0*sexmf 1 PMnm0*sexmf 1
  /TEST = "Contextual Mood Effect: Men"            PMnm0 1 PMnm0*sexMF 0
  /TEST = "Contextual Mood Effect: Women"         PMnm0 1 PMnm0*sexMF 1
  /TEST = "Contextual Mood Effect: Women Diff"     PMnm0*sexMF 1.



Mixed Model Analysis


Notes
Output Created 03-MAY-2013 11:29:55
Comments  
Input Data F:\QIPSR 2013\Download\SPSS\Example4.sav
Active Dataset example4
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 4140
Missing Value Handling Definition of Missing User-defined missing values are treated as missing.
Cases Used Statistics are based on all cases with valid data for all variables in the model.
Syntax MIXED lglucAM BY ID day WITH TVnm0 PMnm0 sexmf
/METHOD = ML
/PRINT = SOLUTION TESTCOV
/FIXED = TVnm0 PMnm0 sexmf TVnm0*sexmf PMnm0*sexmf
/RANDOM = INTERCEPT | SUBJECT(ID) COVTYPE(UN)
/REPEATED = day | SUBJECT(ID) COVTYPE(ID)
/TEST = "Intercept: Men (Mood=0)" intercept 1 sexmf 0
/TEST = "Intercept: Women (Mood=0)" intercept 1 sexmf 1
/TEST = "Intercept: Women Diff (Mood=0)" sexmf 1
/TEST = "Within-Person Mood Effect: Men" TVnm0 1 TVnm0*sexmf 0
/TEST = "Within-Person Mood Effect: Women" TVnm0 1 TVnm0*sexmf 1
/TEST = "Within-Person Mood Effect: Women Diff" TVnm0*sexmf 1
/TEST = "Between-Person Mood Effect: Men" TVnm0 1 TVnm0*sexmf 0 PMnm0 1 PMnm0*sexmf 0
/TEST = "Between-Person Mood Effect: Women" TVnm0 1 TVnm0*sexmf 1 PMnm0 1 PMnm0*sexmf 1
/TEST = "Between-Person Mood Effect: Women Diff" TVnm0*sexmf 1 PMnm0*sexmf 1
/TEST = "Contextual Mood Effect: Men" PMnm0 1 PMnm0*sexMF 0
/TEST = "Contextual Mood Effect: Women" PMnm0 1 PMnm0*sexMF 1
/TEST = "Contextual Mood Effect: Women Diff" PMnm0*sexMF 1.
Resources Processor Time 00:00:00.08
Elapsed Time 00:00:00.77


[example4] F:\QIPSR 2013\Download\SPSS\Example4.sav


Warnings
The covariance structure for random effect with only one level will be changed to Identity.

Model Dimensiona
  Number of Levels Covariance Structure Number of Parameters Subject Variables Number of Subjects
Fixed Effects Intercept 1   1    
TVnm0 1   1    
PMnm0 1   1    
sexmf 1   1    
TVnm0 * sexmf 1   1    
PMnm0 * sexmf 1   1    
Random Effects Intercept 1 Identity 1 ID  
Repeated Effects day 20 Identity 1 ID 207
Total 27   8    
a. Dependent Variable: lglucAM: Log Morning Glucose.

Information Criteriaa
-2 Log Likelihood -1988.050
Akaike's Information Criterion (AIC) -1972.050
Hurvich and Tsai's Criterion (AICC) -1972.015
Bozdogan's Criterion (CAIC) -1913.423
Schwarz's Bayesian Criterion (BIC) -1921.423
The information criteria are displayed in smaller-is-better forms.
a. Dependent Variable: lglucAM: Log Morning Glucose.


Fixed Effects


Type III Tests of Fixed Effectsa
Source Numerator df Denominator df F Sig.
Intercept 1 207.003 32837.854 .000
TVnm0 1 3941.792 27.600 .000
PMnm0 1 213.506 11.883 .001
sexmf 1 207.004 .996 .319
TVnm0 * sexmf 1 3941.839 19.779 .000
PMnm0 * sexmf 1 213.670 5.923 .016
a. Dependent Variable: lglucAM: Log Morning Glucose.

Estimates of Fixed Effectsa
Parameter Estimate Std. Error df t Sig. 95% Confidence Interval
Lower Bound Upper Bound
Intercept 4.953854 .027337 207.003 181.212 .000 4.899959 5.007749
TVnm0 .031188 .005937 3941.792 5.254 .000 .019549 .042828
PMnm0 .168439 .048864 213.506 3.447 .001 .072122 .264757
sexmf -.036194 .036261 207.004 -.998 .319 -.107682 .035295
TVnm0 * sexmf -.034434 .007743 3941.839 -4.447 .000 -.049614 -.019254
PMnm0 * sexmf -.150499 .061837 213.670 -2.434 .016 -.272388 -.028610
a. Dependent Variable: lglucAM: Log Morning Glucose.


Covariance Parameters


Estimates of Covariance Parametersa
Parameter Estimate Std. Error Wald Z Sig. 95% Confidence Interval
Lower Bound Upper Bound
Repeated Measures Variance .030069 .000678 44.345 .000 .028769 .031428
Intercept [subject = ID] Variance .060740 .006118 9.928 .000 .049858 .073997
a. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 1 (Intercept: Men (Mood=0))


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 4.953854 .027337 207.003 0 181.212 .000 4.899959 5.007749
a. Intercept: Men (Mood=0)
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 2 (Intercept: Women (Mood=0))


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 4.917661 .023823 207.005 0 206.422 .000 4.870693 4.964628
a. Intercept: Women (Mood=0)
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 3 (Intercept: Women Diff (Mood=0))


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 -.036194 .036261 207.004 0 -.998 .319 -.107682 .035295
a. Intercept: Women Diff (Mood=0)
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 4 (Within-Person Mood Effect: Men)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .031188 .005937 3941.792 0 5.254 .000 .019549 .042828
a. Within-Person Mood Effect: Men
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 5 (Within-Person Mood Effect: Women)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 -.003246 .004970 3941.906 0 -.653 .514 -.012990 .006499
a. Within-Person Mood Effect: Women
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 6 (Within-Person Mood Effect: Women Diff)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 -.034434 .007743 3941.839 0 -4.447 .000 -.049614 -.019254
a. Within-Person Mood Effect: Women Diff
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 7 (Between-Person Mood Effect: Men)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .199628 .048487 207.005 0 4.117 .000 .104036 .295220
a. Between-Person Mood Effect: Men
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 8 (Between-Person Mood Effect: Women)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .014695 .037585 207.007 0 .391 .696 -.059404 .088794
a. Between-Person Mood Effect: Women
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 9 (Between-Person Mood Effect: Women Diff)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 -.184933 .061349 207.006 0 -3.014 .003 -.305881 -.063985
a. Between-Person Mood Effect: Women Diff
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 10 (Contextual Mood Effect: Men)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .168439 .048864 213.506 0 3.447 .001 .072122 .264757
a. Contextual Mood Effect: Men
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 11 (Contextual Mood Effect: Women)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 .017940 .037897 213.944 0 .473 .636 -.056759 .092640
a. Contextual Mood Effect: Women
b. Dependent Variable: lglucAM: Log Morning Glucose.


Custom Hypothesis Test 12 (Contextual Mood Effect: Women Diff)


Contrast Estimatesa,b
Contrast Estimate Std. Error df Test Value t Sig. 95% Confidence Interval
Lower Bound Upper Bound
L1 -.150499 .061837 213.670 0 -2.434 .016 -.272388 -.028610
a. Contextual Mood Effect: Women Diff
b. Dependent Variable: lglucAM: Log Morning Glucose.