The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [effects]

An R package for calculating graphical and tabular effect displays, e.g., of interactions, for various statistical models with linear predictors

49 questions
Filter by
Sorted by
Tagged with
50 views

What do I do when my model prediction exceeds the limit of 100%?

I have plotted the effects of a model glm( A ~ B, family=poisson, data=data) both with the sjplot R package and with the ...
27 views

Am I getting the definition of partial residual plot right?

I am trying to make a partial residual plot of one quadratic predictor in GLMM (glmer in R). I tried to do it manually, from how I understood the definition of ...
32 views

Interpret contradicting output of lmer model with categorical interaction in R

I am struggling to interpret my output in R. It does not make sense to me. I first regressed participants' ratings (= value) on manipulations (...
138 views

Computation and interpretation of marginal effects in a GLMM

I am currently working on a GLMM model which uses a Poisson distribution and need to compute and interpret marginal effects from this model. The model outcome consists of a count (COUNT) collected ...
31 views

How to interpret effects of predictors with large confidence intervals in GLMM?

(This question is somehow related to my previous one) My aim is to find out about which effect several predictors have on my response variable, I am interested in the direction and magnitude of the ...
33 views

Set different link functions in Generalized Mixed Effects Model in R

Suppose I have a dataset of fish, some are salmon some are trout. I have a bivariate regression model specified roughly like below: prob(caught) = 0.5 + 0.5 * logit_inv(diet + fish_type) for salmon ...
537 views

Calculating confidence intervals of marginal means in linear mixed models

I'm using different R packages (effects, ggeffects, emmeans, ...
17 views

How does R handle standard errors for fixed effects regression with partially time-invariant regressor?

I'm running a fixed effects regression in R, with four FE strata. I have an independent variable, x, that varies within two of the strata, but is invariant within the other two strata. My ...
184 views

How to plot predicted values for fixed and/or interaction effects? (different results of predict() function and effect() (from effects package))

I've applied a linear mixed model to my data: ...
1k views

Differences between Simple Effects, Pairwise Comparisons, and planned/post hoc comparisons?

I am very confused as to the differences between simple effects, pairwise comparisons, and planned/post hoc comparisons. From what I understand, after running an ANOVA, you would use one of these to ...
63 views

Why does it not make sense to compute effects for lower-level interactions in the absence of higher-order interactions?

The documentation of effects package says "If asked, the effect function will compute effects for terms that have higher-order relatives in the model, ...
29 views

Macroeconomic effects. Effects of a time serie on another

I have a monthly time series for the provision in a financial institution. Take real data until december 2017 and predict it with a Bat model until June 2018 using R and I have an error of 0.12%. This ...
323 views

random intercept, random slope plus intercept, no random slope alone? [closed]

I measured running speed of 70 individual lizards. The lizards were siblings born of 7 mothers, 10 offspring each. The Lizards ran at 3 different temperatures, A, B, and C, where A < B < C, and ...
108 views

Different standard errors under Mac and PC in “effects” R package [closed]

I ran a model with lme4::lmer() on my Mac, then predicted values and standard errors of the interaction with effects::Effect(). Then I tested the same code under Windows. Everything was identical ...
164 views

How to simulate R data for a random effects model set-up?

Suppose we have $m$ schools chosen randomly from among thousands in a large country. Suppose also that $n$ students of the same age are chosen at each school. Let $Y_{ij}$ be the score of the $j$th ...
643 views

Effect plot with lme model

I am building a mixed-effects model with nlme package. The output of the model is as seen below, and includes the time variable, namely day and one categorical variable for treatment with 4 ...
949 views

Conditional effects in a multiple regression model

I was told that if I have a regression model $Y=b_0 + b_1X + b_2Z + b_3(X *Z)$, coefficients $b_1$ and $b_2$ have conditional effects. What does this mean exactly? How do I know when I have main ...
265 views

Panel data ID and time level fixed effects with propensity score matching possible?

I have about 15000 observations on long term care centers per year, for a period of 10 years. My independent variable is binary and the outcome variable is continuous. I have performed ID and year ...
85 views

Comparison of coefficients in fixed effects vs. non fixed-effects regressions

I recently came across a paper that runs pairs of regressions, in which one regression includes unit fixed effects and the other regression does not include unit fixed effects. The paper then ...
31 views

Mixed Effects: How to Account for (Complicated) Interdependency Nested within Trials?

This is an issue I've been discussing in-depth with with my stats tutor without being able to figure it out. I am very, very grateful for any useful insight. Core Question: In each trial, ...
79 views

Saving plot .pdf to working directory in R for a Mac [closed]

I am working on a MacBook Pro OSX 10.12.5 and R 3.4.0. I have run a simple linear regression (and lmer plots, but one step at a time) utilizing the effects package. It is a common issue that R will ...
238 views

2x2x2 (reduced) design to study main effects

I'm at the point of conducting a 2x2x2 factorial design to study corporate adoption decisions. I am only interested in the main effects and run a ANCOVA. This experiment is only one part of a bigger ...
141 views

Mixed Effects Model Random Effect Confusion

currently I am trying to build a model as part of a research project assessing threats to ecosystems. I have used mixed effects models before but the random effect was contributing a lot to the ...
371 views

31 views

interpret Alleffects() from effects package [duplicate]

I have this example logit model where some of the variables are factors but I'm not too sure how to interpret the effects. If I understand logit models correctly the coefficients that we get from the ...