Good morning
I tried to find an answer to my (apparently) easy question on the forum, but probably it is so easy that nobody else asked for that in the past...
Forgive me.
Anyway, I have a dataset with a lot of potential outliers; I managed that issue winsorizing, but a referee asked me to show the results convenienttly "trimming" the dataset instead of winsorizing.
I did it manually, but I'd like to use a routine for several reasons.
What I really need is something that gives me (for a long list of variables) new variables where only the values between the 5th and the 95th percentile have the original values, while the other observations are transformed into missing values.
I am using STATA11
Thanks a lot for any suggestions
Simone
Related Posts with Percentiles and data trimming
Counting and categorizing the number of adults in the household using survey dataGood day, I am interested in counting and categorizing the number of adults in the household into t…
Interpretation of a Relative Risk Ratio in the case of a continuous variable (in log)?Hello everyone I am conducting a mlogit regression with three possible outcomes (the first one bei…
An empirical question of multilevel models; and how to buid a graph like this one in StataDear Statalist, I am using Stata 15.1 and I am estimating a three level model (time nested in firms…
Chi-square-Tests: adjusted residuals vs. standardized residualsDear Statalisters, I performed a Chi-square test (see code below), which was not significant with m…
xtgraphGood morning, I use this command. I would like to ask you how can I chiange the colours of the line…
Subscribe to:
Post Comments (Atom)
0 Response to Percentiles and data trimming
Post a Comment