Problem 1: 1- Plot the p.d.f of Gamma(2, 2) and Gamma(3, 2) in the same plot. 2- Generate 1000 numbers from X~ Gamma(2, 2), and 1000 numbers from Y Gamma(3, 2). 3- Calculate W X+Y and plot the histogram of W. %3D

Calculus For The Life Sciences
2nd Edition
ISBN:9780321964038
Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Chapter1: Functions
Section1.2: The Least Square Line
Problem 8E
icon
Related questions
Question
Rstudio
Problem 1:
1- Plot the p.d.f of Gamma (2, 2) and Gamma(3, 2) in the same plot.
2- Generate 1000 numbers from X~ Gamma(2, 2), and 1000 numbers from Y~
3- Calculate W =
Xy, and plot the histogram of W.
X+Y¹
4- Compute the mean, the variance and the quartiles of Z.
6- Determine the distribution of W.
Gamma (3,2).
Transcribed Image Text:Problem 1: 1- Plot the p.d.f of Gamma (2, 2) and Gamma(3, 2) in the same plot. 2- Generate 1000 numbers from X~ Gamma(2, 2), and 1000 numbers from Y~ 3- Calculate W = Xy, and plot the histogram of W. X+Y¹ 4- Compute the mean, the variance and the quartiles of Z. 6- Determine the distribution of W. Gamma (3,2).
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Recommended textbooks for you
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Linear Algebra: A Modern Introduction
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage