• Home
  • Blog
  • Computational Statistics with applications in R code on R Studio. Need code and output for the problem that need so.

Computational Statistics with applications in R code on R Studio. Need code and output for the problem that need so.

0 comments

Computation Statistics with application in R code in R Studio. Need code and output for problems that need it.

1.

ONLY DO PART B

Exercise 2.6(b) in the Givens & Hoeting book (instead of Newton-Raphson you can use the quasi-Newton method BFGS in the R function “optim”, or the Nelder-Mead method).

HUbxM59 EacjYISdQ GY TaLAkURtlLsHOSmogwnSi1TsEMmJIIKN3oEJ foptaG SA XDur YUP7M7o KVDAJCniWvWgljaJNZW9anmKNqmKEodvJo5M79DUJtcToNwancIZeTl

2.

  • ONLY DO PARTS A D F

Assume the state of the weather in Sydney on any particular day can be modelled using a state space S = {1 ≡ sunny, 2 ≡ overcast, 3 ≡ wet}. Also assume that the likelihood of any state depends only on the state on the previous day. A sunny day is followed by a sunny day 60% of the time and otherwise it is overcast. An overcast day is equally likely to be followed by either a sunny or a wet day. 20% of days after a wet day are also wet, but 20% are sunny. (a). Write down the transition probability matrix for this Markov chain. (b). Draw the state transition diagram for this chain and check if it is irreducible or reducible. If reducible, identify the equivalence classes. (c). If it is sunny all weekend, calculate the probability it is also sunny on Monday. (d). Calculate the probability that a Monday is wet if the previous Monday was wet. (e). Calculate the probability that Wednesday through Friday are all sunny, if the previous Sunday was sunny. (f). Write down the equilibrium equations and, if possible, solve for the equilibrium distribution both algebraically and using R.

3.

3A6QvA0NI86sk7nVanDBxiTNf5 hlesdUT0p 5tJiCPjsdmpLyww9cM 1L0gqB 5z1UzBl6WwuXPZP09D tf5 UW2FHI64IADrBTkuh2OCuY3MF4T GSzK9WX8ETlYE3y8ym2hQ

4.

S urecl9MX pQ6iOT90csRdk2P0h ehPTGe4nPMI7z7qBJkhchb9hSfSBDOvl5WcAoUsSVgzrDieBeq7wEkqElDYt7U3 XBNoHTidK53a9OmdbApSv9 hcoiwKuJOk0DdYAcvW5g

5.

M CihrAVziC6TrZIMLd21NhUTV5zA0vJScZhZSQAfztvQnlZEcnwn0Z4LvmnTOrUbo39RMyyXD0mw8Iio8TinwGlBOGuMoqIhp R7jR4slrgf9vCG J 1ZmZiZ5EMPKD5M4qKJmz

jHLSe3FqyhoDwDu0bBol0Zf vog7vBOrd6ZCOxXUd9Nf9 1337XzkirShTUg0PibJg6KlYQCfSBvRaMHV3HVX7npZlcGHOP8OAcKZf7ES4sq

nnbo vm51pAKthENUxIWI0qm 4gt7E3It8SipN8jqk VX MdFVlSoluxf75lNZs KQezPzBJ6Lsws21Jxdp NMaWWhpYxuvLeNU2Ukcgd4dO8Ndv Rvp5zDAZWPOzF7IrzoteRb1

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}