subject
Mathematics, 14.02.2020 18:28 keke6361

Use the rejection sampling method to generate a random sample of size 1000 from the standard normal distribution. Use a standard Cauchy distribution as a proposal distribution g(y). You can generate a random sample from the standard Cauchy distribution using rcauchy(). Moreover, you can calculate normal density and Cauchy density using dnorm() and dcauchy() respectively. Choose c such that f(y) cg(y) and report your choice of c.

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 14:50
Which function has the same domain as y=2x
Answers: 1
question
Mathematics, 21.06.2019 18:00
What is the solution of log2  (3x  -  7)  =  3? 4 5
Answers: 1
question
Mathematics, 21.06.2019 18:30
Astick 2 m long is placed vertically at point b. the top of the stick is in line with the top of a tree as seen from point a, which is 3 m from the stick and 30 m from the tree. how tall is the tree?
Answers: 2
question
Mathematics, 21.06.2019 19:00
Jack did 3/5 of all problems on his weekend homework before sunday. on sunday he solved 1/3 of what was left and the last 4 problems. how many problems were assigned for the weekend?
Answers: 3
You know the right answer?
Use the rejection sampling method to generate a random sample of size 1000 from the standard normal...
Questions
question
Mathematics, 18.03.2021 01:40
question
Mathematics, 18.03.2021 01:40
question
Mathematics, 18.03.2021 01:40
question
Mathematics, 18.03.2021 01:40
Questions on the website: 13722367