Hello everyone,
I have an unbalanced panel data at subnational level based on survey years which differ from one country to another. In my analysis I have interactions terms between some variables which I need to center. Therefore, when centering these variables, it is correct to take out the mean of all values for all years from each value? Or it is necessary to compute the mean for all values, but for each different year.
Thanking you in advance.
Best wishes,
Stefan Bradeanu
Related Posts with Centering variables in panel data
Hospital beds within distance (geonear)Dear Statalist, I have a dataset with patient IDs and lat/lon data about their residence postal code…
How to automate dummy variable adjustment for missing data?I run a fixed effects panel regression on survey data with missing values at my regressors (and DV).…
Compare coefficients after reg3This might be something simple, but I cannot wrap my head around it. I am trying to compare coeffici…
Reshape problemHi! I want to reshape my data wide to long, but state says that there is a problem. It days there ar…
What exists in e(first) at what position after ivreg2 ?After ivreg2, e(first) can be used. Then, I want to use Code: [#,#] right after the saved e(first) …
Subscribe to:
Post Comments (Atom)
0 Response to Centering variables in panel data
Post a Comment