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

Can I control for a variable, post-hoc, using rejection sampling (and bootstrapping)?

Context, Goal: To estimate the quantitative effect of the treatment on a continuous dependent variable, while controlling for another continuous variable. I have one sample each from a test (n=918) ...
1
vote
1answer
15 views

Do I need to control for prognostic variables in a Cox PH model that estimates a treatment effect if the sample matches the target population?

I've been told that if all known prognostic factors are not adjusted for in a non linear model, in this case a Cox PH model, that because the error term is not estimated the treatment variable will ...
1
vote
0answers
23 views

Controlled Intervention Before/After

I have an intervention that I'd like to determine the effect of (before/after). All of the data has been divided into a treatment or control group. The issue is that the treatment/intervention took ...
0
votes
0answers
18 views

Should I include country dummies when I combine datasets of 3 countries?

I am currently doing the analysis using firm-level data of three countries combining together. Also, it is a cross-sectional analysis. Therefore, in the Ordered Probit regression, I control for ...
1
vote
1answer
23 views

What does 'control' in controlled experiment refer to?

Does 'control' in controlled experiment refer to: Having a control group for comparison, i.e "an experiment or trial that uses controls, usually separating the subjects into one or more control ...
0
votes
0answers
10 views

What is the difference between “including fixed effect” and “including control variables”?

In this paper Heider, Florian, and Alexander Ljungqvist. "As certain as debt and taxes: Estimating the tax sensitivity of leverage from state tax changes." Journal of financial economics 118.3 (2015):...
0
votes
1answer
27 views

Interpretation of VAR results with exogenous variables

I have three time series A, B and C and I ran a VAR using C as a exogenous variable. I add that the B variable is likely associated with C, in the sense that B could have a casual impact on C. I ...
1
vote
0answers
33 views

Can controlling for baseline in a regression with change scores be appropriate? (within-subjects design)

I ran a regression model with a change score (post minus pre manipulation) predicting my dependent variable. Initially, I thought it might be also interesting to control for the baseline score (pre ...
0
votes
0answers
5 views

Manipulating neuropsychology test items, controlling for changes?

If I take a subtest from an existing neuropsychological test, and take out 5 items to use independently as my methods of measurement for each level of my within-subjects factor, how can I ensure good ...
0
votes
0answers
14 views

How does an unbalanced nuisance factor influence my outcomes

I am retrospectively analyzing a specialized dataset of low sample size with only four subjects. All of the subjects' dependent variables were recorded in three conditions (levels: A, B, C) within ...
0
votes
0answers
34 views

Do control variables need to be added for the following parallel trends assumption test for diff-in-diff?

I completed the following test for parallel trends Difference in Difference method: how to test for assumption of common trend between treatment and control group? However, I am unsure as to whether ...
2
votes
1answer
69 views

What to do when difference-in-differences affects covariates

Consider the model $y_{it} = \alpha_i + \beta_{it}did_{it} + \gamma_{it} + \phi_i + \zeta_t + \varepsilon_{it}$ for group $i$ and year $t$. $\phi_i$ refers to group fixed effects and $\zeta_t$ to ...
1
vote
1answer
37 views

Predicting house prices with machine learning. Problem with time-varying variables

I'm currently trying to cross-sectionally predict house prices using statistical learning methods. I have collected prices from 2009 until 2020. I have loads of time-invariant variables on the ...
0
votes
0answers
15 views

If I control for country effects and results are significant, can I conclude generalizability of results?

I am working on a mediated model where M mediates the relationship between X and Y and I have one control variable. The data I am using is from 3 different countries with different sample sizes (46, ...
0
votes
0answers
16 views

How to control for difference a group difference in pre-test in repeated measures MANOVA

I'm evaluating the effectiveness of an intervention. My primary outcomes include aggression and institutional infractions. I ran a repeated measures MANOVA with group condition (intervention versus ...
0
votes
0answers
12 views

Am I correctly controlling for variables in multiple regression?

I want to run a OLS regression that predicts total violent crime per year using annual violent video game sales as a predictor variable. I also want to control for age, sex and race. I have data on ...
1
vote
2answers
126 views

Excluding the effect of control variables in the assessment of a logistic regression model

I have a logistic regression model with ten independent variables of which two are included as controls. While their inclusion is necessary for correctly assessing the coefficients of the other ...
1
vote
1answer
78 views

Blocking vs. Control

Am I thinking about this correctly? Blocking is something that is done on the experimental design level: If I'm not interested in the differences between school districts, I block by school district ...
0
votes
0answers
68 views

control variable, industry

I'm doing a master thesis on the effect of CSR contracting on CSR performance. My model is based on a multiples regression by OLS. I have regressed CSR level on CSR contracting and used several ...
0
votes
1answer
42 views

How to check for relevant covariates in difference-in-difference regression?

I am conducting a diff-in-diff regression over two periods of time with the treatment in between. Next to the dummy variable time ('Post'), I have 3 groups for the other variable and therefore 2 dummy ...
0
votes
0answers
9 views

Pre-Post Analysis and Accounting for Task Difficulty

The study We have a real world pre-post design where some people were trained and others were not trained. The goal is to determine if the training worked and improved performance overall. The ...
1
vote
1answer
24 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
1answer
29 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
263 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
19 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
45 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
18 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
1answer
20 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
11 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
239 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
28 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
47 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
357 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
37 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 ...
2
votes
2answers
63 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 ...
0
votes
0answers
13 views

A descriptive geographic statistics, or descriptive arithmetics question

[Please point me to a more statistical/arithmetical part of stack exchange if there is one. I can't find it] Country A has 16 million inhabitants and 2.000 MW of solar panel generated power, also a ...
1
vote
1answer
172 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
107 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 ...
2
votes
1answer
46 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
38 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 ...
0
votes
1answer
10 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
244 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
58 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
154 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
107 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
210 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
47 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
107 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,...