Stata Do-file command lines
The commands below replicate the analysis done in Leech et al. 2005.
Note that users must first load stata, set the memory and other parameters
and read the data file into memory.
The commands below this line create the time-series regressions reported in the article.
====================================
*semiannual data
iis topic
tis period
tsset topic period, halfyearly
set matsize 150
describe
sum
*contemporaneous hearing models for groups
xtpcse group hearings l.groups
*Try full model and full model with lagged DV using firms and logged firms
xtpcse group hearings budget firmlog
xtpcse group hearings budget firmlog l.groups
xtpcse group hearings budget firms
xtpcse group hearings budget firms l.groups
*contemporaneous hearing models for hired lobbyists
xtpcse lobbyist hearings l.lobbyist
*Try full model and full model with lagged DV using firms and logged firms
xtpcse lobbyist hearings budget firmlog
xtpcse lobbyist hearings budget firmlog l.lobbyist
xtpcse lobbyist hearings budget firms
xtpcse lobbyist hearings budget firms l.lobbyist
*long-term hearings models for groups
xtpcse group hear10 l.group
*Try full model and full model with lagged DV using firms and logged firms
xtpcse group hear10 budget firmlog
xtpcse group hear10 budget firmlog l.groups
xtpcse group hear10 budget firms
xtpcse group hear10 budget firms l.groups
*long-term hearings models for hired lobbyists
xtpcse lobbyist hear10 l.lobbyist
*Try full model and full model with lagged DV using firms and logged firms
xtpcse lobbyist hear10 budget firmlog
xtpcse lobbyist hear10 budget firmlog l.lobbyist
xtpcse lobbyist hear10 budget firms
xtpcse lobbyist hear10 budget firms l.lobbyist
*semiannual data
iis topic
tis period
tsset topic period, halfyearly
set matsize 150
describe
sum
*contemporaneous hearing models for groups
xtpcse group hearings l.groups if period == 3 | period == 4
*contemporaneous hearing models for hired lobbyists
xtpcse lobbyist hearings l.lobbyist if period == 3 | period == 4
*long-term hearings models for groups
xtpcse group hear10 l.group if period == 3 | period == 4
*long-term hearings models for hired lobbyists
xtpcse lobbyist hear10 l.lobbyist if period == 3 | period == 4
====================================
end of stata do-file