Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Estimating the value of a variable using it´s probability distribution

    Hi, all!

    I have one question regarding Stata and the estimation of an unknown variable.

    Is there any way of estimating the value of a variable in Stata when you know it´s probability distribution?
    In this case I have a variable which is distributed on the interval (1, 2), with a 25% probability of 2, and uniformly distributed otherwise.

    Thanks!

  • #2
    Cross-posted at http://stats.stackexchange.com/quest...ow-its-probabi

    Please respect requests given in the FAQ Advice you were asked to read before posting:

    1. Using full real names here. "Chris Dawker" given on CV is more plausible than "Stat Analysis" given here. http://www.statalist.org/forums/help#realnames

    2. Telling us about cross-posting. http://www.statalist.org/forums/help#crossposting

    Otherwise I'd call this a prediction problem and wonder about using the mean of the distribution

    Code:
    . di 0.75 * 1.5 + 0.25 * 2
    1.625

    Comment

    Working...
    X