| 所在主题: | |
| 文件名: GDP P chain volume flat.rar | |
| 资料下载链接地址: https://bbs.pinggu.org/a-1305157.html | |
本附件包括:
|
|
| 附件大小: | |
|
俺是R语言白叮请帮忙解释下面一段R程序,比如:哪些变量,关系,每个命令和参数的含义,语句的含义和结果等等。越详细越好。。对解释最佳者,给予300论坛币略表心意。
另外,附上相关数据供参考。。 ------------------------------------------------------------------------------ gdp <- read.csv("GDP P chain volume flat.csv", na.strings="..", check.names=TRUE) # Create shades of colors between blue and red for labels shades <- colorRampPalette(c("blue", "red"))(nrow(gdp)) # Exploration of wholesale and retail trade - extract trend series wholesale.d <- decompose(ts(gdp$Wholesale.Trade, frequency=4, start=c(1987,2)), type="multiplicative") wholesale <- wholesale.d$trend retail.d <- decompose(ts(gdp$Retail.Trade, frequency=4, start=c(1987,2)), type="multiplicative") retail <- retail.d$trend # Exploratory plot 1 plot(wholesale,retail, bty="l") # Exploratory plot 2 plot(cbind(wholesale,retail), bty="l") # Main plot library(MASS) eqscplot(diff(wholesale), diff(retail), bty="l", cex=.5, col=c("grey60", shades), xlab="Growth since last quarter in wholesale contribution to GDP, $m", ylab="Growth since last quarter in retail contribution to GDP, $m") grid(col="grey90", lty=1) # Draw diagonal line showing when the two variables are equal abline(0,1) # Draw line showing regression abline(lm(diff(retail) ~ diff(wholesale), na.action="na.omit"), lty=2) |
|
熟悉论坛请点击新手指南
|
|
| 下载说明 | |
|
1、论坛支持迅雷和网际快车等p2p多线程软件下载,请在上面选择下载通道单击右健下载即可。 2、论坛会定期自动批量更新下载地址,所以请不要浪费时间盗链论坛资源,盗链地址会很快失效。 3、本站为非盈利性质的学术交流网站,鼓励和保护原创作品,拒绝未经版权人许可的上传行为。本站如接到版权人发出的合格侵权通知,将积极的采取必要措施;同时,本站也将在技术手段和能力范围内,履行版权保护的注意义务。 (如有侵权,欢迎举报) |
|
京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明