Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Apply Bayes Theorem repeatedly in a simulation of two analysts trying to estimate whether we are in a bull or bear market. We know we

Apply Bayes Theorem repeatedly in a simulation of two analysts trying to estimate whether we are in a bull or bear market. We know we are in a bull market because we are running the simulation with a weighted coin P(H) = 0.4, P(T) = 0.6. The "evidence" will be whether the market went up or down today, Each of the analysts will update their prior with "bull" if they flip a tail, and update their prior with "bear" if they flip heads. Make one analyst the pessimist with a 10% chance of bull market to start their prior estimate. Make the other analyst the optimist with a 90% chance of a bull market to start their prior estimate. Each day the analysts will each update their estimate whether they think we are in a bull or bear market using Bayes Theorem. Simulate the two analysts over time and see if they converge on an

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Climate Mathematics Theory And Applications

Authors: Samuel S P Shen, Richard C J Somerville

1st Edition

1108750184, 9781108750189

More Books

Students also viewed these Mathematics questions

Question

How can positive self-talk help you change a bad habit?

Answered: 1 week ago