找回密码
 立即注册
查看: 2237|回复: 0

有偿求助,R语言统计计算问题

[复制链接]
发表于 2015-6-30 11:15:12 | 显示全部楼层 |阅读模式
The random variables X and Y are independent and identically distributed with normal mixture
distributions. The components of the mixture have N(0; 1) and N(3; 2) distributions with mixing
probabilities p1 and p2 = 1−p1 respectively.
1. Generate a bivariate random sample from the joint distribution of (X; Y ) and construct a contour
plot. Adjust the levels of the contours so that the the contours of the second mode are visible.
2. Construct a filled contour plot of the bivariate mixture distribution.
3. Construct a surface plot of the bivariate mixture distribution.
4. Repeat Exercise (1) for various different choices of the parameters of the mixture model, and
compare the distributions through contour plots.

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|R语言中文网

GMT+8, 2024-11-25 22:42 , Processed in 0.035276 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表