search for: dofit

Displaying 5 results from an estimated 5 matches for "dofit".

Did you mean: ofit
2009 Feb 26
1
error message and convergence issues in fitting glmer in package lme4
...imple models (i.e. few covariates) but when expanding the number of covariates I usually encounter the following error message. > > gm8 <- > glmer(DIAB05F~AGE+as.factor(SEX)+poolt+poolx+poverty+fastfood+(1|as.factor(diab$fips)), family = binomial(link="logit"), data = diab, doFit=TRUE) Error in validObject(.Object) : > invalid class "mer" object: Slot Zt must by dims['q'] by > dims['n']*dims['s'] > > In the above, the response is person-level diabetes status as a function of AGE=age, SEX=sex, poolt=average county diabetes...
2011 Jun 29
1
lmer() computational performance
...running into a wall of time to execute these models. A sample specification of all random effects: lmer(Y ~ 1 + (x_078 + x_079 + growth_st_index + retail_st_index + Natl + econ_home_st_index + econ_bankruptcy + index2_HO + GPND_ST | state), data = newData, doFit = TRUE) Computation time is near 15 minutes. System ELAPSED User 21.4 888.63 701.74 Does anyone have any ideas on way's to speed up lmer(), as well any parallel implementations, or approaches/options to reduce computation time?
2009 Feb 26
1
(no subject)
...fit relatively simple models (i.e. few covariates) but when expanding the number of covariates I usually encounter the following error message. gm8 <- glmer(DIAB05F~AGE+as.factor(SEX)+poolt+poolx+poverty+fastfood+(1|as.factor(diab$fips)), family = binomial(link="logit"), data = diab, doFit=TRUE) Error in validObject(.Object) : invalid class "mer" object: Slot Zt must by dims['q'] by dims['n']*dims['s'] In the above, the response is person-level diabetes status as a function of AGE=age, SEX=sex, poolt=average county diabetes prevalence for previou...
2009 Jul 12
0
Specifying a more complex covariance matrix in lme or lmer
...ead a thread that basically suggested to decompose Zu into ZPD^(1/2) D^(-1/2)P'u so that (D^(-1/2)P'u)~N(0,s'^2I) but I'm not sure how to specify the new ZPD^(1/2) incidence matrix using the lme and lmer packages. The closest I got was with the lmer package, where I tried using the doFit=FALSE flag and manually setting the 'Zt' matrices but that doesn't seem to work. With the lme package, I'm not sure if it's possible to create a new pdMat class or if I can manually set the Z design matrix. I tried using the model.matrix commands but that only reads the curren...
2011 Jun 30
0
help with interpreting what nnet() output gives:
...running into a wall of time to execute these models. A sample specification of all random effects: lmer(Y ~ 1 + (x_078 + x_079 + growth_st_index + retail_st_index + Natl + econ_home_st_index + econ_bankruptcy + index2_HO + GPND_ST | state), data = newData, doFit = TRUE) Computation time is near 15 minutes. System ELAPSED User 21.4 888.63 701.74 Does anyone have any ideas on way's to speed up lmer(), as well any parallel implementations, or approaches/options to reduce computation time? -----------------------------...