当前位置:首页 > 网络黑客 > 正文内容

oppo版本指令代码大全(oppo手机常用代码)

hacker2年前 (2022-09-21)网络黑客239

本文主要介绍空间计量及R操作(面板空间计量篇)

本文主要介绍空间计量及R操作(面板空间计量篇)

1、数据介绍

Produc

相关数据来源于:Munnell A (1990). “Why Has Productivity Growth Declined? Productivity and Public Investment.” New England Economic Review, 3–22.

原文已经下载并上传至计量经济学社群,可以免费进入查看!

US States Production

从1970年到1986年的48个观测截面的面板数据

数据格式:数据框

变量介绍:

state:the state

year:the year

region:the region

pcap:public capital stock

hwy:highway and streets

water:water and sewer facilities

util:other public buildings and structures

pc:private capital stock

gsp;gross state product

emp:labor input measured by the employment in non–agricultural payrolls

unemp:state unemployment rate

展开全文

Details:total number of observations : 816

observation : regional

country : United States

数据来源:

Online complements to Baltagi (2001):

http://www.wiley.com/legacy/wileychi/baltagi/

oppo版本指令代码大全(oppo手机常用代码)

Online complements to Baltagi (2013):http://bcs.wiley.com/he-bcs/Books?action=resource&bcsId=4338&itemId=1118672321&resourceId=13452

参考文献:Baltagi B (2001). Econometric Analysis of Panel Data, 3rd edition. John Wiley and Sons ltd.

Baltagi B (2013). Econometric Analysis of Panel Data, 5th edition. John Wiley and Sons ltd.

Baltagi BH, Pinnoi N (1995). “Public capital stock and state productivity growth: further evidence from an error components model.” Empirical Economics, 20, 351-359.

Munnell A (1990). “Why Has Productivity Growth Declined? Productivity and Public Investment.” New England Economic Review, 3–22.

1、导入数据

2、查看数据

3、查看数据结构

4、导入查看空间权重矩阵及介绍

2、传统的面案数据分析

需要使用到的命令是plm,该函数表示:面板数据估计,面板数据的线性模型估计使用plm函数。

语法格式为:

选项含义表示:

2.1 传统的个体固定效应面板模型

代码为

Oneway (individual) effect Within Model

Call:plm(formula = df, data = Produc, effect = "individual", model = "within", index= c( "state", "year"))

Balanced Panel: n = 48, T = 17, N = 816

Residuals:Min. 1st Qu. Median 3rd Qu. Max. - 0. 1359569- 0. 0233995 - 0. 0033379 0. 0184788 0. 1844763

Coefficients:Estimate Std. Error t-value Pr(>|t|) log(pcap) - 0.088029 0. 027081 - 3.25060. 001202** log(pc) 0. 2324370. 02293 010.1369< 2.2e- 16*** log(emp) 0. 8577680. 02546633.6834< 2.2e- 16*** ---Signif. codes: 0‘***’ 0. 001‘**’ 0. 01‘*’ 0. 05‘.’ 0. 1‘ ’ 1

Total Sum of Squares: 18.941Residual Sum of Squares: 1.1529R-Squared: 0. 93913Adj. R-Squared: 0. 93515F-statistic: 3934.33on 3and765DF, p-value: < 2.22e- 16

2.2 传统的个体随机效应面板模型

代码为

结果为:

Call:plm(formula = df, data = Produc, effect = "individual", model = "random", index = c( "state", "year"))

Balanced Panel: n = 48, T = 17, N = 816

Effects:var std.dev shareidiosyncratic 0.001507 0.038822 0.184individual 0.006702 0.081863 0.816theta: 0.8857

Residuals:Min. 1st Qu. Median 3rd Qu. Max. -0.118735 -0.025222 -0.003688 0.021632 0.217416

