subject
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).

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 20:00
Write the point-slope form of the line passing through (2, -12) and parallel to y=3x.
Answers: 3
question
Mathematics, 21.06.2019 21:30
Hey hotel charges guests $19.75 a day to rent five video games at this rate which expression can be used to determine the charge for renting nine video games for one day at this hotel? pls
Answers: 1
question
Mathematics, 22.06.2019 02:00
Ineed on the last 8 questions for this homework i’m trying to get all this done by tuesday when i got to my level 5 teacher if i have passed my tabe
Answers: 1
question
Mathematics, 22.06.2019 02:30
The volume of a spherical hot air balloon v(r) = 4 3 ? r3 changes as its radius changes. the radius is a function of time given by r(t) = 3t. find the instantaneous rate of change of the volume with respect to t at t = 2.
Answers: 3
You know the right answer?
Project assignment: the aim of this project is to derive and implement a computer algorithm to gene...
Questions
question
Mathematics, 09.04.2021 22:10
question
Mathematics, 09.04.2021 22:10
question
History, 09.04.2021 22:10
question
Mathematics, 09.04.2021 22:10
question
Mathematics, 09.04.2021 22:10
question
Mathematics, 09.04.2021 22:10
Questions on the website: 13722363