Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. hh.cen <- as.numeric(scale(data$hh, scale = FALSE))
  2.  
  3. model.hh <- lm(attention.hh ~ hh.cen * condition, data = data)
  4. summary(model.hh)
  5.  
  6. Coefficients:
  7. Estimate Std. Error t value Pr(>|t|)
  8. (Intercept) 0.04309 3.83335 0.011 0.991
  9. hh.cen 4.97842 7.80610 0.638 0.525
  10. condition 4.70662 5.63801 0.835 0.406
  11. hh.cen:condition -13.83022 11.06636 -1.250 0.215
  12.  
  13. hh.sqr <- hh * hh
  14.  
  15. sqr.model.hh <- lm(attention.hh ~ hh.sqr + hh.cen * condition, data = data)
  16. summary(sqr.model.hh)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement