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

Questions tagged [controlling-for-a-variable]

A control variable is one which is included in a model primarily for its impact on the total model rather than for its own substantive interest.

Filter by
Sorted by
Tagged with
1
vote
1answer
14 views

Controlling variables for interaction effects

I'm trying to understand what adding a 3rd covariate to a regression model does to the overall effects on interaction effects. I'll be using the mtcars dataset in R ...
0
votes
0answers
15 views

Isolating last month changes from rolling 12 data [closed]

Each month I am given a spreadsheet with rolling 12 month numbers. I can easily calculate year-over-year changes. But I am most interested in seeing the changes for just the most recent month, ...
0
votes
1answer
26 views

Help with Interpreting results from 2 models: Variance explained vs Indirect Effects?

I am comparing two models using Path Analysis (pictured). Model A explained 49% of the variance in my DV. Model B (which is the same as Model A + an additional mediator) explained 48% of the variance ...
0
votes
1answer
17 views

How to control for demographic variables in Path Analysis?

I am running a series of path analyses using AMOS and could desperately use some help around how to control for confounding demographic variables; Q1. I have read that while some demographic ...
0
votes
1answer
11 views

Capturing effects / Controlling for variables [duplicate]

I understand the idea behind regressions and know how to interpret them, however, when I hear the term "capturing the effect of.." or "controlling for.." so far I've just accepted it without ...
0
votes
0answers
11 views

Binary (dummy-variables) in a Difference-in-Difference Estimation

currently, I am conducting a Difference-in-Difference Analysis for which I designed a treatment Group (1) and a Control Group (0). The Regression for this works just fine, although not with the ...
0
votes
0answers
8 views

Heterogeneity in pooled cross sectional data

Hey I'm trying to estimate the effect of minimum wage changes on unemployment using data from the American Community Survey. Since the ACS is pooled cross sectional data, the sample which is ...
1
vote
0answers
27 views

Understanding control variables

I have a question about control variables. Here is a simple diagram of my model. A~H are my independent varaibles, Y is my dependent variable, and there are the controlled variables. A~E and F~H can ...
1
vote
1answer
16 views

How to control for a numeric variable when doing a chi square goodness of fit test? [closed]

I'm looking at race differences in the number of adverse events that happen at a hospital. At this hospital there are a lot more white people in general so I've been using a chi square goodness of fit ...
0
votes
0answers
8 views

Further investigating effects of demographic variables on XY relationship

I'm investigating the effect of an IV on a DV while controlling for demographics (4 variables). To do this, I've run a hierarchical regression with the demographic variables in the first block (Model ...
0
votes
0answers
20 views

Controlling for a variable while computing a performance metric (e.g. MSE)

I was wondering if it was appropriate to control for other variables when computing a performance metric, for example, the mean squared error (MSE). To illustrate the question, suppose we are dealing ...
0
votes
1answer
27 views

Is it ok to use control variables in a moderator/interaction analysis in experimental design?

I have a question concerning the inclusion of control variables into my research. I have data from an experimental, randomly distributed social protection program. I want to test whether a moderating ...
1
vote
1answer
21 views

Controlling for a variable: t-test or covariate?

Lets say I have some data that looks like this: ...
0
votes
0answers
22 views

Using regression to solve an expenditure minimization problem

I'm working with some data and I want to choose capital and labour expenditures in order to minimize total expenditures subject to the constraint that they produce a certain level of output. The issue ...
2
votes
1answer
39 views

Controlling for variables in social sciences

I know this is a completely hypothetical scenario but I just want to understand how the effect of a variable could be held constant and how the coefficients of two independent variables are estimated ...
1
vote
0answers
101 views

Do control variables in a regression analysis cause collinearity?

This is something that bothers me for quite some time, but I didn't find yet a satisfactory answer. I hope that the wisdom of the people hear will help me to clarify this: In a multivariate ...
2
votes
0answers
18 views

How to choose the control variables in the conditional expectation to hold fixed when studying a causal relationship

I'm reading the introductory chapter of the wooldridge's book, "Econometric analysis of cross section and panel data". The chapter begins by highlighting the role and importance of conditional ...
0
votes
0answers
21 views

Causal interpretation using first-stage residuals as controls in second stage regression

I have a main model that investigates the effect of X1 on an outcome variable Y, controlling for certain exogenous variables <...
2
votes
2answers
41 views

controlling confounding variables vs. excluding confounding variables

I'm working on a meta-analysis project that looks at the effect of "pure" depression (i.e., depression with no anxiety) on mortality. For studies that looked at the effect of pure depression on ...
1
vote
1answer
65 views

When is the best to add control variables in multilevel modelling?

Is it better to add control variables before or after the main predictor variable while conducting a step-wise multilevel model?
1
vote
0answers
95 views

Term for two variables that are “too close for control”

Sometimes we are tempted to assess a relationship of X1 with Y while controlling for X2, but it would be a mistake, because X2 is not merely correlated with Y -- it is more closely associated than ...
0
votes
0answers
9 views

Interpreting the coefficients on age categories in Panel Regression

I am running a panel regression for 20 quarters of 311 local authorities. I am regressing their recycling rate on a series of variables (log income, log household size, log population density). I ...
0
votes
0answers
6 views

Control variable relevant for one group of subjects only (moderation analysis)

I'm comparing a group who read on paper and a group who read on tablet. I have data about Technology Acceptance (TA) only for the group who read on tablet. Since I don't have data for the other group, ...
0
votes
0answers
52 views

Supervised machine learning for dimensionality reduction of control variables in logistic regression

Is it a valid approach to use the predictions of a supervised machine learning (ML) algorithm as a form of dimensionality reduction of control variables in the context of logistic regression? ...
2
votes
1answer
37 views

Changes in significance and effect size (though constant SEs) when controlling for a categorical variable. Correlation test & interpretation?

I am interested in the effect of the extend to which an occupation consists of routine codifiable tasks and individual job displacement. I have individual level survey data and use a logistic model to ...
0
votes
0answers
37 views

do not need many controls with big data?

I am looking at a paper which uses a large panel data, 1 million observations, a dozen variables. I recall that in a discussion another one has the following comments: In structural models like ...
1
vote
1answer
359 views

Controlling for confounding variables in linear mixed effects models (lmer)

I'm using lmer to test how multiple variables (in this case, treatment, species, and sex) influence avian behaviour. ...
0
votes
0answers
32 views

When to include covariates when I hypothesize there's a difference between groups?

If I am hypothesizing that there is gender difference in a certain domain, and that another variable would moderate the gender difference, should I include covariates in the analysis? The key of this ...
0
votes
1answer
9 views

Compare variable across two groups conditionally on a variable that has a strong correlation with the variable

I have the following scatter plot. I want to do a statistical test to asses something along the following lines: "are the red dots on average higher/lower, given the y-coordinate". But I don't really ...
3
votes
1answer
161 views

Controlling for a variable in OLS - Stratification and Reaggregation. Simple Example

In his engrossing book "Naked Statistics" Charles Wheelan begins to explain how controlling for variables works by stratifying the sample. However, he stops short of explaining the reaggregation, ...
0
votes
0answers
44 views

Regressing out of the *independent* variable?

Using some software packages it is possible to 'regress out confounding variables from the independent variable x' before plotting ...
3
votes
2answers
91 views

How to remove the effect of one variable by using linear model residuals

My data set has species with a number of morphological variables, including body mass: ...
1
vote
0answers
76 views

How to use 5-year ACS census data in an annual regression

Lets say I am running a regression on annual data at the county level and I would like to include some controls based on census data. Some of my counties of interest are below 65k population, so ACS ...
0
votes
1answer
138 views

Interest rate control variable GARCH

I'm building a GARCH model which looks if analysts' reports affect the volatility of certain stocks. I was wondering if it would be logical to include the interest rate in my GARCH model as a sort of ...
0
votes
0answers
46 views

“controlling for” a variable [duplicate]

In my analysis section where I used a partial least squares (PLS) structural equation technique, A reviewer commented that: "Not controlling for state or university etc, particularly in a diverse ...
0
votes
2answers
86 views

Main effect not significant, but confound is

I am a little bit stuck with my data analysis. What does it mean if your main effect is not significant (.442) but becomes even less significant when you add your control variable (.718) Furthermore,...
0
votes
1answer
69 views

Control for variables: multiple regression vs residuals

I'm trying to understand how to control for variables in linear regression. Say I want to predict $\mathrm{outcome}$ using $x_1$ and control for $x_2$ and $x_3$. The common approach I see is just ...
1
vote
1answer
113 views

Can an uninformative control variable become useful?

I run a multiple regression with an IV that could not explain any variance in the DV. Is it possible that if I add another variable in the model as a control that the IV entered first would start to ...
1
vote
0answers
17 views

Adjusting/controlling entire distribution for covariates

Suppose I have data on the number of views that Youtube music videos receive as of a fixed date. Let $Y_i$ represent the number of views that video $i$ has received by this date. I want to compare the ...
2
votes
1answer
160 views

Partial Correlation vs. Interaction

Analysis type: linear mixed-effects model DV: cortisol (4 time points per participant - morning, noon, 5pm, 9pm) IV 1: time-since-waking (continuous, repeated measure, variably spaced/unstructured ...
1
vote
0answers
624 views

Partial correlation with continuous and categorical variables (SPSS)

I have results of 7 neuropsychological tests, and I am studying the convergent/divergent validity of one of these tests. These are the continuous variables. I also have background variables: gender ...
1
vote
0answers
68 views

Discriminant validity between traits that co-vary?

I'm hoping to do a validation study on a measure of anxiety (called the AISCs) in a stroke population, using convergent and divergent validity. A test demonstrates convergent validity if it ...
13
votes
1answer
148 views

When we compare groups on control variables should we be using tests of equivalence?

In many papers that consider treatments and outcomes, I see tables (usually "table 1") of what might be called nuisance variables (often demographics, sometimes medical conditions) with tests of ...
0
votes
0answers
26 views

Replacing a control variable by a summary of the dependent variable

I am trying to model the number of (web) page-visits that different products receive during a period of time, using different characteristics of these products. I am using a linear regression model: $...
5
votes
2answers
601 views

How does statistical control work in logistic regression?

I want to make sure that I can generally interpret model findings accurately. Is it fair to say that each log-odds associated with a predictor assumes that the others are held constant at 0? Making it ...
0
votes
1answer
299 views

Add control variables in moderated mediation model in Mplus

Sorry for the silly question but I am very inexperienced in SEM I am testing a moderated mediation model with two serial mediators (M1 and M2) of the X-Y relationship, and also one moderator (W) of ...
0
votes
1answer
91 views

Question on Multi-level Categorical Variable

I have a question on the coding/use of categorical variables: In short, I have two control variables in an SPSS regression model. One is participant (15 levels, or participants) and one other ...
15
votes
3answers
1k views

When is it inappropriate to control for a variable?

I can think of at least one naive example. Suppose I want to study the relationship between X and Z. I also suspect that Y influences Z, so I control for Y. However, as it turns out, unbeknownst to ...
1
vote
2answers
331 views

Is ANOVA or ANCOVA more appropriate for an experiment with random assignment?

I understand that in observational studies, if we want to use regression for analysis, and if some variables are supposed to be a confounding variable, we should control for them in the regression ...
0
votes
0answers
17 views

Rank change based on the original rank?

My question is on how to "properly" weigh rank changes. For example, in the scenario of faculty placement, it is harder to go to a better university when you are already in a good university. In this ...