DOC PREVIEW
Brandeis MATH 56A - MATH 56A: STOCHASTIC PROCESSES QUIZ

This preview shows page 1 out of 3 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Math 56a, Practice Quiz IMATH 56A: STOCHASTIC PROCESSESQUIZFrom the syllabus: Quizzes will be given [every] 2 or 3 weeks. Students registered in theclass should form groups of 2, 3 or 4 to work on these problems in class, solve them andhelp other students in the group to understand them. Students auditing the class can alsoparticipate in a way that I will discuss in class. Each group should hand in their answerssigned by all members of the group. There is a special rule for Quiz 2. You cannot form thesame groups as in Quiz 1. You must form a new group for Quiz 2. Afterwards there are norules, except that the group is limited to at most 4.Math 56a, Practice Quiz IHere are my answers. If I have comments after grading the practice quiz, I will postanother blurb.1. Convert the following second order difference equation into a first order matrix equation(including the initial conditions). Don’t solve it.f(n) = 2f(n − 1) + 3f(n − 2), f(0) = 5, f(1) = 6.First letg(n) := f (n − 1).Then the original equation becomes:f(n) = 2f(n − 1) + 3g(n − 1)In matrix form these two equations become:f(n)g(n)=2 31 0f(n − 1)g(n − 1)Which you can also write as:Xn= AXn−1, A =2 31 0The initial condition is:X0=56.2. Find the invariant probability distribution forP =1/2 1/2 00 1/2 1/20 1/4 3/41The answer is the normalized left null vector of P − I (or I − P ):P − I =−1/2 1/2 00 −1/2 1/20 1/4 −1/4This calculation is easy. You don’t need to column reduce the matrix. But, in case you did,you should have gotten:1 0 00 1 00 −1/2 0with null vector (0, 1, 2) which normalizes toπ = (0, 1/3, 2/3).Since there is only one recurrent class R1= {2, 3}, there is only one invariant distribution.(The invariant distribution π is unique.)3. Make a Markov chain model for the following problem.Every morning you get up and think about loosing weight. You want to skip some meals.Half the time you skip breakfast and go to class hungry. Half the time you get breakfast.When you go to breakfast, you often (with probability 0.6 meet someone and make plansfor dinner). You always skip lunch. If you skipped breakfast, you always go for dinner. Ifyou ate breakfast and didn’t make plans for dinner, then you skip dinner. If you made planswith someone, then you don’t forget and you go for dinner. If you eat twice, then the nextday, you skip breakfast. Otherwise, you follow the same plan the next day.What are the states? What is the transition matrix? What is the initial probabilitydistribution?Here are three answers:Answer 1 is based on your state at the beginning of your meals:You have 5 states: B0, B1, D0, D1, D2:B0means you skipped breakfast.B1means you go to eat breakfast.D0means you skip dinner.D1: You eat dinner alone.D2: You eat dinner with a friend.The transition matrix is:P =0 0 0 1 00 0 0.4 0 0.60.5 0.5 0 0 00.5 0.5 0 0 01 0 0 0 0and the initial distribution isα = (1/2, 1/2, 0, 0, 0)Answer 2 is based on your state at the end of your meal:B0: You skipped breakfast.B1: You ate breakfast but did not make a dinner date.B2: You ate breakfast and made plans for dinner.D0: You skipped dinner.D1: You ate dinner but that was your only meal.D2: You ate dinner and that was your second meal.P =0 0 0 0 1 00 0 0 1 0 00 0 0 0 0 1.5 .2 .3 0 0 0.5 .2 .3 0 0 01 0 0 0 0 0α = (.5, .2, .3, 0, 0, 0).Answer 3 : Think about the whole day. There are only 3 possibilities:D: You skipped breakfast and ate dinner.B: You ate breakfast and skipped dinner.A: You ate breakfast and dinner.P =.5 .2 .3.5 .2 .31 0 0α = (.5, .2, .3).My opinion is that Answer 1 is the best (among these three). The reason is that theentries in the matrix P and α contain the raw data. Answers 2 and 3 are partially processeddata since they contain the numbers (1/2)(0.4) = 0.2 and (1/2)(0.6) = 0.3 indicating thattwo transitions have been compressed into one transition.I think it is better to avoid calculations in the word-to-equation process: Leave the cal-culations to your


View Full Document

Brandeis MATH 56A - MATH 56A: STOCHASTIC PROCESSES QUIZ

Documents in this Course
Load more
Download MATH 56A: STOCHASTIC PROCESSES QUIZ
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view MATH 56A: STOCHASTIC PROCESSES QUIZ and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view MATH 56A: STOCHASTIC PROCESSES QUIZ 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?