[R] Function to manage seconds?

2009-10-30 Thread Stefano Leonardi
something? or should I write it by myself? Thank you Stefano -- ====== Stefano Leonardi Dipartimento di Scienze Ambientali Universita` di Parma E-mail: stefano.leonardi at unipr.it Viale Usberti 11/A

Re: [R] Trouble about the interpretation of intercept in lm models

2009-01-13 Thread Stefano Leonardi
David Winsemius wrote: On Jan 13, 2009, at 5:54 PM, Stefano Leonardi wrote: David Winsemius wrote: It would be so *if* you had estimated a saturated model, but you did not. Your fit of Y|A values is adjusted for the B values. Thank you. What do you exactly mean by "Y|A values is adj

Re: [R] Trouble about the interpretation of intercept in lm models

2009-01-13 Thread Stefano Leonardi
quot;raw values". -- ====== Stefano Leonardi Dipartimento di Scienze Ambientali Universita` di ParmaE-mail: stefano.leona...@unipr.it Viale Usberti 11/APhone : +39-0521-905659 43100 PARMA (Italy)

Re: [R] Trouble about the interpretation of intercept in lm models

2009-01-13 Thread Stefano Leonardi
intercept *should* be equal to the mean of the first group. Thanks Stefano -- ====== Stefano Leonardi Dipartimento di Scienze Ambientali Universita` di ParmaE-mail: stefano.leona...@unipr.it Viale Us

[R] Trouble about the interpretation of intercept in lm models

2009-01-13 Thread Stefano Leonardi
del.matrix(~A+B) R>b <- solve(t(X) %*% X) %*% t(X) %*% Y R>b [,1] (Intercept) 23.52957 A1 12.65066 Bb 22.97658 Bc 39.45485 Thank you in advance for any suggestion. Stefano -- =