Skip to main content

Questions tagged [lsmeans]

Least-Squares means are predictions from a model over a regular grid, possibly averaged over other dimensions. Also use this tag for the R packages emmeans and lsmeans.

0 votes
0 answers
32 views

I'm analyzing data on daily foraging dynamics of animals in different treatments feeding on a diet consisting of two different qualities (high and low) using R. The problem arises when there are days ...
Jason's user avatar
  • 41
0 votes
0 answers
32 views

I'm interested in calculating the required sample size for detecting a future hypothetical 30% increase in a marginal mean from a model based on pilot data (accounting for covariates and random ...
Nate's user avatar
  • 2,537
8 votes
1 answer
172 views

I fitted a linear mixed model in R and tried to compute marginal means using emmeans, ggemmeans (from ggeffects), and ggpredict (also from ggeffects). The predicted means are similar, but the ...
Fmt's user avatar
  • 81
6 votes
1 answer
95 views

I have trouble understanding the causes of differences in estimated marginal means derived from a multilevel model and from a mixed ANOVA, in particular in a case with only two time points and a ...
Sointu's user avatar
  • 3,230
0 votes
0 answers
58 views

I developed the ordinal model with the interaction of variables A and B. I used emmeans package to obtain pairwise comparisons, I understood how to interpret these. I plotted the emmip plot, and I ...
Milo's user avatar
  • 327
0 votes
0 answers
57 views

When doing post-hoc treatment comparisons with the results from a glmm it is typical in my industry to use PROC GLIMMIX, method=rspl, ddfm = kr, and whatever control method is appropriate (ex. Tukey, ...
Brug's user avatar
  • 1
2 votes
1 answer
100 views

I have a model with two predictors, Group (main factor), and Age (covariate). ...
arnaudmarois's user avatar
0 votes
1 answer
82 views

I have a dataset of participants performing a maximum work task at various loads, under two conditions c("A", "B"). I would like to estimate at what load work becomes the same in ...
Jem Arnold's user avatar
2 votes
0 answers
69 views

As the question title says, I am confused why the estimated marginal means (obtained using emmeans()) for a Bayesian binomial generalized linear mixed model are so ...
qdread's user avatar
  • 449
5 votes
1 answer
255 views

To illustrate, I have a dataset of eDNA detections of rainbow trout collected using three sampling methods (PES-SP, PES-EtOH, and CN-EtOH). The primary goal of this study is to assess differences ...
Michaela's user avatar
  • 229
0 votes
0 answers
43 views

I was reading several posts regarding emmeans interactions and wanted to make sure I understand the interpertation regarding my model. In my experiment, there are 3 intervention groups and 3 time-...
user23485480's user avatar
3 votes
1 answer
70 views

I made a lmer model that, besides other things, includes an interaction between two variables. Anova showed that that interaction is not significant (but both main effects are). The interaction is an ...
Doraneo's user avatar
  • 91
5 votes
1 answer
181 views

I am using R. I have the following data set: ...
Faith's user avatar
  • 155
6 votes
1 answer
193 views

I am getting this 'inf' from degrees of fredom from emmeans when running the following: m1 <- glmer(predation ~ treatment + (1 | individual_code), data = predation_data1, family = binomial) ...
Carine's user avatar
  • 61
0 votes
0 answers
41 views

Sorry if this is a basic question, but I am comparing the traits of two major groups of animals (Group A and Group B). The data I have are collected across thousands of populations of 34 species in ...
Tillandsia123's user avatar

15 30 50 per page
1
2 3 4 5
26