Skip to main content

Questions tagged [interaction]

A situation where the effect of an explanatory variable may depend on the value of another explanatory variable.

Filter by
Sorted by
Tagged with
1 vote
3 answers
25 views

omit continuous variable in categorical by continuous interaction

I'm trying to understand whether excluding the main effect of income in this specification, is valid. Gender is a 0/1 variable whether the individual is male/female. Income and NetWorth are continuous....
Atreya Dey's user avatar
1 vote
1 answer
16 views

can add of interaction term makes a third term insignificant?

I was reading a paper. There are 3 regression: the baseline regression: financial development of city i on city level deposit amount, control for road density, and the coefficient on road density is ...
Eileen's user avatar
  • 35
2 votes
0 answers
25 views

Centering two level-1 variables to create interaction term before multilevel analyses? Thank you [duplicate]

I like to ask for some kind help from the readers here. I have a specific question on creating the interaction term from two level-1 variables before even running the multilevel analyses. Do you mean-...
Jomel NG's user avatar
0 votes
0 answers
18 views

Can you use a MANCOVA with a DV measured twice and a DV measured once? [closed]

Can you use a MANCOVA with a 4 level IV, a covariate measured once, a within-subject factor (Time) relating to a DV measured twice, and another DV just measured once? I want to see: Is there a ...
Johnny A's user avatar
0 votes
0 answers
26 views

Can you assess Moderation with ANCOVA?

I am using SPSS for analysis with 1 group IV (4 levels), one DV measured at time 1 and time 2 for each participant in each group, and one covariate measured once at time 2 or for each participant in ...
Johnny A's user avatar
1 vote
2 answers
80 views

Subgroup analyses after propensity score matching

Assume an already propensity score matched cohort. One of the variables included in the propensity score model is sex. The main cox model investigates the comparative effect of two drugs for cancer ...
geek45's user avatar
  • 39
2 votes
1 answer
28 views

How do you model the two-way interactions between a continuous variable and two factors but not the three-way interaction with GAMs?

For the example, let's suppose I'm trying to model the level of activity of some frogs depending on a continuous variable (water temperature) and two factors : their sex (M or F) and the period of the ...
Boussens-Dumon Grégoire's user avatar
0 votes
0 answers
24 views

Can I model the interaction between a continuous variable and two factors separately for each factor?

I'm wondering if I can model the effect of the interaction between a continuous variable and two factors in a model without including the three-way interaction between the two factors. Let's imagine I ...
Boussens-Dumon Grégoire's user avatar
1 vote
2 answers
67 views

ANCOVA or MODERATION?

I'm struggling with the statistics for a question I'm collecting data to answer. My paper is about whether different meditation types can increase happiness when controlling for meaning in life. There ...
Johnny A's user avatar
0 votes
0 answers
30 views

Plotting interaction by logistic regression

I have used R to plot the interaction term from the logit function I computed. I use the standard cat_plot() to plot the interaction. I clearly see that the two ...
Devi Sita's user avatar
  • 309
0 votes
0 answers
11 views

Should I expect statistical analytical problems in this PLS-SEM structure?

Dear all great statisticians.... I am a doctoral student and my conceptual framework contains five variables. Among these variables are a mediator and a moderator. I am not sure of the validity of ...
Eyad Al-Samman's user avatar
0 votes
0 answers
18 views

Multilevel 1-1-1 Moderated Mediation with Level2 moderator_MPLUS [closed]

I have created the syntax below for a multilevel 1-1-1 mediation model with level 2 moderation of both the a and b paths. ED is the moderator. I am not sure to include covariance of s1 and s2(cab) in ...
christy0511's user avatar
0 votes
0 answers
15 views

In a 2 arm pre-post RCT, is an interaction test on an ANOVA the same as a t-test of the change scores?

Say you have a 2-armed pre-test post-test control trial design. You want to test the effect of group allocation on the outcome variable. I simulated a version of this in R, using 3 different methods: ...
Joel Phillips's user avatar
0 votes
0 answers
8 views

How to establish a predictive model for implementing or not implementing checks as an exposure factor?

I have observational data on a prospective cohort, including baseline measurements such as blood pressure and glucose, as well as data on cardiovascular disease incidence with 10-year follow-up. I ...
li jiaqi's user avatar
0 votes
0 answers
21 views

How to interpret results of a GLM from a double factor experimental design

I have an experiment with two factors "Enzyme", and "FeedMixture" which has 4 different levels. "FeedMixture", is a variable of type factor. Below I simulate a response ...
Ismael Rubio Cervantes's user avatar
1 vote
1 answer
20 views

Calculate Levene test in R

I'm trying to calculate the Levene tests with multiple interactions. ...
Minia's user avatar
  • 11
