Hello, I am looking to center a covariate, per the reference below. This covariate is Hospital Referral Region (HRR), which has 306 values and enters my model as 305 indicator variables. I also use this variable in interaction terms in the model.
Per Kraemer and Blaysey (and Cronbach's) recommendations, the indicator variables should be recoded from 1 and 0 to 1-1/m and -1/m, with one (arbitrary) HRR eliminated. I'd welcome any suggestions on how to easily code this in Stata.
Kraemer HC & Blasey CM. Centring in regression analyses: a strategy to prevent errors in statistical inference. International Journal of Methods in Psychiatric Research, 13: 3.
Related Posts with Centering an Indicator Variable
Putexcel : looping over many tables produces duplicates where there are missing dataI am using the World Values Survey, which has a repeated cross sectional design. Different countries…
Loop and files management with appendHi, so my files are like that : ..._paris_visites.20-10-08.csv ..._madrid_visites.20-10-08.csv ..._…
Stata cannot find my variableHi Statalist, I created a new variable, c_chol. Stata can summarize this for me so it does recogniz…
Weighted regression using iweightHello all, For my meta analysis I need to do a regression that is weighted by standard errors (SE). …
Competing risks regression and multiple imputationHello, I am analysing a longitudinal dataset and I would like to analyse the effect of several fact…
Subscribe to:
Post Comments (Atom)
0 Response to Centering an Indicator Variable
Post a Comment