求教计算return和cumulative daily return分别用arithmetic, log return and BHR 2 个回复 - 9167 次查看
题目是这样的Suppose that the company that does well has
1)10 times as many shares on issue as the companythat does badlly
2)one-tenth of the number of shares on issue asthe company that does badly
...2015-3-15 15:29 - 菲嫣 - 爱问频道
求教计算return和cumulative daily return分别用arithmetic, log return and BHR 1 个回复 - 2584 次查看
题目是这样的
Suppose that the company that does well has
1)10 times as many shares on issue as the company that does badlly
2)one-tenth of the number of shares on issue as the company that does ba ...2015-3-15 09:03 - 菲嫣 - 金融学(理论版)
求解答 argument is not numeric or logical: returning NA 3 个回复 - 14554 次查看
data = read.table("clipboard", header = T, sep = '\t')
data
is.data.frame(data)#显示为TRUE
sapply(data,mean,na.rm=T)#报错 >
mean(当日销售,na.rm=T)
[1] NA
Warning message:
In mean.default(当日 ...2014-9-9 11:04 - 李书槿 - R语言论坛