0 votes
0 answers
2 views

Whats the correct way to nest for VCA (Day, Lot, Operatore)?

I have a data set for a study im working on, i'm usually pretty good with stats but the more I look at this the more I question myself. So I have a measurement of a analyte taken by two different ...
stats_scot81's user avatar
2 votes
1 answer
31 views

How does a logistic ordinal regression model learn the interaction between the features?

I have a dataset of informations about students and the last column is the target variable which is the final note. My goal is to make logistic regression and ordinal regression models to see whether ...
Moez Daly's user avatar
0 votes
0 answers
9 views

Is including all pair-wise interactions in a three-way interaction linear regression model necessary?

I am trying to assess the impact of X on Y with Z as a control and a dummy variable (D), which takes a value of 0/1. However, to test my hypothesis, I have interacted with XZD as I want to see the ...
Toshani Singh's user avatar
-1 votes
1 answer
18 views

How can it be that the moderation analisys is not significant but at +- 1 sd of the simple slope analysis all slopes are?

I'm currently working on some preliminary data (185 subjects). I'm using moderation analysis with jamovi medmod package, 10000 bootstraps, continuous calculated variables (mean of items from a survey)....
GT87's user avatar
  • 143
1 vote
1 answer
64 views

Interpretation of generalized linear mixed-effects models: How should I proceed with a significant interaction term?

My experiment has the following factors: "year" (fixed) with levels "1" and "2" "age" (fixed) with levels "old" and "new" "treatment&...
empetrum's user avatar
4 votes
2 answers
142 views

Detecting interactions in large logistic regression models

