You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear lme4 authors, thank you for this interesting implementation in pure R.
I am trying to "sandbox around" with the estimating function for the multi-level linear model. The first thing I noticed is that the function rBind in mkRanefStructures and mkRanefRepresentation seems to be deprecated for rbind.
Also I was wondering if the pure R implementation allows for estimation of a binomial variable. The useful example code
set.seed(1); n <- 1000; x <- rnorm(n); z <- rnorm(n); X <- cbind(1, x); ZZ <- cbind(1, z); grp <- gl(n/5,5)
RE <- mkRanefStructures(list(grp), list(ZZ)); Z <- t(RE$Zt)
y <- as.numeric(X%*%rnorm(ncol(X)) + Z%*%rnorm(ncol(Z)) + rnorm(n))
m <- lmer.fit(y,X,ZZ,grp)
is for a continuous case. I see the plsform function takes a family argument. Is there a way to run lmer.fit on a binomial target variable y?
If not, do you have any knowledge of an implementation in R that can be tinkered with with other link functions too?
Thank you
The text was updated successfully, but these errors were encountered:
Dear
lme4
authors, thank you for this interesting implementation in pure R.I am trying to "sandbox around" with the estimating function for the multi-level linear model. The first thing I noticed is that the function
rBind
inmkRanefStructures
andmkRanefRepresentation
seems to be deprecated forrbind
.Also I was wondering if the pure R implementation allows for estimation of a binomial variable. The useful example code
is for a continuous case. I see the
plsform
function takes a family argument. Is there a way to runlmer.fit
on a binomial target variable y?If not, do you have any knowledge of an implementation in R that can be tinkered with with other link functions too?
Thank you
The text was updated successfully, but these errors were encountered: