楼主: yearend
4603 11

[学习分享] Free for R ebook about spatial regression model [推广有奖]

  • 0关注
  • 1粉丝

博士生

41%

还不是VIP/贵宾

-

威望
0
论坛币
25 个
通用积分
0.8633
学术水平
3 点
热心指数
4 点
信用等级
3 点
经验
1000 点
帖子
383
精华
0
在线时间
199 小时
注册时间
2009-5-9
最后登录
2017-7-6

楼主
yearend 发表于 2011-5-19 09:38:18 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
This is a PFD about spatial regression model for R
Just  free for pinggu members
Thanks....

Spatial Regression Analysis in R
A Workbook
Luc Anselin
Spatial Analysis Laboratory
Department of Agricultural and Consumer Economics
University of Illinois, Urbana-Champaign
Urbana, IL 61801
http://sal.agecon.uiuc.edu/
Center for Spatially Integrated Social Science
http://www.csiss.org/
Preliminary Version, January 18, 2005

----------------------------------------------------------------------------
Preface v
1 Getting Started in R 1
1.1 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Conventions and General Advice . . . . . . . . . . . . . . . . 1
1.3 Sample Session . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2 Getting Your Data and Weights Into R 4
2.1 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Getting Data and Weights File Ready . . . . . . . . . . . . . 4
2.2.1 Exporting Data with GeoDa . . . . . . . . . . . . . . 5
2.2.2 Creating the Spatial Weights in GeoDa . . . . . . . . 5
2.3 Creating a Data Frame . . . . . . . . . . . . . . . . . . . . . . 5
2.3.1 Command Line . . . . . . . . . . . . . . . . . . . . . . 5
2.3.2 Writing a Function . . . . . . . . . . . . . . . . . . . . 6
2.4 Creating a Neighbor List from a GAL File . . . . . . . . . . . 7
2.4.1 Using read.gal . . . . . . . . . . . . . . . . . . . . . . 8
2.4.2 Weights Characteristics . . . . . . . . . . . . . . . . . 10
2.5 Creating a Neighbor List from a GWT File . . . . . . . . . . 10
2.5.1 Using read.gwt2nb . . . . . . . . . . . . . . . . . . . . 10
2.5.2 Checking for Symmetry of a Neighbor List . . . . . . 11
2.6 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 Spatial Autocorrelation Analysis in R 13
3.1 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.2 Converting Neighbor Lists to Spatial Weights . . . . . . . . . 13
3.2.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.2.2 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.3 Moran’s I . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.3.1 Normal and Randomization Inference . . . . . . . . . 17
3.3.2 Permutation Inference . . . . . . . . . . . . . . . . . . 20
3.3.3 Plotting the Reference Distribution . . . . . . . . . . . 22
3.3.4 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.4 Constructing a Spatially Lagged Variable . . . . . . . . . . . 26
3.4.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.4.2 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.5 Moran Scatter Plot . . . . . . . . . . . . . . . . . . . . . . . . 29
3.5.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.5.2 Customizing the Moran Scatter Plot . . . . . . . . . . 31
3.5.3 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4 Monte Carlo Simulation (1)
Assessing the Properties of a Test Statistic 36
4.1 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4.2 Generating Random Variables . . . . . . . . . . . . . . . . . . 36
4.2.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.2.2 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4.3 Basic Matrix Algebra Operations . . . . . . . . . . . . . . . . 40
4.3.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . 42
4.3.2 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . 43
4.4 Creating Spatial Weights for a Grid Layout . . . . . . . . . . 44
4.4.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . 44
4.4.2 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . 45
4.5 Converting Spatial Weights to a Matrix . . . . . . . . . . . . 46
4.5.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.5.2 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4.6 A Simulation Experiment . . . . . . . . . . . . . . . . . . . . 49
4.6.1 Computing Moran’s I Using Matrix Algebra . . . . . . 50
4.6.2 The Theoretical Moments of Moran’s I . . . . . . . . . 51
4.6.3 Inference . . . . . . . . . . . . . . . . . . . . . . . . . 52
4.6.4 Setting up the Experiment . . . . . . . . . . . . . . . 53
4.6.5 The Simulation Loop . . . . . . . . . . . . . . . . . . . 54
4.6.6 Analyzing the Results . . . . . . . . . . . . . . . . . . 55
4.6.7 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5 Monte Carlo Simulation (2)
Assessing the Properties of an Estimator 60
5.1 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
5.2 Ordinary Least Squares Regression . . . . . . . . . . . . . . . 60
5.2.1 OLS Using lm . . . . . . . . . . . . . . . . . . . . . . . 61
5.2.2 OLS Matrix Algebra . . . . . . . . . . . . . . . . . . . 62
5.2.3 Example . . . . . . . . . . . . . . . . . . . . . . . . . . 62
5.2.4 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . 66
5.3 Spatial Autoregressive Random Variables . . . . . . . . . . . 67
5.3.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . 68
5.3.2 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . 68
5.4 Spatial Moving Average Random Variables . . . . . . . . . . 70
5.4.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . 70
5.4.2 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . 71
5.5 A Simulation Experiment . . . . . . . . . . . . . . . . . . . . 72
5.5.1 Setting up the Experiment . . . . . . . . . . . . . . . 74
5.5.2 Example . . . . . . . . . . . . . . . . . . . . . . . . . . 75
5.5.3 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . 79
6 Spatial Regression in R 80
6.1 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
6.2 Things You Should Know . . . . . . . . . . . . . . . . . . . . 80
6.2.1 Running a Regression . . . . . . . . . . . . . . . . . . 80
6.2.2 Testing OLS Residuals for Spatial Autocorrelation . . 80
6.2.3 ML Estimation of Spatial Lag Model . . . . . . . . . . 81
6.2.4 ML Estimation of Spatial Error Model . . . . . . . . . 81
6.2.5 Testing the Spatial Common Factor Hypothesis . . . . 81
6.3 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Appendix 82
Bibliography 84
二维码

扫码加我 拉你入群

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

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

关键词:regression regressio regress Spatial About Free regression model EBook Spatial

已有 4 人评分经验 论坛币 学术水平 热心指数 信用等级 收起 理由
日新少年 + 1 + 1 + 1 精彩帖子
chiaolee + 1 + 1 + 1 热心帮助其他会员
kk22boy + 1 + 1 + 1 好书,谢谢分享
ltx5151 + 50 + 20 + 1 谢谢分享

总评分: 经验 + 50  论坛币 + 20  学术水平 + 3  热心指数 + 4  信用等级 + 3   查看全部评分

本帖被以下文库推荐

沙发
qoiqpwqr 发表于 2011-5-19 11:09:41
谢了,顶一个。

藤椅
dwl001 发表于 2011-5-19 16:26:58
Many thanks for your share.

板凳
sigmund 在职认证  发表于 2011-5-19 22:06:09
it is good book. thanks

报纸
tmdxyz 发表于 2011-5-20 07:29:31
谢谢楼主热心!

地板
trier2006 发表于 2011-5-20 09:03:23
1# yearend
Many thanks!
最好的医生是自己,最好的药物是时间……

7
kk22boy 发表于 2011-5-20 21:38:11
好书,谢谢分享
如果该贴对您有些许帮助,希望你能回复一下或者评一下热心指数!谢谢!

8
楚韵荆风 学生认证  发表于 2011-5-21 13:30:16
Thanks for sharing
共享是一种彼此的快乐

9
semidefinite 在职认证  发表于 2011-5-22 11:03:11
Thanks a lot. It is very useful.

10
feasible 发表于 2011-11-22 13:10:01
谢谢分享!

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

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