楼主: reduce_fat
685 17

[问答] 有关R 的编程问题,悬赏60金币 [推广有奖]

11
weapoul 发表于 2013-8-31 10:13:06
都是高人啊!

12
reduce_fat 发表于 2013-8-31 10:16:40
suzhzh 发表于 2013-8-31 09:25
#define the av;
av
有些地方不对,sd 完后应该只有一个数字的答案。这25个mean 是loop 里的,loop完了后那个 sd 只产生一个结果才对? 那个sd 需要加在loop里面吗?题目中没有让算25个 std

谢谢。 
复制粘贴积分链接 https://bbs.pinggu.org/ext8_airdrop.php?airdropfrom^^uid=2669999

13
reduce_fat 发表于 2013-8-31 11:58:43
cll9981 发表于 2013-8-31 09:21
猫如此有柴啊?
比你学问高啊。
复制粘贴积分链接 https://bbs.pinggu.org/ext8_airdrop.php?airdropfrom^^uid=2669999

14
cll9981 在职认证  发表于 2013-8-31 12:00:22
reduce_fat 发表于 2013-8-31 11:58
比你学问高啊。

15
reduce_fat 发表于 2013-8-31 12:03:56
suzhzh 发表于 2013-8-31 09:25
#define the av;
av
Store the 25 means in a vector named av. To do that, you need to define a vector of NAs of length 25, using the R command av <- rep(NA, 25), before the for loop Calculate the standard deviation of the values in av.

题目中让算的是这25个平均数的标准差,the standard deviation of the values in av 是指一个标准差。 你的方法是算25个标准差,和题目要求的不一样。不过,还是谢谢啦。已经评分奖励了。
复制粘贴积分链接 https://bbs.pinggu.org/ext8_airdrop.php?airdropfrom^^uid=2669999

16
reduce_fat 发表于 2013-8-31 12:11:56
cll9981 发表于 2013-8-31 12:00
我表妹在你大学里读金融。 你在大学里做什么工作?不会是混时间吧?
复制粘贴积分链接 https://bbs.pinggu.org/ext8_airdrop.php?airdropfrom^^uid=2669999

17
cll9981 在职认证  发表于 2013-8-31 12:13:56
reduce_fat 发表于 2013-8-31 12:11
我表妹在你大学里读金融。 你在大学里做什么工作?不会是混时间吧?

18
xiaodao99 发表于 2013-9-1 07:37:29
不懂,帮顶

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-31 05:15