[R-lang] Re: % of total variance accounted for by each predictor?
Alex Fine
afine@bcs.rochester.edu
Tue Aug 3 15:38:05 PDT 2010
Hey Xiao,
Basically, yes, I think that's what the function requires. There could
be something non-obvious about how the formula has to be specified.
That's all I can think of....Probably the best thing to do would be to
post a reply on the blog, let dear florian answer it when he gets a
chance, and then future users who run into similar problems will see the
answer there. You could probably just post your last message, verbatim.
alex
Xiao He wrote:
> Hi Alex
>
> Sorry that I didn't include any information about my data or code that
> I used :)
>
> I did look at the codes on the page, but they are bit opaque to me.
> Mainly, I don't understand the syntax of the codes. For example, what
> exactly should the "f" look like? For example, I have a data sheet
> where the column "correct" corresponds to the binary responses
> obtained from participants, and "iv1", "iv2, "iv3", and "iv4" are four
> columns corresponding to the 4 predictors that I want to evaluate, and
> "subject" and "item" are the two columns for the random effects. The
> name of the data sheet is "data".
>
> Do I need to do the following? => my.lmer.nagelkerke
> (correct~iv1+iv2+iv3+iv4 + (1|subject) + (1|item), data)
>
> This is what I did, but it is wrong. I hope you can help me with this.
> Thank you :)
>
>
> Best,
> Xiao
More information about the ling-r-lang-L
mailing list