[R] Very Simple Regression Question

From: i_finlayson37 <ian.finlayson_at_blueyonder.co.uk>
Date: Wed, 27 Feb 2008 19:57:04 -0800 (PST)

I've just been running my first ever regression and I'm using R for an lmer. I've created two models, a null one (part ~ 1 + (1 | id) + (1 | word)) and another with a predictor I want to test (part ~ 1 + conf + (1 | id) + (1 | word)). I've compared them both and the model with a predictor is significantly better, but I can't see from the data which direction the prediction goes (i.e. are conf and part inversely correlated or not). Could somebody tell me where I can find this information? Here's my data, thanks in advance:

Null Model:

Generalized linear mixed model fit using Laplace

Formula: part ~ 1 + (1 | id) + (1 | word) 
   Data: align 
 Family: binomial(logit link)

   AIC BIC logLik deviance
 537.9 551 -265.9 531.9
Random effects:
 Groups Name Variance Std.Dev.
 word (Intercept) 2.309122 1.51958
 id (Intercept) 0.055252 0.23506
number of obs: 601, groups: word, 32; id, 20

Estimated scale (compare to 1 ) 0.8671394

Fixed effects:

            Estimate Std. Error z value Pr(>|z|)    
(Intercept)  -1.8920     0.3072  -6.158 7.37e-10 ***

---

Signif. codes: 0 β€˜***’ 0.001 β€˜**’ 0.01 β€˜*’ 0.05 β€˜.’ 0.1 β€˜ ’ 1

Model with predictors:

Generalized linear mixed model fit using Laplace

Formula: part ~ 1 + conf + (1 | id) + (1 | word) 
   Data: align 
 Family: binomial(logit link)

   AIC BIC logLik deviance
 490.1 507.7 -241.1 482.1
Random effects:
 Groups Name Variance Std.Dev.
 word (Intercept) 2.977549 1.72556
 id (Intercept) 0.097771 0.31268
number of obs: 601, groups: word, 32; id, 20

Estimated scale (compare to 1 ) 0.9142627

Fixed effects:

            Estimate Std. Error z value Pr(>|z|)    
(Intercept)  -3.1001     0.4014  -7.724 1.13e-14 ***
conf          1.7941     0.2734   6.563 5.29e-11 ***

---

Signif. codes: 0 β€˜***’ 0.001 β€˜**’ 0.01 β€˜*’ 0.05 β€˜.’ 0.1 β€˜ ’ 1

Correlation of Fixed Effects:

     (Intr)
conf -0.505

ANOVA: Data: align
Models:
align.nul: part ~ 1 + (1 | id) + (1 | word) align.conf: part ~ 1 + conf + (1 | id) + (1 | word)

           Df     AIC     BIC  logLik  Chisq Chi Df Pr(>Chisq)    
align.nul   3  537.85  551.05 -265.93                             
align.conf  4  490.14  507.73 -241.07 49.713      1  1.780e-12 ***

---

Signif. codes: 0 β€˜***’ 0.001 β€˜**’ 0.01 β€˜*’ 0.05 β€˜.’ 0.1 β€˜ ’ 1
-- 
View this message in context: http://www.nabble.com/Very-Simple-Regression-Question-tp15729195p15729195.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 28 Feb 2008 - 04:59:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 28 Feb 2008 - 05:30:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive