全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
1296 3
2013-09-15
                                                                                                                                               

                                                   
  •                                                         Generate1000 draws from achi-squared distribution with 5 degrees of freedom.
                                                            Plot the histogram and superpose, using different colors, both the true density
                                                            and a density estimated nonparametrically using kernel density estimation 新学r语言 这道题目求解,希望大神解答 谢谢!

                                           
                               
                       
               
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2013-9-15 05:51:04
x <- rchisq(1000, 5)
hist(x, breaks = 30, freq = F)
curve(dchisq(x, 5), 0, 30, col=2, add=T)

没画kernal densitiy,是什么?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-9-15 06:40:51
核密度
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-9-15 12:51:18
复制代码
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群