# Tagged Questions

Techniques for analyzing the relationship between one (or more) "dependent" variables and "independent" variables.

3 views

### Interaction between 2 quadratic variables

If I have a regression y ~ x1^2 + x1 + x2^2 + x2 + bias, and I want to include interaction between the two quadratic variables, do I make the new regression y ~ x1^2 + x1 + x2^2 + x2 + x1^2*x2^2 + x1^...
8 views

### ARMAX or Dynamic Regression | regression of multiple timeseries

I have the following time series dataset (dependent | independent) : Sales | Income,Inflation, Interest Rates etc All of this is dynamic data pertaining to each ...
14 views

### How to calculate adjusted Y after controlling on X?

This seems should be a common question, but I couldn't find the answer after search around. Let's say we want to calculate student adjusted math test score after controlling on family income. And ...
10 views

### How do I manually calculate linear multiple regression coefficients? [duplicate]

I am working on an assignment in which I need to manually calculate the coefficients in a multiple linear regression model with 6 predictor variables. I also need to demonstrate my working. I found ...
11 views

### Significant interaction but simple slopes non-significant [on hold]

I have looked at the boards and have yet to find a clear answer to this question. What does it mean when there is a significant interaction but the simple slopes are non-significant besides that they ...
8 views

19 views

### Correlation between residuals of two different relations

I have two relations, A=f(B) and C=f(B). They both are different physical quantities depending on the same variable (let's say pressure=A density=B, temperature=C). I fit both relations to my data. ...
349 views

### Moderated regression: Why do we calculate a *product* term between the predictors?

Moderated regression analyses are often used in social sciences to assess the interaction between two or more predictors/covariates. Typically, with two predictor variables, the following model is ...
34 views

### How to apply classifiers from k-folding to data not used in the k-folding?

When I am using k-folding to split my labelled data (labelled as signal or background) and train k classifiers on it, I believe I am not allowed to assume that the distributions of the classifier ...
49 views

### Estimating risk in linear regression analysis

I am relative new in regression analysis. I would like to know, if there is a way in regression analyis to estimate the risk or calculate the risk for future values? An example: We want to predict ...
31 views

### The use of PCA index as a dependent variable

My question is a follow up one to the use of PCA as a dependent variable which was posed by Singh and answered by Sympa on May 22, 2016: Principal Components for dependent variable in a regression. ...
76 views

### Can I use PCA (or should I use regression) for testing the effect of multiple variables on one dependent variable?

I have 2000 soil property measures and 14 different variables like rainfall, temperature, slope, etc. I want to check the effect of those 14 variables on soil property measures, including which ...
26 views

### Regression model for pre-post single group design

I am analysing cross-section data from two time points, i.e. before and after an intervention and I am particularly interested in the causal effect of the intervention. The outcome of interest ($Y$) ...
14 views

I would like to have individual specific regression coefficients, which means the coefficients are also modeled by some predictors. The model in my mind may be like this: $$y_i=\alpha_i z_i+\epsilon_i... 0answers 13 views ### Using differences or ratios in regression Is it always wrong to use ratios in linear regression? For example, If I am trying to fit a linear model and I have a predictor given by: average age of team A / average age of team B should i ... 0answers 20 views ### Simulate different types of outliers (with R) in a linear regression? I'm trying to simulate a regression model with outliers to implement and understand more deeply the robust regression. I tried using a mixture between normal errors and uniforms.But as you can see, ... 0answers 20 views ### Trouble fitting contrained regression in R software [on hold] I'm trying to run a constrained regression in R. My model is (there is no intercept):$$ Y = \pi_1 X_1 + \pi_2 X_2 + \pi_3 X_3 + \pi_4 X_4 + \pi_5 X_5 + \pi_6 X_6 + \varepsilon,  subject to the ...
Given $n-1$ sequences of actions [$k_{i1}$...$k_{in}$] as training/example I want to be able to predict $k_{nn}$ in the sequence [$k_{n1}$...$k_{n(n-1)}$] where $k_{nn}$ would be the most likely ...
Intuitively (formal explanation is also welcomed), what would happen if we use a linear transformed matrix in regression? $\mathbf{XZ}$ instead of $\mathbf{X}$ in $Y = \mathbf{X}\beta +\varepsilon$. I ...