楼主: zbwang729
2293 4

Using the R Environment for Statistical Computing [推广有奖]

  • 0关注
  • 0粉丝

硕士生

40%

还不是VIP/贵宾

-

威望
0
论坛币
541 个
通用积分
30.4914
学术水平
11 点
热心指数
11 点
信用等级
6 点
经验
2154 点
帖子
136
精华
0
在线时间
159 小时
注册时间
2008-10-17
最后登录
2023-3-6

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
Using the R Environment for Statistical Computing An example with the Mercer & Hall wheat yield dataset

Contents
1 Introduction 1
2 R basics 1
2.1 Leaving R . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Loading and examining a data set 7
3.1 Reading a CSV file into an R object . . . . . . . . . . . . . . . 7
3.2 Examining a dataset . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3 Saving a dataset in R format . . . . . . . . . . . . . . . . . . . 11
3.4 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4 Exploratory graphics 12
4.1 Univariate exploratory graphics . . . . . . . . . . . . . . . . . . 13
4.1.1 Enhancing the histogram* . . . . . . . . . . . . . . . . . 14
4.1.2 Kernel density* . . . . . . . . . . . . . . . . . . . . . . . 15
4.1.3 Another histogram enhancement: colour-coding rela-
tive frequency* . . . . . . . . . . . . . . . . . . . . . . . 17
4.2 Bivariate exploratory graphics . . . . . . . . . . . . . . . . . . . 18
4.3 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5 Descriptive statistics 22
5.1 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6 Editing a data frame 25
6.1 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7 Introduction to modelling 27
8 Univariate modelling 27
8.1 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
9 Bivariate modelling: continuous variables 33
9.1 Correlation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
9.2 Univariate linear regression . . . . . . . . . . . . . . . . . . . . 40
9.2.1 Fitting a regression line . . . . . . . . . . . . . . . . . . 41
9.2.2 Regression diagnostics . . . . . . . . . . . . . . . . . . . 44
9.3 Structural Analysis* . . . . . . . . . . . . . . . . . . . . . . . . 49
9.4 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
10 Bivariate modelling: continuous vs. classified variables 57
10.1 Exploratory data analysis . . . . . . . . . . . . . . . . . . . . . 59
10.2 Two-sample t-test . . . . . . . . . . . . . . . . . . . . . . . . . . 61
10.3 One-way ANOVA . . . . . . . . . . . . . . . . . . . . . . . . . . 62
10.4 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
11 Multivariate modelling 64
11.1 Additive model: parallel regression . . . . . . . . . . . . . . . . 66
11.2 Comparing models . . . . . . . . . . . . . . . . . . . . . . . . . 67
11.3 Interaction model . . . . . . . . . . . . . . . . . . . . . . . . . . 69
11.4 Regression diagnostics . . . . . . . . . . . . . . . . . . . . . . . 71
11.5 Analysis of covariance: a nested model . . . . . . . . . . . . . . 75
11.6 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
12 Spatial analysis 79
12.1 Geographic visualisation . . . . . . . . . . . . . . . . . . . . . . 79
12.2 Setting up a co¨ ordinate system . . . . . . . . . . . . . . . . . . 83
12.3 Loading add-in packages . . . . . . . . . . . . . . . . . . . . . . 84
12.4 Creating a spatially-explicit object . . . . . . . . . . . . . . . . 85
12.5 More geographic visualisation . . . . . . . . . . . . . . . . . . . 86
12.6 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
13 Spatial structure 88
13.1 Spatial structure: trend . . . . . . . . . . . . . . . . . . . . . . . 88
13.2 Spatial structure: local . . . . . . . . . . . . . . . . . . . . . . . 91
13.3 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
14 Spatial structure of field halves 94
14.1 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
15 The effect of plot size 97
15.1 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
16 Wrapup 108
References 109
Index of R concepts 112
A Example Data Set 114
B Colours 115
二维码

扫码加我 拉你入群

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

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

关键词:Statistical environment statistica statistic computing Statistical Using environment computing

1.PDF

2.34 MB

需要: 2 个论坛币  [购买]

本帖被以下文库推荐

沙发
yinjj 发表于 2009-11-4 09:28:59 |只看作者 |坛友微信交流群
thanks a lot!

使用道具

藤椅
陈紫瑄 发表于 2010-8-22 10:14:03 |只看作者 |坛友微信交流群
谢谢楼主了。。
乘风破浪昨夜事,血染征袍今已辞,而今披甲重征战,衣衫抖擞赴新世。。。

使用道具

板凳
cjczm 发表于 2010-8-31 22:11:33 |只看作者 |坛友微信交流群
没金币了,能发给我一个吗?谢谢!!!!!!!!!!!
cjc_1977@sina.com

使用道具


Contents
1 Introduction 1
2 R basics 1
2.1 Leaving R . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Loading and examining a data set 7
3.1 Reading a CSV file into an R object . . . . . . . . . . . . . . . 7
3.2 Examining a dataset . . . . . . . . .

使用道具

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

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-20 06:57