Distribution of Random variables
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Sasi
2023-11-11
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?
回答(1 个)
Walter Roberson
2017-11-24
n = 2000;
histogram( sum(rand(1000, n)), n/10 )
What do you observe?
2 个评论
Walter Roberson
2017-11-24
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"
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Random Number Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!