A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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
0
votes
0answers
10 views

Can an independent, predictor variable be used as a multigroup moderator in SEM?

I am analyzing the below model using Structural Equation Modelling. I have PE (continuous, manifest variable) as an exogenous variable. I want to retain PE in the model and run a multigroup SEM on two ...
0
votes
0answers
8 views

p-values change after mean centering with interaction terms. How to test for significance?

I assumed the following interaction model: $$y = \beta_0 + \beta_1 x_1 + \beta_2 x_2 + \beta_3 x_3 + \beta_4 x_2 x_3$$ And then applied mean centering: $$y = \beta_0 + \beta_1(x_1 - \bar{x_1}) + \...
0
votes
0answers
8 views

Odds Ratio for Interaction Terms in GenLin in SPSS

I have a generalized linear model using SPSS to determine the relationship between certain variables (sex, race/ethnicity, geographical area, etc.) and whether or not they use a computer. Also, we ...
1
vote
1answer
43 views

Creating sex-specific quartiles as predictor in lmer()

I am using lmer() (lme4 package) in r to test whether a hormonal factor (x) predicts score on a mental health scale (y). I am using linear mixed models rather than a standard GLM because the outcome ...
1
vote
0answers
30 views

Interpret Interaction Effects in Negative Binomial Regression

I have two questions regarding the interpretation of interaction effects in a negative binomial regression model. The model uses the number of people arriving at a hotel per hour as the dependent ...
1
vote
0answers
18 views

Can RFs find a product interaction between two independent variables?

I'm doing the FastAI course on ML, and the main topic that is currently being discussed is random forests. Jeremy Howard explains how random forests, unlike something such as logistic regression, can ...
0
votes
0answers
9 views

What does it mean when there exists a treatment group by time effect?

In longitudinal analysis, mixed-models, gee, what does it mean when there's a group by time effect as opposed to only a time effect and treatment group effect? What does treatment group effect signify ...
3
votes
1answer
45 views

How to add Indivivual Specific Variables for unlabelled alternative (using interactions) using mlogit with R?

I’m using DCE with unlabelled alternatives, 9 choice set with 3 alternative each (2 option and Optout alternative), described with 4 attributes. I've started with a conditional logit (with only ...
1
vote
1answer
26 views

Continuous continuous interaction term in R

My problem is visualising a regression I have made, but I am unsure on how to visualise it. I have an interaction term both variables are continuous. What graphs can I use to accurately depict this ...
1
vote
0answers
25 views

Which effects and which interactions are significant?

I'm performing an experiment with five main effects resp. 6-7 since these main effects influences are studied on 20 sensors (which can be grouped into 3 ...
1
vote
1answer
31 views

Can I use the interaction between a dummy variable and the variable it was derived from?

I am trying to make a multiple linear regression model. I have a hypothesis that $x$ is a significant predictor of $y$ but only when $x > 0.5$ ($x$ ranges from -2 to + 2). Is it acceptable to ...
0
votes
0answers
20 views

Binary Non Linear Regression with Time Series and Group Interaction Effect

First post so I'll try to be as specific as possible. My design is as follows: 2 groups: Control and Treatment 5 min test of movement within an arena with a zone of interest Binary Dependent ...
0
votes
0answers
8 views

Logistic regression: McFadden does not change after interaction term is added. But Waldtest shows differecne in model fits

I have tested two models (one with interaction, the other without). The McFadden test show just small improvement in model fits (.432 to .439). When I run Waldtest between the model, it shows that ...
3
votes
0answers
17 views

How to consider interaction terms in the ridge / lasso / elastic net?

I would like to ask a question about how to consider interaction terms in my penalized regression? My primary goal is to build the model to predict. I think in the conventional GLM, we run the model ...
0
votes
0answers
12 views

How to generate synthetic high-collinearity data with interaction effects?

I want to create high-collinearity data (dependent variable) with interaction effects. This answer provides code snippet to generate collinear data, but I want to go one step further and add ...
0
votes
0answers
17 views

Mediated Moderation or Moderated Mediation?

let's say I have two groups (variable G) and another variable such as stress (variable M). The two groups differ within stress. Now I want to examine how the relationship between freetime (variable X) ...
0
votes
0answers
26 views

Multicollinearity - mean centering does not reduce the confidence interval of interaction terms?

