search for: allcoef

Displaying 3 results from an estimated 3 matches for "allcoef".

Did you mean: all_of
2004 Oct 03
1
creating new varFunc classes in nlme .. error: "Don't know how to get coefficients for .. object"
...all seem to work properly after I construct them. I can successfully use the commands: v2 <- varExp2(form = ~age|Sex,fixed = c(Female=0)) v2 <- Initialize(v2, Orthodont) But, after this when I type "v2" at the prompt, I get the message: Error in coef.varFunc(x, uncons = FALSE, allCoef = TRUE) : Don't know how to get coefficients for varExp2 object Im not sure what to do. Im sure it is a simple fix or statement I need to enter. Can anyone offer suggestions? Do I have to use the command varFunc(varExp2) at some point? As background, I created VarExp2 by using: varExp2 &l...
2017 Mar 07
0
Potential clue for Bug 16975 - lme fixed sigma - inconsistent REML estimation
...m(log(lls2)) attr(val, "df") <- sum(unlist(lapply(lls, attr, "df"))) class(val) <- "logLik" val } ####* The methods from here to the example are just copies of the varComb methods with different names coef.varSum <- function(object, unconstrained = TRUE, allCoef = FALSE, ...) { unlist(lapply(object, coef, unconstrained, allCoef)) } "coef<-.varSum" <- function(object, ..., value) { plen <- attr(object, "plen") if ((len <- sum(plen)) > 0) { # varying parameters if (length(value) != len) { stop("cannot chang...
2008 Dec 05
1
Question about lrandom effects specification in lme4
Folks: Suppose I have 3 random effects, A,B, and C. Using the older lme() function (in nlme) it was possible (using the pdMat classes) to specify that they are uncorrelated with identical variances. Is it possible to do this with lmer? My understanding is that if I specify them as lmer( y ~ ... + (A|Grp) + (B|Grp) + (C|Grp)) then they are uncorrelated but have different variances. Motivation: