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
help with foreach using 2 variable lists to generate a new variableHello all. I am trying to use foreach to generate a new variable based on multiple variables from 2 …
different count problems within variablesHi there! The forum already helped me a great deal (thx especially to Nick Cox!). However I am now …
Stata compatabilityApologies for what is probably a very basic question - am new user! I have started doing quite a lot…
Can I take log and lag on my independent variables in a regression?Hello, Please can someone answer me if it is possible to take log and lag (both at the same time) on…
Interpreting the intercept in the random-effects modelConsider the model yit = a + bXit + ci + eit Using a fixed effect model, the constant term a canno…
Subscribe to:
Post Comments (Atom)
0 Response to Help with getting percentiles
Post a Comment