Coefficients:Estimate Std. Error z-value Pr(>|z|) (Intercept) 2.611567 0.114880 22.7331 < 2e-16 ***log(pcap) -0.046151 0.022643 -2.0382 0.04153 * log(pc) 0.252960 0.018208 13.8926 < 2e-16 ***log(emp) 0.812907 0.022039 36.8854 < 2e-16 ***---Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Total Sum of Squares: 29.789Residual Sum of Squares: 1.261R-Squared: 0.95767Adj. R-Squared: 0.95751Chisq: 18370.4 on 3 DF, p-value: < 2.22e-16

3、空间面案数据分析

空间面板数据分析分为极大似然估计和广义矩估计,命令分别是spml和 spgm

spml语法格式为:

spgm语法格式为:

1、spgm操作案例

代码为

oppo版本指令代码大全(oppo手机常用代码)

Call:spgm(formula = log(gsp) ~ log(pcap) + log(pc) + log(emp) + unemp, data = Produc, listw = usaww, spatial.error = TRUE, moments = "fullweights")

Residuals:Min. 1st Qu. Median 3rd Qu. Max. -0.1496836 -0.0174426 -0.0019014 0.0142554 0.1703041

Estimated spatial coefficient, variance components and theta:Estimaterho 0.499871sigma^2_v 0.001105

Coefficients:Estimate Std. Error t-value Pr(>|t|) log(pcap) 0.0043026 0.0253425 0.1698 0.86519 log(pc) 0.2144604 0.0232533 9.2228 < 2e-16 *** log(emp) 0.7830897 0.0279794 27.9881 < 2e-16 *** unemp -0.0025609 0.0010546 -2.4282 0.01517 * ---Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

2、极大似然估计的个体随机效应

代码为

Call: spreml(formula= formula, data = data, index = index, w = listw2mat(listw), w2= listw2mat(listw2), lag = lag, errors = errors, cl = cl)

Residuals: Min.1st Qu. Median Mean 3rd Qu. Max. -0.2477-0.0411 0.0123 0.0191 0.0727 0.4841

Errorvariance parameters:EstimateStd. Error t-value Pr(>|t|) phi7.53078 1.85638 4.0567 4.977e-05 ***rho0.53683 0.05603 9.5811 < 2.2e-16 ***

Spatialautoregressive coefficient:EstimateStd. Error t-value Pr(>|t|)lambda0.0018204 0.0400679 0.0454 0.9638

Coefficients: EstimateStd. Error t-value Pr(>|t|) (Intercept)2.3735772 0.1394744 17.0180 < 2.2e-16 ***log(pcap)0.0425017 0.0222146 1.9132 0.055719 . log(pc)0.2415075 0.0202970 11.8987 < 2.2e-16 ***log(emp)0.7419063 0.0244212 30.3796 < 2.2e-16 ***unemp-0.0034560 0.0010605 -3.2589 0.001118 ** ---Signif.codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

3、极大似然估计的个体固定效应

代码为

Call:spml(formula = df, data = Produc, index= c( "state", "year"), listw = mat2listw(usaww), model = "within", effect = "individual", lag = T, spatial.error = "b")

Residuals:Min. 1st Qu. Median 3rd Qu. Max. - 0. 1335552- 0. 0220919 - 0. 0032048 0. 0171787 0. 1748911

Spatial error parameter:Estimate Std. Error t-value Pr(>|t|) rho 0. 4553120. 042538 10.704< 2.2e- 16***

Spatial autoregressive coefficient:Estimate Std. Error t-value Pr(>|t|) lambda 0.088576 0. 0263123.36630. 0007618 ***

Coefficients:Estimate Std. Error t-value Pr(>|t|) log(pcap) - 0. 0103497 0. 0255345- 0. 40530. 6852log(pc) 0. 19057810. 0242829 7.84834.219e- 15*** log(emp) 0. 75523720. 0290385 26.0081< 2.2e- 16*** unemp - 0. 00306130. 0010315- 2.96780. 0030** ---Signif. codes: 0‘***’ 0. 001‘**’ 0. 01‘*’ 0. 05‘.’ 0. 1‘ ’ 1

>

扫描二维码推送至手机访问。

版权声明:本文由黑客接单发布,如需转载请注明出处。

本文链接:https://therlest.com/135932.html

分享给朋友:

“oppo版本指令代码大全(oppo手机常用代码)” 的相关文章

【干货知识】高級不断渗透第八季-demo就是远程控制

本季度是《高級不断渗透-第七季demo的发展》的持续。 点一下文尾左下角“阅读”可阅读文章第七季文章正文。 在第一季有关后门中,文章内容提及再次编译程序notepad ,来引入有目标源代码后门结构。 在第六季有关后门中,文章内容假定不在获知notepad 的源代码,来引入无目标源代码沟...

我老公老是让他家的亲戚来我家,我该怎么办?请各位帮我想想办法,我

我老公老是让他家的亲戚来我家,我该怎么办?请各位帮我想想办法,我 请各位帮我想想办法,开网店怎么找女装货源唔爱神起助您成就财富人生,想做微商?想开实体店?想开淘宝店?什么才是你创业的最重要步骤?货源!想在微商卖童装母婴用品纸尿裤女装,开童装女装店铺,你去哪里找最好的货源?如何找童装女装一手货源呢?...

为什么反复烧开的水会有毒?

为什么反复烧开的水会有毒? 千滚水就是在炉上沸腾了一夜或很长时间的水,还有电热水器中反复煮沸的水。这种水因煮过久,水中不挥发性物质,如钙、镁等重金属成分和亚硝酸盐因浓缩后含量很高。久饮这种水,会干扰人的胃肠功能,出现暂时腹泻、腹胀;有毒的亚硝酸盐还会造成机体缺氧,严重者会昏迷惊厥,甚至死亡。 蒸...

小池角焊机哪儿有卖 - 渔农小池 卖鱼虾视频

用于癫狂心乱,小步奏·矶钓杆属于有绕线轮且软调加长海杆 卖简单的线组主线组装楼主应该不用我介绍了 绕线轮绕满主线线从杆身护线孔穿到杆头曲出即可 取出主线头用。 初夏,福利比较好,如果是DVD的话,你也可以淘宝。而且不贵才9点但教程的介绍还是挺客观科.唐山松下是中日合资的,帮助男性提升性能力更新时间,...

怎样辨别有农药残留的蔬菜?

怎样辨别有农药残留的蔬菜? 一、不吃形状、颜色异常的蔬菜: 形状:颜色正常的蔬菜,一般是常规栽培,是未用激素等化学品处理的,可以放心地食用。 “异常”蔬菜可能用激素处理过,如韭菜,当它的叶子特别宽大肥厚,比一般宽叶一次同学聚会,我发现很多同学已经有房有车,毕竟毕业三年了,而我还只是每个月三千块...

不锈钢水箱制作厂家(小型家用储水箱不锈钢

福瑞达不锈钢水箱厂,产品外形美观,不锈钢水箱按用途可以分为生活水箱和,采用进口食品级304不锈钢材料制作而成,农村,宝汇不锈钢水箱,比较满意,金诚铭不锈钢水箱,比较满意,现在对生活水箱不是很清楚的了解. 有很多的水箱,安装快,含镍量、生产基地位于江西省南昌英雄城。1-9000T水箱都能定做。 此类水...

评论列表

囤梦做啡
2年前 (2022-09-22)

rollsunemp:state unemployment rate 展开全文Details:total number of observations : 816observation : regionalcountry : Unite

语酌云裳
2年前 (2022-09-22)

05‘.’ 0. 1‘ ’ 1>

馥妴眉薄
2年前 (2022-09-22)

ate productivity growth: further evidence from an error components model.” Empirical Economics, 20,

酒奴方且
2年前 (2022-09-22)

odel = "random", index = c( "state", "year")) Balanced Panel: n = 48, T = 17, N = 816Ef

可难叙詓
2年前 (2022-09-22)

delCall:plm(formula = df, data = Produc, effect = "individual", model = "within", index=

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。