No output for mixed model

37 views
Skip to first unread message

Wiltrud Fassbinder

unread,
Jan 8, 2018, 3:13:23 PM1/8/18
to ez4r
Hi all,

I have used the ez package for mixed models before, and am not sure what I am doing wrong in the code. For:

OUTscor = ezMixed(
  data = Out1Asumtemp
  , dv = .(RTlnO)
  , random = .(SubjectID, ItemNumber1)
  , fixed = .(LPsem1_PerAccM11)
  , return_models = TRUE
)

print(OUTscor$summary)
print (OUTscor$formulae)
print (OUTscor$models)


I get 

  bits e w effect
------ - - ------
           LPsem1_PerAccM11     NA X - LPsem1_PerAccM11 
Time taken for ezMixed() to complete: 0 seconds
 
> print(OUTscor$summary)
            effect errors warnings bits
1 LPsem1_PerAccM11   TRUE    FALSE   NA
 
> print (OUTscor$formulae)
$LPsem1_PerAccM11
$LPsem1_PerAccM11$restricted
[1] "RTlnO ~ s(SubjectID,bs=\"re\") + s(ItemNumber1,bs=\"re\")"

$LPsem1_PerAccM11$unrestricted
[1] "RTlnO ~ s(SubjectID,bs=\"re\") + s(ItemNumber1,bs=\"re\") + s(LPsem1_PerAccM11,k=21,bs=\"ts\")"

What are those characters (e.g., bs=\"re"), and what am I doing wrong?

Thank you!

Wiltrud 

Mike Lawrence

unread,
Jan 10, 2018, 2:49:16 PM1/10/18
to ez...@googlegroups.com
Hm, strange. One thing to check: the default behaviour in ezMixed is to use generlized additive modelling to capture any non-linearities in the effect of continuous predictors. If you instead just want linear effects, you have to set the value of the `fix_gam` argument to `FALSE`. 


--
Mike Lawrence
Graduate Student
Department of Psychology & Neuroscience
Dalhousie University

~ Certainty is (possibly) folly ~

--
You received this message because you are subscribed to the Google Groups "ez4r" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ez4r+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages