[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: RE: finding a value from a distribution based on percentile
The real situation I am facing is: I have a variable y
which has certain values missing, I would like to
impute the missing values based on a predicted
percentil. So the x variable contains a percentile
that I will use to forecast the y variables for those
How can I assign a value for those missing y(s) based
on the perceniles from x?
In this example, I guess the y value corresponding to
x=0.5 is 200 and for x=0.1 is 100. Note I am using
the distribution of y only for those observed.
--- Patrick Wöhrle Guimarães <firstname.lastname@example.org>
> I think that Shuaizhang would like to calculate
> centile using
> another command that - centile (maybe He has a
> complex design or other
> kind of dataset) - "I know you can calculate the
> percentiles for y
> using "centile", but how do you go the other way?".
> I always use
> centile and I didnt replay because I didnt think
> other way to do this.
> Could you explain better Shuaizhang?
> * For searches and help try:
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
* For searches and help try: