[R] lme problem : extra parameters

2007-03-02 Thread Mervyn G Marasinghe
Hello: Below is a toy logistic regression problem. When I wrote my own code, Newton-Raphson converged in three iterations using both the gradient and the Hessian and the starting values given below. But I can't get nlm() to work! I would much appreciate any help. > x [1] 10.2 7.7 5.1 3.8

Re: [R] lme problem

2005-04-13 Thread Henric Nilsson
Milos Zarkovic said the following on 2005-04-12 16:40: I have recently started using R. For the start I have tried to repeat examples from Milliken & Johnson "Analysis of Messy Data - Analysis of Covariance", but I can not replicate it in R. The example is chocolate chip experiment. Response varia

[R] lme problem

2005-04-12 Thread Milos Zarkovic
Sorry for the long letter! I have recently started using R. For the start I have tried to repeat examples from Milliken & Johnson "Analysis of Messy Data - Analysis of Covariance", but I can not replicate it in R. The example is chocolate chip experiment. Response variable vas time to dissolve cho

[R] lme problem

2004-02-19 Thread iwhite
Exactly what rule has been broken when lme (package nlme) produces the error message "Incompatible formulas for groups in random and correlation"? Here is what I am trying to do: lme(Y ~ trait-1, random = ~trait-1|sire, corr = corSymm(form = ~trait|cow)) Trait, sire and cow are factors (cow n

[R] LME problem

2003-09-25 Thread Sarah Barry
I am analyzing data on a study of the effects of Coronary Artery Bypass Graft (CABG) on cognitive function, as measured by a score from an objective test. I have 140 people who receive the CABG surgery and 92 controls, with four measurements of cognitive function over time (at 0, 3, 12 and 36 mont