I have a dataset of a few million observations of a binary response with a low "Success"-probability of on average 1% to 2%. The dataset encompasses several categorical (~20 some with up to ...
g g's user avatar
  • 2,688
1 vote
0 answers
21 views

What exactely is "the part of the interaction orthogonal to factors $A$ and $B$" in a two-way ANOVA?

Consider a two-way ANOVA with factors $A$ and $B$ and the interaction $A\times B$. The author of this answer answer https://stats.stackexchange.com/a/608301/359647 (@svendvn) explains that the Type ...
Quertiopler's user avatar
1 vote
0 answers
53 views

Does a significant interaction & effect imply an effect in both groups? [duplicate]

I'm fitting an interaction model for two treatment groups: water and saline. Participants of the study, at different ages $X$, begin the treatment and $Y$ is measured. I fit an interaction model $$Y = ...
John's user avatar
  • 11
2 votes
1 answer
43 views

Confidence intervals around treatment effect in stratified experiment

Suppose you conduct an experiment, where a population is randomized and treatment is given to the treatment group and you are interested in covariates (stratification has been employed) and their ...
jbuddy_13's user avatar
  • 3,204
0 votes
0 answers
23 views

Relationship between f test and t -test [duplicate]

I am working on a problem where I should derive the t test statistic from an f test given an ANOVA table (below). From my understanding, when we conduct an f-test we are using the variance to ...
Harry Lofi's user avatar
0 votes
0 answers
17 views

Linear mixed models with and without interactions

Here is the context: I asked two types of questions 8 times (8 "sessions" with 2 questions, each question has a "number" i.e. whether it is the first or second question asked, and ...
statuser's user avatar
0 votes
0 answers
28 views

Mathematical formula for interaction term in multiple regression with two predictors [duplicate]

I am trying to understand the math behind the coefficients in a multiple regression with two predictors and their interaction. I know that this can be done in matrix notation OR directly in any ...
alice123456's user avatar
0 votes
1 answer
58 views

Modeling longitudinal change in outcome per unit of change in a continuous explanatory variable

My question is related to How do you deal with "nested" variables in a regression model? However, my issue is slightly different. I'm analyzing RNA-seq gene expression data (>10 000 genes)...
jarikarppinen's user avatar
0 votes
0 answers
40 views

Is an interaction term essentially interpreted as just another independent variable?

I'm trying to understand if the linear regression model interprets an interaction term as just another independent variable? This is the formula for linear regression with 2 independent variables ...
Mandem's user avatar
  • 135
0 votes
1 answer
31 views

Mixed models - interactions or individual regression

I am using LMMs and GLMMs(where necessary) to model carbon pools between different treatments. i.e specifically intrested in contrasts. These pools are divided between different groups e.g. diferent ...
Eco_Analysis's user avatar
2 votes
1 answer
97 views

Should I run a moderated regression or a regression on a subset of my data?

My hypothesis is that my iv predicts my dv only among people who have a PhD. I have seen two ways to test this hypothesis: Run a regression with a moderation between my iv and the education variable ...
Charly Marie's user avatar
1 vote
2 answers
101 views

Comparing two models from the "fish" dataset

Data I'm constructing linear models using the fish dataset from this data with the following variables: res_var: response ...
OzkanGelincik's user avatar
1 vote
0 answers
158 views

Can raw means and estimated marginal means be the same ? And when?

I have read a lot about calculating raw (standard) means and EMM. First are data based (descriptive stats), the latter are model based. I try to learn how to calculate both of them. In my example both ...
Andrzej Andrzej's user avatar
0 votes
0 answers
18 views

Missing predictor variable in GLMM.nb outcome

After running the model: ...
Adrianna Elihu's user avatar
0 votes
0 answers
9 views

nlme prediction differs largely from a 3 way interaction model to its post-hoc follow up

I'm trying to predict that speed at which people complete a walking test, where they perform this test for multiple trials and overall increase their performance on each trial. They perform as many ...
user410044's user avatar
0 votes
1 answer
46 views

Interpreting interaction coefficients between continuous and categorical variables + interaction plot with confidence bands

I ran a between-subjects experiment in which 114 people evaluated 1 innovative idea, and I manipulated the source of the idea (IV1 = source; categorical: internal vs. external) to see if it affected ...
Daisy's user avatar
  • 1
2 votes
1 answer
24 views

Regression with depended predictors, animal study sample size [closed]

I have a few questions for help, One of my predictors is for treatment and control. Another predictor is dosage. Treatment group has 4 dose levels which control group only has one. Can I still use ...
aqen's user avatar
  • 191
1 vote
1 answer
28 views

Beta regression for interaction terms without full rank? (R)

I have a series of beta regressions I have performed on the effects of tissue type, year, and age class on the eccentricity of ellipses, which varies between 0 and 1. I have created interaction models ...
ElizaBeso000's user avatar
1 vote
1 answer
41 views

How does type II vs type III ANOVA work when there are more than two categorical predictors?

For a model with two categorical factors in the form: X = A + B Type I (used if the factors are balanced) calculates SS for each term in the model sequentially as follows: SS(A) then SS(B|A) = SS(A ...
Insect_biologist's user avatar
4 votes
1 answer
191 views

Interaction term vs subgroup analysis

I have a question regarding the choice between interaction term and subgroup analysis. Suppose that I want to study the association between education and income by sex. I can fit a model with an ...
Willi Zhang's user avatar
2 votes
1 answer
51 views

moderated mediation vs mediated moderation

I am looking for a detailed explanation of moderated mediation and mediated moderation. My basic understanding is that in moderated mediation, we have a classical mediation model with the addition of ...
Cooper Owls's user avatar
0 votes
1 answer
29 views

Cox regression with two-way interaction and interaction p value

Hi I am using Cox regression to do some survival analysis. I have one continous predictor variable called "biomarker" and two binary categorical variables sex and diabetes. I want to get the ...
Fabian's user avatar
  • 49
0 votes
0 answers
22 views

Which of these is the correct way to encode a type III ANOVA analysis?

I am trying to run a type III ANOVA analysis to look at how the three factors A, B and C affect the continuous variable X. Online I have found two ways of encoding the model which give different ...
Insect_biologist's user avatar
2 votes
1 answer
78 views

Am I using emmeans correctly to look at pairwise differences after running a type III ANOVA model?

I am looking at how the weight of female individuals is influenced by the two factors A (5 levels) and B (2 levels) using a type III ANOVA as follows: ...
Insect_biologist's user avatar
0 votes
0 answers
20 views

Comparing Hierarchical regression models from the same sample

I'm running a survey where I'd like to compare three models with the same set of variables except for the moderator. I'm looking for the strongest interaction effects as a foundation for subsequent ...
GT87's user avatar
  • 143
3 votes
1 answer
62 views

Interpretation of interaction plot from GLM

I'm doing a moderation analysis in R. My dependent variable is a rate (Diffcount/totalcount), the independent variable is an index (continuous), and the moderator is a categorical variable (3 levels). ...
YYM17's user avatar
  • 135
0 votes
0 answers
14 views

Neural net and category separation with interaction terms

We have a stream of tabular data consiting of categorical and numerical features. One category is somehow crucial in either affecting the target, interacting with other features and sorting the data ...
funkymind's user avatar
0 votes
1 answer
36 views

Analysis of interactions in quantile regression models

I possess a large dataset with n ~10,000. My goal is to develop a quantile regression model using rq() from the ...
Mikołaj's user avatar
  • 141
0 votes
1 answer
26 views

glmer problems in seeing all variables

I am trying to run a binomial glmm to understand the relationship between various concentrations of a compound sensed by different castes of ants. We have 5 different compound concentrations (a-e), ...
Allyssa Hinkle's user avatar

1
2 3 4 5
54