I generated synthetic high-collinearity 10,000 datasets (each of sample size 1,000) using high-covariance matrix with multivariate normal distribution. I fitted 10,000 different linear models and ...
1
vote
0answers
24 views

Including Z in a logistic regression model with X, Y and XY

Quick question, hope somebody could help me! I have a logistic regression model with dichotomous variables X, Y and interaction term XY. However, there is a third dichotomous variable Z that is also ...
0
votes
0answers
10 views

How to report transformed and standarised data

I'm trying to analyse three variables with a moderation analysis. All three variables use different scales (IV scale: 1 - 5, DV scale: 1 - 6, moderator scale: 0 - 100). The independent and dependent ...
1
vote
0answers
17 views

How to interpret standardized coefficients for an interaction effect between continuous and categorical variables?

It is conventional, in some circles, to standardize all continuous variables before conducting OLS regression. It is argued that this actions makes it possible to rank the effects observed, and hence ...
2
votes
1answer
52 views

How to isolate two distinct effects of a unique independent variable in multiple regression analysis?

Salut! First of all thank you if you're reading this post and I wish you all the best for 2020! Edit 1: All variables are continuous variables (no dummy or categorical) Edit 2: An illustration of ...
1
vote
1answer
30 views

How can I check if are there confounding and interaction betwen variables in a regresion model?

Hi I am trying to know if are there confusion and interaction in a regression model, but I am not too sure how do it. The first step for is create the model of the following way. ...
3
votes
2answers
71 views

Multi-level / mixed-effect / hierarchical linear regression. Model and interpretation advice? [closed]

I want to run and then report a multi-level model on the ChickWeight data in R. I have done several analyses of which I have a few questions. I've been told the AIC is a good way to test a model's ...
0
votes
0answers
10 views

Mixed models: No significant interaction - post-hoc analysis?

I have a more or less general question about the logic of post-hoc-tests: I did a mixed linear model on the effect of a treatment on well-being. Subjects were randomly assigned to one of two treatment ...
1
vote
1answer
41 views

Graph and statistics multiple regression show different things

I’ve run a multiple regression to find out if visual memory declines differenty for the autism group than for the controlgroup. I did find a significant main effect of age, showing that with ...
1
vote
1answer
38 views

endogenous moderator in lavaan?

I am still learning about SEM, lavaan, and moderated mediation. My question is whether a moderator can be an endogenous variable - i.e. whether the variation in the moderator can be modelled as ...
1
vote
2answers
37 views

Small sample size: is multiple regression preferred over moderator analysis?

I would like to determine whether the relationship between variable X and Y depends on the value of a third variable M. It's a psychological topic and unfortunately I've got a sample size of 30 ...
3
votes
1answer
44 views

Interaction is not significant in ANOVA, but significant in Regression, which is nonsense

Variables that I have: randomization (categorical): control / low / high sesdummy (categorical): low / high fairness (continuous) I wanted to see if there was an interaction effect between two ...
0
votes
0answers
18 views

Finding out whether events are correlated

I manage software development. We have a lot microservices and have built a lot of features. I would like to see if any of the microservices are highly coupled - which I'm defining here as meaning ...
1
vote
1answer
23 views

Conclusion of my logistic regression with interaction terms

I ran a logistic regression, all assumptions checked and so on, and I have two models with four predictory variables predicting one dependent. In my first model I just check the variables themselves, ...
1
vote
0answers
19 views

Interaction effect and collinearity: important or not? Influence of precipitation on foraging behavior?

