Posterior distribution question Pixie's question from Yahoo Answers

  • MHB
  • Thread starter CaptainBlack
  • Start date
  • Tags
    Distribution
In summary, Pixie asked a question on Yahoo Answers about posterior distribution and how it relates to Bayesian statistics. She wanted to know if posterior distribution could be used to calculate probabilities for future events based on past data. The answer provided by experts explained that posterior distribution is a key concept in Bayesian analysis, as it represents the updated belief in a hypothesis after considering new information. The experts also clarified that while posterior distribution can be used to predict future events, it is not the only factor to consider and should be used in conjunction with other methods.
  • #1
CaptainBlack
807
0
Reposted from Yahoo Answers:

Suppose that Yi is the result of a Bernoulli trial, with probability alpha of success (Yi=1).

If we assign a Unif(0,1) prior distribution to alpha, find the posterior distribution of alpha after the observations:
(a) 1
(b) 0, 1, 1, 0, 0

Thank you so much if you can help! :)
 
Physics news on Phys.org
  • #2
CaptainBlack said:
Reposted from Yahoo Answers:

Suppose that Yi is the result of a Bernoulli trial, with probability alpha of success (Yi=1).

If we assign a Unif(0,1) prior distribution to alpha, find the posterior distribution of alpha after the observations:
(a) 1
(b) 0, 1, 1, 0, 0

Thank you so much if you can help! :)

From Bayes' theorem we have:\[P(\alpha|data) = \frac{P(data|\alpha)P(\alpha)}{P(data)}\]

For case (a) we have one success in one trial with prob of success \(\alpha\) so:

\(P(data|\alpha)=\alpha \)

\(P(\alpha)=1\) (since the prior for alpha is \(U(0,1)\) its density is \(1\) for \(\alpha\) in \([0,1]\) and zero elswhere)

\( \displaystyle P(data) = \int_{\alpha=0}^1 P(data|\alpha)P(\alpha)\; d \alpha =\int_{\alpha=0}^1 \alpha \; d \alpha =\Bigl[ \alpha^2/2 \Bigr]_0^1=\frac{1}{2} \)

and so:
\[ P(\alpha|data)=2 \alpha\]For case (b) we have 2 successes in 5 trials so:

\( \displaystyle P(data|\alpha)= b(2;5,\alpha)= \frac{5!}{2!\;3! }\alpha^2 (1-\alpha)^3 \)

CB
 

Related to Posterior distribution question Pixie's question from Yahoo Answers

1. What is a posterior distribution?

A posterior distribution is a probability distribution that represents the uncertainty of a parameter or variable after taking into account prior knowledge and new information from data. It is often used in Bayesian statistics to update beliefs about a parameter or variable based on observed data.

2. How is a posterior distribution different from a prior distribution?

A prior distribution represents the initial beliefs or assumptions about a parameter or variable before any new data is collected. The posterior distribution takes into account both the prior distribution and new data, and therefore reflects updated beliefs or knowledge about the parameter or variable.

3. What is the importance of posterior distribution in statistical analysis?

The posterior distribution allows for a more accurate and informative representation of uncertainty in statistical analysis. It takes into account both prior beliefs and new data, providing a more complete understanding of the underlying distribution of a parameter or variable.

4. How is a posterior distribution calculated?

The posterior distribution is calculated using Bayes' theorem, which involves multiplying the prior distribution by the likelihood function (which represents the probability of the observed data given the parameter or variable). This is then normalized to ensure the resulting distribution is a valid probability distribution.

5. Can a posterior distribution be used to make predictions?

Yes, a posterior distribution can be used to make predictions by simulating values from the distribution. These simulated values can then be used to estimate the probability of certain outcomes or to generate a range of possible values for a parameter or variable.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
982
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
9
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
14
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
894
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
968
  • Set Theory, Logic, Probability, Statistics
Replies
0
Views
1K
Back
Top