Dear members
I have 2 very quick questions.
First: I need to winsorize a variable further ONLY on the right side. I think this is done by including 'highonly' in STATA. However it does not seem to work. To be more clear I need to winsorize a winsorized variable again on the right side only.
The formula I use is as follows: -winsor winsorized_variable, gen(win_var_right) p(0.05) highonly
What am I doing wrong? I get the exact same result with win_var_right as in winsorized_variable.
Second: I need to be dealing with an interaction effect as well. I know that I just have to multiply 2 variables. One of these variables is a winsorized one. Do I just multiply the winsorized one & a non-winsorized variable together? It does make sense however I'm not exactly sure.
Related Posts with Quick question: winsor right only & interaction
Truncating long variable namesHi, Some of the variables in my dataset are too long, and trying to rename them returns an error mes…
Multiple interaction terms in panel data modelDear Statalist, First post here! I am working with a panel of exports from Spain to 170 countries.…
Code for counting ID within a variableHi all, I have a variable inc_chng which calculates the changes in the income variable from year to…
combining "by" and loopsDear stata members, Is there any way to run loops over OBSERVATIONS, not variables, together with …
npss: a STATA module to estimate nonparametric heteroskedastic state space modelsnpss: a STATA module to estimate nonparametric heteroskedastic state space models is now available i…
Subscribe to:
Post Comments (Atom)
0 Response to Quick question: winsor right only & interaction
Post a Comment