Mathematics
Mathematics, 18.12.2019 00:31, Absynthe3986

Project assignment: the aim of this project is to derive and implement a computer algorithm to generate observed values (random samples) of three different random variables using the inverse transform method. the three random variables of interest are: (1) x1~uniform(θ1,θ2), (2) x2~exponential(β), and (3) x3~cauchy(θ). we have not introduced the cauchy random variable in this class but its probability density function (pdf) is given by: ) = (1/pi)(1/(1+(x-theta)^2)) on -[infinity] < x < [infinity], -[infinity] < θ < [infinity].the first part of your assignment is to derive the above procedure for the three random variables x1, x2 and x3.the second part of your assignment is to implement the method in r and provide the following results: 1. generate a random sample of size 100,000 from a uniform(-2,1). 2. generate a random sample of size 100,000 from an exponential(3). 3. generate a random sample of size 100,000 from a cauchy(2).for cases (1) and (2), report the mean and variance of your random sample, and display its histogram. compare the mean, variance and histogram obtained using your approach to those obtained via a random sample using the built-in r functions runif(1,-2,1) and rexp(1,1/3). for case (3), report the median of your random sample and compare it to the median obtained via a random sample using the built-in r function rcauchy(1,2).

answer
Answers: 2

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 18:00, ethangeibel93
What set does not contain -3 the set of all real numbers the set of all integers the set of all whole numbers the set of all rational numbers
Answers: 1
image
Mathematics, 21.06.2019 21:30, thompsonmark0616
Find the domain and range of the following function f(x) = 51x - 21+ 4
Answers: 2
image
Mathematics, 22.06.2019 01:20, genesis88
Find the axis of symmerty for x y=x squared -4x-8
Answers: 1
image
Mathematics, 22.06.2019 02:00, mahmudabiazp3ekot
Which graph correctly represents the equation  y=−4x−3? guys me iam not trying to fail summer school and will offer 40 points for who ever me with the next 3 problems and will give brainlest
Answers: 1
Do you know the correct answer?
Project assignment: the aim of this project is to derive and implement a computer algorithm to gene...

Questions in other subjects:

Konu
Mathematics, 20.05.2020 22:57
Konu
Biology, 20.05.2020 22:57
Konu
Mathematics, 20.05.2020 22:57