Displaying 1 result from an estimated 1 matches for "p_polity2".
2009 Jul 08
1
clogit comparison between Stata and R
...ver possible :-)
I'm running conditional logits on some panel data and I get slightly
different results and different N in the two programs.
In R I run
clogit(trans.dem ~ I(avg.gle_rgdp.500/gle_rgdp) + log(gle_rgdp) +
timesince.dem + I(timesince.dem^2) + timesince.dict + I(timesince.dict^2) +
p_polity2 + I(p_polity2^2) + strata(ccodecow) + cluster(ccodecow),
method="approximate", data=univ)
and I get an n of 3747.
In Stata, I run
clogit trans_dem avg_gle_rgdp_ratio loggle_rgdp timesince_dem
timesince_demsq timesince_dict timesince_dictsq p_polity2 pol2sq,
group(ccodecow) vce(cluster...