找回密码
 注册
查看: 317|回复: 0

R语言 spdep包 used.cars()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 14:46:32 | 显示全部楼层 |阅读模式
used.cars(spdep)
used.cars()所属R语言包:spdep

                                        US 1960 used car prices
                                         美国1960年的二手车价格

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

The used.cars data frame has 48 rows and 2 columns. The data set includes a neighbours list for the 48 states excluding DC from poly2nb().
used.cars数据框有48个行2列。数据集包括美国的48个州不包括DC从poly2nb()的一个邻居列表。


用法----------Usage----------


data(used.cars)



格式----------Format----------

This data frame contains the following columns:
该数据框包含以下几列:




tax.charges taxes and delivery charges for 1955-9 new cars
1955-9新的汽车tax.charges税和运输费




price.1960 1960 used car prices by state
price.1960 1960年二手车价格由国家


源----------Source----------

Hanna, F. A. 1966 Effects of regional differences in taxes and transport charges on automobile consumption, in Ostry, S., Rhymes, J. K. (eds) Papers on regional statistical studies, Toronto: Toronto University Press, pp. 199-223.
汉娜,FA 1966年影响汽车消费税和运输费用的区域差异,在奥斯特里,S.,押韵,JK(EDS)区域统计研究论文,多伦多:多伦多大学出版社,页199-223。


参考文献----------References----------



实例----------Examples----------


data(used.cars)
moran.test(used.cars$price.1960, nb2listw(usa48.nb))
moran.plot(used.cars$price.1960, nb2listw(usa48.nb),
  labels=rownames(used.cars))
uc.lm <- lm(price.1960 ~ tax.charges, data=used.cars)
summary(uc.lm)
lm.morantest(uc.lm, nb2listw(usa48.nb))
lm.morantest.sad(uc.lm, nb2listw(usa48.nb))
lm.LMtests(uc.lm, nb2listw(usa48.nb))
uc.err <- errorsarlm(price.1960 ~ tax.charges, data=used.cars,
  nb2listw(usa48.nb), tol.solve=1.0e-13, control=list(tol.opt=.Machine$double.eps^0.3))
summary(uc.err)
uc.lag <- lagsarlm(price.1960 ~ tax.charges, data=used.cars,
  nb2listw(usa48.nb), tol.solve=1.0e-13, control=list(tol.opt=.Machine$double.eps^0.3))
summary(uc.lag)
uc.lag1 <- lagsarlm(price.1960 ~ 1, data=used.cars,
  nb2listw(usa48.nb), tol.solve=1.0e-13, control=list(tol.opt=.Machine$double.eps^0.3))
summary(uc.lag1)
uc.err1 <- errorsarlm(price.1960 ~ 1, data=used.cars,
  nb2listw(usa48.nb), tol.solve=1.0e-13, control=list(tol.opt=.Machine$double.eps^0.3))
summary(uc.err1)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-18 03:17 , Processed in 0.024663 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表