I am facing a pretty straightforward case. I wish to test whether precipitation, represented as interaction effect between two numerical variables (number of strong showers x highest rainfall recorded ...
0
votes
0answers
22 views

Is it problematic when very few samples are $\ne 0$ for the interaction term?

I am analyzing a data with 200 thousand observations and I am estimating $Y_{ist} = Group_{ist} + Treatment_{ist} + \beta Group_{ist} \times Treatment_{ist} +\epsilon$ where $\beta$ is the ...
1
vote
0answers
16 views

Mediation Analysis with Interaction of Mediators

I am not an expert in mediation analysis or structural equation modelling. I looked in the standard reference for mediation analysis (i.e., Hayes) and searched the forum and internet a bit and could ...
0
votes
0answers
10 views

hyp test: constant return to scale with Squared and interaction terms

I want to test if constant return to scale applies to my production function (modelA): log(y) = log(x1) + log(x2) + log(x1)^2 + log(x1)*log(x2) I have tried the following in r, but iam not sure if ...
1
vote
0answers
37 views

How can I make a scatterplot with two grouping variables (group and subgroup)? [closed]

I'd like to make a scatterplot with my dependent variable (scores on test A) on the y-axis, age (continuous) on the x-as and group (autism vs. control) as grouping variable, but also subgroup (people ...
0
votes
0answers
14 views

Logistic regression for factorial design: interaction and main effects of treatments

I have a factorial experimental design with 4 groups: (1) Controls, (2) Treatment A, (3) Treatment B, and (4) Both treatments A and B. A total of 100 patients were randomly allocated in a balanced ...
0
votes
1answer
56 views

How to figure out the direction of a Generalized Linear Model?

I'm trying to figure out the direction of my data from my GLM output analysis. For example, with linear regression, you can plot the x and y values on a scatter plot to determine the direction of the ...
0
votes
1answer
27 views

glm with two interactive factors

I've run a glm (gaussian family) with a*b as independent variables. At first, I run two separate models (like glm(y~a) and ...
1
vote
0answers
30 views

Combining mean differences in regressors and significant prediction and moderation in multiple regression

I am analyzing a survey about career choices with an eye toward demonstrating sex differences in: 1) the means for factors that might be related to career choice (e.g., differences by sex in ...
1
vote
0answers
17 views

Non significant interaction in a 2X2 ANOVA but significant t-test

I have a within-subject design and I analysed the data by using a 2X2 repeated-measures ANOVA. My dependent variable is continuous and my two independent variables are categorical. Assume that the two ...
0
votes
0answers
20 views

continous x categorial interaction with aov-command in R

I've really tried to google it, but so far I couldn't find any information that fully answers my questions, so I'm hoping to get some help here (I'm also happy about links to any resources dealing ...
1
vote
0answers
21 views

Two-Way ANOVA with significant interaction with replication, how to proceed?

Good morning everyone. I am performing an omnibus two-way anova test. In the set of factors that I want to test I included biological replication and technical replication. The function used for the ...
0
votes
0answers
16 views

How to see the effect of a continuous moderator on a DV w/a 12x2x2 within-between subs factor setup?

We cannot figure out the most appropriate analysis, given our data. We conducted a 12 (morality of the behavior) x 2 (character type) x 2 (character role) experiment. Morality and role were within ...
0
votes
0answers
22 views

Interpretation R results linear Model with Interactions

I´m trying to analyse the effects testosterone in combination with a specific pill type can have on reactiontimes.For example, if there is a difference in the reactiontimes between people who have low ...
1
vote
0answers
9 views

Multiple interaction terms for dummy variables?

IV: State (NJ, HI, CA, FL) (reference =CA) Moderator: # of hours exercising DV: BMI In this case, the IV is categorical and I have 3 dummy variables. As such, I created 3 interaction terms. In using ...
0
votes
0answers
9 views

Having Multiple Interaction Terms in Regression

If I have $X_1$, $X_2$, $X_3$, $X_4$, where $X_2$, $X_3$, and $X_4$ are categorial, does that mean that all of the interaction terms I have are $X_1X_2$, $X_1X_3$, $X_1X_4$, $X_2X_3$, $X_2X_4$, and $...
0
votes
1answer
28 views

How can know the interaction between two predictors variable, and how can interpret?

How can analyze if two variables exist an interaction? I am doing a linear regression with two variables, and with two variables and interaction variables, and I am getting the following results: <...
1
vote
0answers
22 views

What is the design of this experiment and how do i analyze it

I carried out an experiment in two locations. For the two locations, the experimental set up was 95 genotypes of a plant in 3 replicates. For each replicate, I had 3 blocks in which the genotypes were ...
2
votes
1answer
42 views

Showing that in a two variable model with an interaction, the lines for regression of $Y$ on $X_1$ at fixed values of $X_2$ cross at a point

I am trying to show that in the model $E(Y) = \beta_0 + \beta_1X_1 + \beta_2X_2 + \beta_3X_1X_2$, the lines for regression of $Y$ on $X_1$ at various fixed values of $X_2$ all cross at a point. I've ...