Bayesian stats: how to update probability?

In summary, the conversation discusses the use of Bayesian methods to predict future datapoints, using a normal probability distribution with a mean value of 1.25 and standard deviation of 3.67. The maximum probability for a datapoint of 1.30 is calculated, but it is noted that this may underestimate the value at n. The speaker also mentions the incorporation of previous datapoints and the need for a specific probability model in order to provide an accurate prediction.
  • #1
ireland01
17
0
I am trying to use Bayesian methods (Bayes rule) to predict further datapoints (at point n,n+1,n+2 etc..)...

I begin by generating a normal pdf using previous 75 datapoints (prior: n-75 to n-1) with mean value, μ: 1.25 and standard deviation, δ: 3.67.

Note: previous datapoints range from -5 to +5 in value.

I calculate the maximum probabilty of 0.11 for datapoint = 1.30.

Using this will underestimate (predict) the value at n.

I now want to incorporate (into the probability) the fact that I know my previous two datapoints (n-2 to n-1) showed increase towards +ve...
 
Physics news on Phys.org
  • #2
You can give your datapoints nearby a higher weight - there are many ways to do this, depending on the type of correlation between the points you expect.
 
  • #3
ireland01 said:
I am trying to use Bayesian methods (Bayes rule) to predict further datapoints (at point n,n+1,n+2 etc..)...

.

You'll have to explain what probability model you are using and what prior distributions you are using before anyone can give you an answer. A Bayesian method has to be more than the willingness to update estimates. You must also be willing to assume a specific probability model and specific priors.

If this is a real world problem, describe it and someone might suggest a probability model.
 
  • #4
The probability that your datapoint = 1.3 is zero.
This seems like a very strange thing to do. Are your data dependent in some way? If you're just sampling from a normal distributions, then your previous samples are irrelevant. Calculate your probability directly from the normal pdf.
 
  • #5


Bayesian statistics is a powerful approach to updating probability based on new information. In this case, you are using Bayes rule to predict future datapoints based on previous data. The first step in this process is to generate a normal probability distribution using the previous 75 datapoints as a prior. This distribution has a mean of 1.25 and a standard deviation of 3.67. This gives you a starting point for predicting future datapoints.

However, you have noticed that using this prior alone may underestimate the value at n. To incorporate the fact that the previous two datapoints showed an increase towards a positive value, you can update your probability using Bayes rule. This will allow you to incorporate new information and adjust your prediction accordingly.

Bayesian statistics also allows for the use of prior knowledge and beliefs in the form of prior distributions. This can be helpful in situations where there is limited data available, as it allows you to incorporate existing knowledge into your analysis.

Overall, using Bayesian methods to update probability can provide more accurate predictions by incorporating new information and prior knowledge. It is a valuable tool for scientists in making informed decisions and predictions based on data.
 

Related to Bayesian stats: how to update probability?

1. What is Bayesian statistics?

Bayesian statistics is a method of statistical analysis that uses prior knowledge and data to update the probability of a hypothesis being true. It is based on Bayes' theorem, which involves calculating the probability of an event based on prior knowledge and new evidence.

2. How is Bayesian statistics different from traditional statistics?

Traditional statistics uses fixed values for parameters, whereas Bayesian statistics treats these parameters as random variables and updates their probability based on new evidence. Bayesian statistics also allows for the incorporation of prior knowledge, whereas traditional statistics does not.

3. How do you update probability using Bayesian statistics?

In Bayesian statistics, you update probability by using Bayes' theorem. This involves multiplying the prior probability by the likelihood of the data, and then dividing by the probability of the data occurring without the hypothesis being true. This updated probability then becomes the new prior for the next iteration.

4. What are the advantages of using Bayesian statistics?

One advantage of using Bayesian statistics is that it allows for the incorporation of prior knowledge, which can improve the accuracy of the results. It also allows for the updating of probabilities as new evidence is collected, making it a more dynamic and flexible approach compared to traditional statistics.

5. What are some common applications of Bayesian statistics?

Bayesian statistics has many applications, including in medical research, finance, and machine learning. It is particularly useful in situations where prior knowledge or expert opinions can be incorporated into the analysis, and when there is a need for continuous updating of probabilities based on new evidence.

Similar threads

  • Sticky
  • Set Theory, Logic, Probability, Statistics
Replies
13
Views
4K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
637
  • Programming and Computer Science
Replies
2
Views
858
Replies
1
Views
1K
Back
Top