[R] How do I get a a p-value for the output of an lme model with lme4?

2013-07-26 Thread Maria Sol Lago
Hi there, I just started using lme4 and I have a question about obtaining p-values. I'm trying to get p-values for the output of a linear mixed-effects model. In my experiment I have a 2 by 2 within subjects design, fully crossing two factors, "Gram" and "Number". This is the command I used to

[R] bootstrapping respecting subject level information

2013-07-04 Thread Sol Lago
Hi there, This is the first time I use this forum, and I want to say from the start I am not a skilled programmer. So please let me know if the question or code were unclear! I am trying to bootstrap an interaction (that is my test statistic) using the package "boot". My problem is that for e