# Tagged Questions

The tag has no wiki summary.

18k views

### When should you center your data & when should you standardize?

In some literature, I have read that a regression with multiple explanatory variables, if in different units, needed to be standardized. (Standardizing consists in subtracting the mean and dividing ...
828 views

### How does centering the data get rid of the intercept?

I keep reading about instances where we center the data (e.g., with regularization or PCA) in order to remove the intercept (as mentioned in this question). I know it's simple, but I'm having a hard ...
306 views

### Is centering needed when bootstrapping the sample mean?

When reading about how to approximate the distribution of the sample mean I came across the nonparametric bootstrap method. Apparently one can approximate the distribution of $\bar{X}_n-\mu$ by the ...
157 views

### Should I re-center variables when looking at moderator effect in men and women separately?

I want to see if an interaction variable in a multiple regression is significant for the whole sample, and then just for men and just for women. When I created the interaction variable for the whole ...
137 views

### How to include a linear and quadratic term when also including interaction with those variables?

When adding a numeric predictor with categorical predictors and their interactions, it is usually considered necessary to center the variables at 0 beforehand. The reasoning is that the main effects ...
451 views

### Why could centering independent variables change the main effects with moderation?

I have a question related to multiple regression and interaction, inspired by this CV thread: Interaction term using centered variables hierarchical regression analysis? What variables should we ...
197 views

### Shifting bootstrap confidence interval to be centered around original parameter

I've been doing a bit of research into bootstrapping as I've been told one method of performing it, and this seems to differ from what I can find in other sources. I have a sample, and want to ...
4k views

### How to group-center / standardize variables in R?

Functions I'm familiar with include scale from base R, rescale from ARM. Perhaps the best way would be to use some variant of apply, specifying one or more variables to use as grouping variables.
48 views

### Should I de-mean a predictor variable before a dummy interaction

Suppose I have the following time-series linear model where $\beta$ is misspecified: $Y(t+1) = \alpha + \beta X(t) + \sum_{i=1}^{10000}\gamma_i Z_i(T) + \varepsilon$ where all parameters are in ...
65 views

### How to do centering if I have a quadratic term?

I have been trying to run a multilevel model with both a linear and a quadratic term for income as my main variables of interest. It looks something like: \begin{eqnarray} ...
48 views

### Convert back standardized linear predictor

I guess this is a quite basic question, but I have been struggling with this for quite some time, so I hope someone can help me with this. I have a model (type is not relevant for now) which includes ...
65 views

### Interaction Term Insignificant but Composite Variable Significant

I have 4 latent variables each with 3-7 indicators. I created a composite for each variable by summing the data and then mean-centering (variables have some collinearity issues, highly related). ...
86 views

### Interpretation of interaction term in Cox PH model when centering LP on mean values of predictors

Let's say I have a Cox PH model for predicting the risk of dying, that in a simplified form looks something like this: ...
54 views

### Few main variables in the best model still show multicollineairty. Should I remove them despite their importance?

I have a binary logistic regression with 5 IVs and all of their 2-way interactions. I have reduced/removed multicollinearity between main variables and their interactions by centering the main ...
338 views

### Interaction term using centered variables hierarchical regression analysis? What variables should we center?

I'm running a hierarchical regression analysis and I have some little doubts: Do we calculate the interaction term using the centered variables? Do we have to center ALL the continuous variables we ...
97 views

### After centering, interactions' effects got reversed. It was not fixed by reversing the dependent variable. What should I do?

In a binary logistic regression, I centered all the independent variables (binaries, continuous, dependent, independent, all [I have 5 IVs: three binary and two ordinal]). Multicollineariy was ...
67 views

### Converting standardized betas back to original variables

I realise this is probably a very simple question but after searching I can't find the answer I am looking for. I have a problem where I need to standardize the variables run the (ridge regression) ...
13 views

### Model averaging binomial glm with a categorical explanatory term

I am a using model averaging approach (using the MuMIn package) with a binomial GLM. One of my explanatory variable is a categorical factor 'treatment' with 5 levels (T1,T2,T3,T4 and T5). I also have ...
71 views

### Centering when using splines in R

I am having trouble understanding why centering seems to only work with simple linear models and not with splines for example. I am using centering to report the estimated group differences at ...
39 views

### How to determine the best mean to use for a developmental comparison using z-scores?

The data contains two groups and the intended comparison will be completed via independent t-test. Options that I have considered is using the entire sample's mean or one of the group means. However, ...