similar to: How to set starting values for lmer?

Displaying 20 results from an estimated 700 matches similar to: "How to set starting values for lmer?"

2006 Mar 16
1
lme4/Matrix: Call to .Call("mer_update_y"...) and LMEoptimize gives unexpected side effect...
Dear all I want to compute Monte Carlo p-values in lmer-models based on sampled data sets. To speed up calculations, I've tried to use internal functions from the Matrix package (as suggested ealier on the list by Doug Bates). So I did: fm2 <- lmer(resistance ~ ET + position + (1|Grp), Semiconductor,method='ML') simdata<-simulate(fm2,nsim=1) ynew <- simdata[,1] mer
2005 Aug 18
1
Error messages using LMER
Dear All, After playing with lmer for couple of days, I have to say that I am amazed! I've been using quite some multilevel/mixed modeling packages, lme4 is a strong candidate for the overall winner, especially for multilevel generzlized linear models. Now go back to my two-level poisson model with cross-classified model. I've been testing various different model specificatios for the
2010 Nov 02
5
Question about ggplot2
Dear All, I am trying to graph a simple scatter plot where the x axis is year and the y axis is a percentage (percentage of infant death). Instead of plotting the raw data, I want to plot summary statistics such as mean and median. Here is the problem: the value range of y is between 0 and 1, but since infant death is a rare event, the mean and median is very low (something like 5%), which shows
2005 Dec 29
1
'last.warning' problem at startup; package Matrix (PR#8453)
On starting an R session, I get the messages: Fatal errir: unable to restore save data in .RData Error in fun(...): couldn't find function "assignInNamespace" Error: .onLoad failed in 'loadNamespace' for 'Matrix' The only object in my .RData is last.warning, thus: > last.warning $"optim or nlminb returned message false convergence (8)"
2008 Feb 18
2
Hazard model with long-term survivor (cure model)
Dear All, Are there R packages that can estimate survival model with long-term survivors? This is sometimes known as "cure" model or "split-population" model. Thanks. Shige [[alternative HTML version deleted]]
2017 Jun 07
1
Errors running spdplyr example
Dear All, When I tried to run the following code (taken from the *spdplyr* package vignettes): library(spdplyr) library(maptools) data(wrld_simpl) worldcorner <- wrld_simpl %>% mutate(lon = coordinates(wrld_simpl)[,1], lat = coordinates(wrld_simpl)[,2]) %>% filter(lat < -20, lon > 60) %>% dplyr::select(NAME) I got the following error messages: Error in (function (cl,
2010 Dec 29
2
RGtk2 compilation problem
Dear All, I am trying to compile&install the package "RGtk2" on my Ubuntu 10.04 box. I did not have problem with earlier versions, but with the new version, I got the following error message : ------------------------------------------------------------------------------------------------- * installing *source* package ?RGtk2? ... checking for pkg-config... /usr/bin/pkg-config
2010 Dec 29
2
RGtk2 compilation problem
Dear All, I am trying to compile&install the package "RGtk2" on my Ubuntu 10.04 box. I did not have problem with earlier versions, but with the new version, I got the following error message : ------------------------------------------------------------------------------------------------- * installing *source* package ?RGtk2? ... checking for pkg-config... /usr/bin/pkg-config
2011 Feb 13
1
Changes titles in ggplot2 plot
Dear Colleagues, In the following simple ggplot2 code: -------------------------------- m <- ggplot(d.fig, aes(time, prob)) m + stat_summary(fun.data = "median_hilow", conf.int = .95, geom = "smooth") + facet_wrap(~ Cohort, nrow=1) + coord_cartesian(ylim = c(0, .03)) -------------------------------- Is there a way to replace the y-axis label from "prob" to
2009 Jul 26
3
Sweave, cacheSweave, and data frame
Dear All, I have been using Sweave (mainly via the Sweave.sh script) and really like it. I am working a paper (using Sweave, of course) which includes several time-consuming computations, and it gets tedious to re-compile the whoel thing every time I made changes. Then I discover the "cacheSweave" package, which seems the right solution to my problem. I only have on problem. Here is
2008 Jan 22
1
Presenting results from multiple models in LaTeX table
Dear All, Is there a way to present results from multiple models in one LaTeX table? I did some google search and found out that xtable cannot automate this process (https://stat.ethz.ch/pipermail/r-help/2006-August/111174.html), are there other alternatives? What about Design and Hmisc? Thanks. Best, Shige
2005 Aug 17
4
How to assess significance of random effect in lme4
Dear All, With kind help from several friends on the list, I am getting close. Now here are something interesting I just realized: for random effects, lmer reports standard deviation instead of standard error! Is there a hidden option that tells lmer to report standard error of random effects, like most other multilevel or mixed modeling software, so that we can say something like "randome
2011 Dec 13
2
Plotting a date variable after GAM
Dear All, I am fitting a simple GAM model using the "gam" function in the "mgcv" package. The only independent variable is a continuous variable representing the time of the event (in year and month) coded so that "0" represents January 1960, "1" represents February 1960, etc. Now when I try to plot the results, my x-axis ranges from "-200" to
2000 Sep 18
2
how to install packages
Dear All, I am trying to fiugre out how install packages on the base system. The "FAQ" tells me that more details can be obtained by typing "help(install.packages)", but my R system gives me an error message when I did that. I also tried "help(PACKAGES)", "help(install.packages())", but none worked. Anybody can help? I am running R 1.1.1 on WinNT 4.
2005 Feb 28
1
Using mutiply imputed data in NLME
Dear All, I am doing a growth modeling using NLME. I have three levels in my data: observation, individual, household. About half of my total sample have missing values in my household-level covariates. Under this situation, the best way to go is probably to multiply impute the data (for, say, 5 times), estimate the same model separately on each model using LME function, and merge the results. My
2005 Jun 23
1
Another question about Rcmdr
Hi, I downloaded the new R 2.1.1 source, compiled and installed on my suse 9.3 box. Then I installed the package Rcmdr. Surprisingly, I cannot type anything onto the script window. I uninstalled R and grabbed an rpm version from CRAN, installed it, and installed Rcmdr, same problem! Has anyone else had this problem? Shige
2011 Feb 13
2
Recoding using the memisc package
Dear All, I am trying to recode a variable using the functions provided by "memisc" package. Actually I am following the examples on page 9-10 of the vignette: -------------------------------------------------------------------------- d.fig <- within(d.fig,{ sev <- recode(sev, 1 -> 0.9, 2 -> 1.0, 3 -> 1.1, 4 ->
2005 Jun 23
1
How to save changed options in Rcmdr
Dear All, I want to change the default options of Rcmdr; it seemed to work when I made changes and click the "Exit and Restart R Commander". However, next time I open Rcmdr, it automatically restored to the default options. Is there a way to change Rcmdr's options permanently? Thanks! Shige
2000 Sep 04
2
how to compile R source code under Win NT?
Dear All, This is an absolutely beginner's question: which compiler should I use to compile R source code under Win NT platform? Thanks a lot. Shige Song Department of Sociology, UCLA -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or
2001 Apr 11
3
anybody using R with TextPad?
I was wondering whether somebody has developed a set of Textpad macro that work with R the same way as WinEdt does. I use Textpad for almost everything (programming, creating LaTex docs, etc.), it will be nice if I can use it as my R program editor. Or maybe someone can tell me how that kind of macro works so that I can develop my own macros. Thank you! Best, Shige Song Department of Sociology,