Azzera filtri
Azzera filtri

Distribution of Random variables

2 visualizzazioni (ultimi 30 giorni)
Chung Di
Chung Di il 23 Nov 2017
Commentato: Dyuman Joshi il 13 Nov 2023
I am trying distribution of a random variable X=Y1+Y2+……+Yn where Y1,Y2…,Yn are i.i.d. uniformly distributed random variables? What can you conclude from the resulting PDF?
  2 Commenti
Sasi
Sasi il 11 Nov 2023
Consider the random variables 𝑌1 = 𝑋1 and 𝑌2 = 𝑋1 + 𝑋2 in answering the following: 7.1 If 𝑋1 and 𝑋2 are uniform random variables, plot the scatter diagram of 𝑌2 vs. 𝑌1 using MATLAB. What do you notice?
Dyuman Joshi
Dyuman Joshi il 13 Nov 2023
@Sasi what have you tried yet?
See Walter's answer below for a hint.

Accedi per commentare.

Risposte (1)

Walter Roberson
Walter Roberson il 24 Nov 2017
n = 2000;
histogram( sum(rand(1000, n)), n/10 )
What do you observe?
  2 Commenti
Chung Di
Chung Di il 24 Nov 2017
That's the thing I am confused. I already done the coding. Actually I do not understand this part: What can you conclude from the resulting PDF?
Walter Roberson
Walter Roberson il 24 Nov 2017
If you
histogram(sum(rand(5000,2000)),200)
then what distribution does the shape look like? Here, the 5000 is the number of variables being added together.
Hint: "central limit"

Accedi per commentare.

Categorie

Scopri di più su Random Number Generation in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by