全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
950 0
2012-05-27

I am describing below: 1) the variablenames 2) the task to program in Stata.

1)     1)Variables:

HS10:                   HS 10 industry code

country_:                    BLS country code

naics6d:                6digit naics industry code

year

month

item_code:            good identifier

itemID:           good identifier, numerical

ch_USD:         monthly ch_USagainstROW

ch_TP:                   monthly ch_tradepartn~W

ch_fed:                  monthly ch_frb_broad

ch_exrate:             choosing one of the above

dlernew_`n’:         chosen exchange rate measure at lag `n’

dlcpinew_`n':        lagged PPI at lag `n’

deltadollarprice:  monthly logprice change of the item, or if at country level, of the country

2)    Program

-  count the number of items per firm in each month, then averagingover the entire time period per firm. Note that firms are identified by thefirst 10 digits of item_code. Note that when averaging over time, you only wantto keep on observation per firm year and month.

-  Run an autoregressive regression of the type in lines 2400ff of theattached code for firms that have respectively an item count c of 1<c<3,3<=c<5, 5<=c<7, c>7 (four regressions).

-  Output a table with a cumulative sum of coefficients and standard errorsfor each grouping.

-  The file that contains the data is gitatemp.dta.

这用do file应该如何编呢? 请高手指教!谢谢!

二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群