Hi all,
My problem is the following: I have a sheet with product categories, and each category has its respective prices for each month.
I want to clean the database by removing outliers, and the criteria that I thought was to drop the highest 1% and lowest 1% of the prices for each categories. This is equivalent to finding the 1% and 99% percentiles for each price distribution and dropping what is above and below them.
I tried cumul, pctile and centile functions but with no success, so I would really appreciate if someone can help. Thanks in advance!
Related Posts with Help with getting percentiles
Destring dates turns no resultHello I am trying to destring a number of daily dates using Code: gen time= date(days, "DMY") form…
Collapse to the meanHello, A very trivial question. I would like to collapse to the mean by converting the daily date to…
Filling in missing Data in time-series using interpolationI have a database on Size and Return for every day in a year. It looks like this: Day Return Size 1…
Wald test for logistic regression - measuring whether a=bHi, I'm running logistic regressions. I'd like to know whether dependent variable a is (statistical…
stcox and stcrregHi guys: I have a question regarding stcox and stcrreg. i try to find how does the independent varia…
Subscribe to:
Post Comments (Atom)
0 Response to Help with getting percentiles
Post a Comment