欢迎来到天天文库
浏览记录
ID:37579064
大小:1.23 MB
页数:76页
时间:2019-05-25
《Econometric analysis of Panel data in Stata》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、ACourseofStataEconometricanalysisofpaneldata+]InstituteofStatisticsandEconometricsNankaiUniversityAugust19,2011+](NankaiUniversity)ACourseofStataAugust19,20111/38Contents1definitionofpaneldata2Linearmodel3Dynamicmodel4Multi-levelmixedeffectmodel5nonlinearpanel+](NankaiU
2、niversity)ACourseofStataAugust19,20112/38definitionofpaneldataOutlineofSection1definitionofpaneldatatransformationfromlongtowideformattransformationfromwidetolongformatxtsetProblem:replicates+](NankaiUniversity)ACourseofStataAugust19,20113/38definitionofpaneldatatransforma
3、tionfromlongtowideformat•‚ªTable:•‚ªêâcompnayyearninvestmvaluekstock11935317.63078.52.811936391.84661.752.611937410.65387.1156.921935209.91362.453.821936355.31807.150.521937469.92676.3118.1+](NankaiUniversity)ACourseofStataAugust19,20114/38definitionofpaneldatatransforma
4、tionfromlongtowideformat°‚ªTable:°‚ªêâyearinvest1mvalue1kstock1invest2mvalue2kstock21935317.63078.52.8209.91362.453.81936391.84661.752.6355.31807.150.51937410.65387.1156.9469.92676.3118.11938257.72792.2209.2262.31801.9260.21939330.84313.2203.4230.41957.3312.7+](NankaiUn
5、iversity)ACourseofStataAugust19,20115/38definitionofpaneldatatransformationfromlongtowideformat•‚ª=†•°‚ª.reshapewidestubnames,i(varlist)j(varname)i•I‡3I£Cþ§j•I‡=†•°‚ªI£Cþ"~µgrunfeld.dta••‚ªêâ§òÙ=†•°‚ªêâ§=† company••‚ªI£Cþ§year•°‚ªI£Cþ".reshapewideinvestmvaluekstock,i(
6、company)j(year)+](NankaiUniversity)ACourseofStataAugust19,20116/38definitionofpaneldatatransformationfromlongtowideformat•‚ª=†•°‚ª.reshapewidestubnames,i(varlist)j(varname)i•I‡3I£Cþ§j•I‡=†•°‚ªI£Cþ"~µgrunfeld.dta••‚ªêâ§òÙ=†•°‚ªêâ§=† company••‚ªI£Cþ§year•°‚ªI£Cþ".resha
7、pewideinvestmvaluekstock,i(company)j(year)+](NankaiUniversity)ACourseofStataAugust19,20116/38definitionofpaneldatatransformationfromwidetolongformat°‚ª=†••‚ª.reshapelongstubnames,i(varlist)j(varname)stubnamesL«I‡=†CþcM§i(varlist)L«•‚ªI£Cþ§j(varname)•l°‚ª=†••‚ª #)¤I£Cþ
8、"grunfeld2.dta•°‚ªêâ§òÙ=†••‚ªêâ".reshapelonginvestmvaluekstock,i(year)j(company)+](NankaiUniversity)A
此文档下载收益归作者所有