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
How to generate a new variable based on conditions for values of two other variablesHello! I have the following dataset and I'm trying to create a new var X which should have the same …
Accessing function output that's displayed but not storedHi, I would like to store some of the output of the adjrr command in macros. The output is displayed…
Quick question on xtregHello. I quite new to using Stata. I am doing a regression with fixed effect and I was told to write…
cummulative changeArray Dear listers, I would like to apologize if my question is too naive. I am using Stata 15. I w…
How to remove the invisible space in the tail of a string in Stata?Hello, I have a small dataset below, clear input str80 No str90 Project "F-000508" "Hermann Park " "…
Subscribe to:
Post Comments (Atom)
0 Response to Quick question: winsor right only & interaction
Post a Comment