楼主: wowwork202
1365 3

[问答] r语言问题求解 [推广有奖]

  • 0关注
  • 0粉丝

大专生

20%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
252 点
帖子
25
精华
0
在线时间
39 小时
注册时间
2013-9-5
最后登录
2017-7-21

楼主
wowwork202 发表于 2013-9-15 05:24:55 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
                                                                                                                                               

                                                   
  •                                                         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语言 这道题目求解,希望大神解答 谢谢!

                                           
                               
                       
               
二维码

扫码加我 拉你入群

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

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

关键词:R语言问题 问题求解 R语言 parametrical distribution different freedom

沙发
ntsean 发表于 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,是什么?

藤椅
wowwork202 发表于 2013-9-15 06:40:51
核密度

板凳
童小军 发表于 2013-9-15 12:51:18
  1. x <- rchisq(1000, 5)
  2. hist(x, breaks = 30, freq = F)
  3. curve(dchisq(x, 5), 0, 30, col=2, add=T)
  4. lines(density(x), col = "blue")
复制代码

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-2-15 20:04