楼主: shiyp1981
9427 16

[其他] stata gwr命令使用方法 [推广有奖]

11
shiyp1981 发表于 2012-1-3 12:16:12
难道就没有人用过这个命令么?

12
shiyp1981 发表于 2012-1-3 19:28:41
继续求T检验方法

13
蓝色 发表于 2012-1-3 21:17:24
回归结果就有t检验啊

  1. . gwr cars1 class unemp, east(east) north(north) reps(1000) dots test saving(gwrout) replace nolog
  2. Global Model
  3. Source | SS df MS Number of obs = 120
  4. ---------+-------------------------------- F( 2, 117) = 287.17
  5. Model | 45196.5848 2 22598.2924 Prob > F = 0.0000
  6. Residual | 9207.00732 117 78.6923702 R-squared = 0.8308
  7. ---------+-------------------------------- Adj R-squared = 0.8279
  8. Total | 54403.5921 119 457.173043 Root MSE = 8.8709
  9. ------------------------------------------------------------------------------
  10. cars1 | Coef. Std. Err. t P>|t| [95% Conf. Interval]
  11. ---------+--------------------------------------------------------------------
  12. class | 1.880726 .3344889 5.623 0.000 1.218289 2.543164
  13. unemp | -1.827983 .1123766 -16.267 0.000 -2.050539 -1.605427
  14. _cons | 88.47704 2.885689 30.661 0.000 82.76208 94.192
  15. ------------------------------------------------------------------------------
复制代码

14
shiyp1981 发表于 2012-1-4 10:01:41
ls,是想要加权回归之后的T检验。地理加权回归后应该是有多少样本点就有多少个估计的方程,相应的也应该有T检验啊。

15
shiyp1981 发表于 2012-1-5 21:00:56
难道要放弃这个问题了?

16
shiyp1981 发表于 2012-1-7 12:03:15
生命在于坚持,一直到有人来解答

17
郁榕 发表于 2016-3-11 19:47:51
你用经纬度可能也可以。但是从stata帮助文件stb46中的示例上看,用的是直角坐标系中的距离而非经纬度。每一个空间单位距离基准点以东的距离为east中的变量,距离基准点以北的距离为north中的变量,基准点为空间样本集的质心。

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-1 14:09