similar to: Robustness of linear mixed models

Displaying 20 results from an estimated 4000 matches similar to: "Robustness of linear mixed models"

2006 Aug 08
1
fixed effects constant in mcmcsamp
I'm fitting a GLMM to some questionnaire data. The structure is J individuals, nested within I areas, all of whom answer the same K (ordinal) questions. The model I'm using is based on so-called continuation ratios, so that it can be fitted using the lme4 package. The lmer function fits the model just fine, but using mcmcsamp to judge the variability of the parameter estimates produces
2005 Sep 30
0
R-help Digest, Vol 31, Issue 30
With lme4, use of mcmcsamp can be insightful. (Douglas Bates drew my attention to this function in a private exchange of emails.) The distributions of random effects are simulated on a log scale, where the distributions are much closer to symmetry than on the scale of the random effects themselves. As far as I can see, this is a straightforward use of MCMC to estimate model parameters; it is not
2013 May 08
1
How to calculate Hightest Posterior Density (HPD) of coeficients in a simple regression (lm) in R?
Hi! I am trying to calculate HPD for the coeficients of regression models fitted with lm or lmrob in R, pretty much in the same way that can be accomplished by the association of mcmcsamp and HPDinterval functions for multilevel models fitted with lmer. Can anyone point me in the right direction on which packages/how to implement this? Thanks for your time! R. [[alternative HTML version
2006 Dec 05
3
Comparing posterior and likelihood estimates for proportions (off topic)
This question is slightly off topic, but I'll use R to try and make it as relevant as possible. I'm working on a problem where I want to compare estimates from a posterior distribution with a uniform prior with those obtained from a frequentist approach. Under these conditions the estimates should agree. Specifically, I am asking the question, "What is the probability that the true
2007 Aug 21
1
small issue with densityplot
Hi folks, This is really minor but to someone not familiar with the various tentacles of the lmer package it could be really annoying. I was trying to plot the posterior density of the fixed effect parameters of a lmer model, > hr.mcmc = mcmcsamp(hr.lmer, n=50000) > densityplot(hr.mcmc, plot.points=F) There is this error, "Error in densityplot(hr.mcmc, plot.points = F) : no
2006 Jan 02
0
R] lme X lmer results
From a quick look at the paper in the SAS proceedings, the simulations seem limited to nested designs. The major problems are with repeated measures designs where the error structure is not compound symmetric, which lme4 does not at present handle (unless I have missed something). Such imbalance as was investigated was not a serious issue, at least for the Kenward and Roger degree of freedom
2018 Oct 20
0
Feature request: Have t.test return (group-wise) SD and N
Dear readers, Lm returns all information necessary to reconstruct summary statistics by group. However, t.test only returns the group means, and not the group SDs, or even the group Ns. These cannot be reconstructed from the test statistic and df, because the df are already pooled, except under a very strict assumption of equality of groups and variances. I need these summary statistics for a
2006 Oct 20
1
mcmcsamp - How does it work?
Hello, I am a chemical student and I make use of 'lme/lmer function' to handle experiments in split-plot structures. I know about the mcmcsamp and I think that it's very promissory. I would like knowing "the concept behind" of the mcmcsamp function. I do not want the C code of the MCMCSAMP function. I would like to get the "pseudo-algorithm" to understanding that
2004 Apr 27
5
p-values
I apologize if this question is not completely appropriate for this list. I have been using SAS for a while and am now in the process of learning some C and R as a part of my graduate studies. All of the statistical packages I have used generally yield p-values as a default output to standard procedures. This week I have been reading "Testing Precise Hypotheses" by J.O. Berger
2006 Aug 08
1
fixed effects following lmer and mcmcsamp - which to present?
Dear all, I am running a mixed model using lmer. In order to obtain CI of individual coefficients I use mcmcsamp. However, I need advice which values that are most appropriate to present in result section of a paper. I have not used mixed models and lmer so much before so my question is probably very naive. However, to avoid to much problems with journal editors and referees addicted to
2006 Feb 16
0
Strata and Degrees of freedom in anova and multi-level modeling
I am changing the title because this is really about the history of anova, and about strata in analysis of variance. As this kind of question has been arising very frequently, an extended comment may be in order. The ideas, and the sums of squares breakdowns, go back to Fisher; see in particular his "Design of Experiments", first published in 1935. This book is still a good
2005 Jul 28
0
New versions of Matrix and lme4 packages
Version 0.98-1 of the lme4 package and of the Matrix package are now on CRAN. This version provides the adaptive Gauss-Hermite quadrature (AGQ) method for fitting generalized linear mixed models. A new generic function mcmcsamp has been added with a method for objects in the "lmer" (linear mixed model fit or generalized linear mixed-effects model fit) class. This function provides a
2005 Jul 28
0
New versions of Matrix and lme4 packages
Version 0.98-1 of the lme4 package and of the Matrix package are now on CRAN. This version provides the adaptive Gauss-Hermite quadrature (AGQ) method for fitting generalized linear mixed models. A new generic function mcmcsamp has been added with a method for objects in the "lmer" (linear mixed model fit or generalized linear mixed-effects model fit) class. This function provides a
2006 Feb 10
1
mcmcsamp shortening variable names; how can i turn this feature off?
I have written a function called mcsamp() that is a wrapper that runs mcmcsamp() and automatically monitors convergence and structures the inferences into vectors and arrays as appropriate. But I have run into a very little problem, which is that mcmcsamp() shortens the variable names. For example: > set.seed (1) > group <- rep (1:5,10) > a <- rnorm (5,-3,3) > y <-
2015 Jan 27
0
R-devel Digest, Vol 143, Issue 25
OK, I see now that I was supposed to twig that the reference was to putting the ?.Rnw' files back into the vignettes directory from the inst/doc directory where they?d been placed in the course of creating the tar.gz file. I am still trying to work out what I need to put into ?.Rinstignore? so that ?.install_extras? is not installed. John Maindonald email: john.maindonald at
2007 Aug 15
2
lmer coefficient distributions and p values
I am helping my wife do some statistical analysis. She is a biologist, and she has performed some measurements on various genotypes of mice. My background is in applied mathematics and engineering, and I have a fairly good statistics background, but I am by no means a PhD level expert in statistical methods. We have used the lmer package to fit various models for the various experiments that she
2015 Jan 27
0
R CMD check message: "The following files should probably not be installed"
Sorry. This, and the description in the ?Writing R Extensions? manual, leaves me completely mystified. Is it that I have to remove the PDFs that are created when I run ?R CMD build?, and somehow ensure that they are rebuilt when the package is installed? Do I need a Makefile? John Maindonald email: john.maindonald at anu.edu.au<mailto:john.maindonald at anu.edu.au> phone :
2006 Oct 05
1
mixed models: correlation between fixed and random effects??
Hello, I built 4 mixed models using different data sets and standardized variables as predictors. In all the models each of the fixed effects has an associated random effect (same predictor). What I find is that fixed effects with larger (absolute) standardized parameter estimates have also a higher estimate of the related random effect. In other words, the higher the average of the absolute
2005 Feb 28
0
Re: R-help Digest, Vol 24, Issue 28
You've omitted a comma. races2000 is a data frame, which for purposes of extracting rows behaves like a 2-dimenional object. The following works fine: hills2000 <- races2000[races2000$type == 'hill', ] Additionally, you might like to ponder > type <- races2000[names(races2000)=="type"] > type[1:4] Error in "[.data.frame"(type, 1:4) :
2008 Oct 08
1
Suspicious output from lme4-mcmcsamp
Hello, R community, I have been using the lmer and mcmcsamp functions in R with some difficulty. I do not believe this is my code or data, however, because my attempts to use the sample code and 'sleepstudy' data provided with the lme4 packaged (and used on several R-Wiki pages) do not return the same results as those indicated in the help pages. For instance: > sessionInfo() R