Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Over a 30 day (one month) period, Doug charts how often he is happy and sad. If Doug is happy one day, the probability he
Over a 30 day (one month) period, Doug charts how often he is happy and sad.
If Doug is happy one day, the probability he will be happy the next day is 0.7, and the probability he would be sad the next day is 0.4. Day 0, aka the day before the first day of the month, he is happy. Run a simulation in R to find the probability of Doug having more sad days than happy days over the course of the 30 day period.
help with simulating in R!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started