search for: lmertest

Displaying 13 results from an estimated 13 matches for "lmertest".

2017 Dec 08
1
lmerTest Issues
Hello all, Everything was working very well. Now when I try to load lmerTest using: library("lmerTest"), I get this error: Error: package or namespace load failed for ?lmerTest? in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ?purrr? Nothing I've done has worked. I have uninstalled both R and R...
2013 Oct 12
1
lmerTest
Hi, I'm trying to user lmer function from lmerTest package because, if I understood correectly, it allows to make better inference than lmer method from lme4 package. However, whatever I do I keep getting this error: Error in lme4::lFormula(formula = mark ~ ssCount + sTime+ : rank of X = 1660 < ncol(X) = 1895 any ideas what could be a proble...
2017 Nov 29
0
How to extract coefficients from sequential (type 1), ANOVAs using lmer and lme
(This time with the r-help in the recipients...) Be careful when mixing lme4 and lmerTest together -- lmerTest extends and changes the behavior of various lme4 functions. >From the help page for lme4-anova (?lme4::anova.merMod) > ?anova?: returns the sequential decomposition of the contributions > of fixed-effects terms or, for multiple arguments, model >...
2017 Dec 01
0
How to extract coefficients from sequential (type 1), ANOVAs using lmer and lme
...ions in anova(). But summary() command looks only > provide me coefficients associated with "marginal" ANOVAs. > > > > > On Tuesday, November 28, 2017 6:51 AM, Phillip Alday > <phillip.alday at mpi.nl> wrote: > > > Be careful when mixing lme4 and lmerTest together -- lmerTest extends > and changes the behavior of various lme4 functions. > > From the help page for lme4-anova (?lme4::anova.merMod) > >> ?anova?: returns the sequential decomposition of the contributions >> of fixed-effects terms or, for multiple a...
2013 Nov 16
1
repeated-measures multiple regression/ANCOVA/MANCOVA
...apropriate type of sum of squares for this analysis. The 2 solutions I found so far are: based on nlme::lme(): > res.lme = nlme::lme(data=d, y ~ C * F3 * F2, random = ~ 1|item/F3/F2) > anova(res.lme) for type I SS > Anova(res.lme, type="II/III") # for type II/III SS based on lmerTest package: > res.lmertest = lmerTest::lmer(data=d, y ~ C * F3 * F2 + (1|item)) > anova(res.lmertest) # for type III SS I also considered running repeated-measures ANCOVA using aov() with nested error terms, but that wouldn't protect me against sphericity assumption violations. I also con...
2016 Jul 15
2
summary() dispatch puzzle
I'm sorry I haven't boiled this down to a more-minimal example yet, but ... I'm working on an S3 method (tidy.merMod, in the 'broom' package). It normally handles 'merMod' objects from the lme4 package, but I'm trying to make it handle 'merModLmerTest' objects from the lmerTest package too. The merModLmerTest class inherits (as an S4) class from the merMod class. The important difference (for my current purposes) is that summary.merMod returns an object containing a coefficient table *without* degrees or freedom or p-values, while the su...
2017 Oct 11
0
Converting SAS Code
...Yield ~ Nitrogen + Treatment + (1|Rep/Nitrogen), REML = FALSE) LSD.test(yield.lmer, trt = "Nitrogen", alpha = 0.1, console = TRUE) It gives me fits. It produces errors like: Error in as.data.frame.default(x[[i]], optional = TRUE) : cannot coerce class "structure("merModLmerTest", package = "lmerTest")" to a data.frame Do you have any suggestions for that? Thanks [[alternative HTML version deleted]]
2013 Sep 13
2
R CMD check fails in R-devel r63910
Hi, The R CMD check is successful in R 3.0.1 but fails to install package lmerTest under R-devel r63910, Here is what I get: ** preparing package for lazy loading Error in reconcilePropertiesAndPrototype(name, slots, prototype, superClasses, : no definition was found for superclass "merMod" in the specification of class "merModLmerTest" In DESCRIPTION f...
2017 Sep 30
1
Converting SAS Code
> On 30 Sep 2017, at 14:22 , Robert Baer <rbaer at atsu.edu> wrote: > > > > On 9/29/2017 3:37 PM, Rolf Turner wrote: >> On 30/09/17 07:45, JLucke at ria.buffalo.edu wrote: >> >> <SNIP> >> >>> >>> The conceptual paradigm for R is only marginally commensurate with >>> that of >>> standard statistical
2016 Jul 18
0
summary() dispatch puzzle
...haven't boiled this down to a more-minimal example yet, > but ... > I'm working on an S3 method (tidy.merMod, in the 'broom' package). It > normally handles 'merMod' objects from the lme4 package, but I'm trying > to make it handle 'merModLmerTest' objects from the lmerTest package too. > The merModLmerTest class inherits (as an S4) class from the merMod > class. The important difference (for my current purposes) is that > summary.merMod returns an object containing a coefficient table > *without* degrees or...
2017 Nov 27
0
How to extract coefficients from sequential (type 1) ANOVAs using lmer and lme
...coefficients for predictive variables(I am using the R 3.4.2 version). I think ANOVA tables look right, but believecoefficients are wrong. Specifically, it looks like that the coefficients arefrom ANOVA with ?marginal? (type III sums of squares). I have tried both lme (nlmepackage) and lmer (lme4 + lmerTEST packages). Examples of the results arebelow: ? ? > #mixed-effect modelusing lme >model.short.psme.bulk.d13c.3 <- lme(isotopebulk_add_log ~narea+sampleheight, random= ~1|tree, +??????????????????????????? data =ht_data_short_psme, na.action = na.exclude) > ? >anova(model.sho...
2018 Jan 05
0
Calculating the correlations of nested random effects in lme4
...differentiating them. I would like to get the following: 1) estimations for subject and trial random effects in group 0 and in group 1 separately (Variance and Correlations). 2) estimations of the correlations between random slopes in subjects in group 0 and group 1. Questions: 3) Can lme4 and lmerTest do this? If yes, how? 4) If it cannot, is it justified to do separate models for group 0 and for group 1, and then compare the results? the problem here is that I don't get the statistical test of the RT:Group1 interaction. 5) Is it justified to extract the random effects for different groups...
2017 Sep 30
4
Converting SAS Code
On 9/29/2017 3:37 PM, Rolf Turner wrote: > On 30/09/17 07:45, JLucke at ria.buffalo.edu wrote: > > <SNIP> > >> >> The conceptual paradigm for R is only marginally commensurate with >> that of >> standard statistical software. >> You must immerse yourself in R to become proficient. > > Fortune nomination. For newer list members wondering what