BookmarkSubscribeRSS Feed
noa_m
Calcite | Level 5

Hi, 

 

I have data with 29 participants. i used the following model:

IV1  = Time (3 time points, used as a CLASS)

IV 2 = brain activity (3 time points, **centered using baseline coding (i sbstracted the first time point from the rest).

DV = level of extraversion.

 

my script ran as followed: 

PROC MIXED method=ml DATA= _exp0_.Amygdala_acc_hipp_2 COVTEST;
CLASS ORDER time;
MODEL E = time| Amygdala_dev /s ddfm=bw s outpm =data covb;
random intercept /subject = ORDER;
run;

 

for using baseline as a refrence point, i coded the baseline time point as "2". because of the centering, it means that the brain activity values in this time point equal to zero. 

 

this is the output i recieve: 

 2 = before 1 = after 0 = during 

estimates: 

33.06901.00092833.04<.0001
-1.96310.867852-2.260.0279
-2.13970.888352-2.410.0196
0....
Amygdala_dev - 3.24271.8508521.750.0857
Amygdala_dev*time -5.34992.455752-2.180.0339
0....
0..

.

 

 

from what i understand, the estimate in the line "Amygdala_dev" represents the simple slope of my refrence point (which is the first time point). given the fact that there not suppose to be any slope on this time point (data is set to sero at this point) - why do i get the estimate   3.2427? 

 

when i use different coding - such that the refrence point is set to the third time point i get the same estimate. 

 

please help me figure out how to interpret this output.

 

thank you from advance, 

noa 

 
2 REPLIES 2
PaigeMiller
Diamond | Level 26

Could you show us more of the SAS Code, showing the steps before PROC MIXED where you perform the coding of the variable? Please paste this code into the box that appears when you click on the "running man" icon when you type your reply.

 

Can you show us the actual output from PROC MIXED (screen capture is fine)?

--
Paige Miller
noa_m
Calcite | Level 5

thank you for thequick reply.

i've coded the variable using SPSS.

the steps were: 

1. use "aggregate" in order to create a time-invaraiant baseline variable (the first time point)

2. then creating the centered variable by substracting this variable from the origincal variable. 

looking at this variable seems to look OK (i've attached a screenshot showing my columns) 

and i've attached the SAS output 

 

Noa

 

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 532 views
  • 0 likes
  • 2 in conversation