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
data merge: r(459);Hi, I have two panel data-set and what to merge the two data set. I use the following code but I rec…
Joint significance test reporting in Outreg2Hello, I am running a regression with several groups of dummies and I need to perform the joint sig…
Difference-in-difference on matched data with binary outcome variableI have a balanced data with three waves. I want to measure the impact of participation on a binary o…
Difference-in-difference on matched data with binary outcome variableDear Statalisters, I have a balanced data with three waves. I want to measure the impact of partici…
Dropping duplicates based on two variables (id & year) with condition Code: +--------------------------------------------------------+ | year id …
Subscribe to:
Post Comments (Atom)
0 Response to Centering an Indicator Variable
Post a Comment