Displaying 1 result from an estimated 1 matches for "timesince".
Did you mean:
timesieve
2009 Jul 08
1
clogit comparison between Stata and R
...back and forth between stata and R at the moment - of course,
using R whenever 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 ti...