Displaying 2 results from an estimated 2 matches for "polity2".
2010 Dec 02
6
Filter data
Hello,
I understand that question is probably stupid, but ...
I have data (polity IV index)
"country","year","democ","autoc","polity","polity2"
"1","Afghanistan ",1800,1,7,-6,-6
"2","Afghanistan ",1801,1,7,-6,-6
"3","Afghanistan ",1802,1,7,-6,-6
I need to create new data sets which includes only cases after year 1995.
I've tried this...
2008 Jan 08
3
GAM, GLM, Logit, infinite or missing values in 'x'
...to figure out another
option.
My glm and gam models are below. Any suggestions are very much
appreciated.
Best,
Anders
> form.logit
outbinary ~ a_norm_total2 + I(a_norm_total2^2) + prop + igoprop +
gpconc + ter + open + igototal + cinc.nmc + demsOnumstat +
diversity + cincOter + polity2
> form.glogit
outbinary ~ s(a_norm_total2) + s(prop) + s(prop, by = a_norm_total2) +
igoprop + gpconc + ter + open + igototal + cinc.nmc + demsOnumstat +
diversity + cincOter + polity2
GAM error message:
avt.2glogit<-gam(form.glogit, data=dataS, na.action=na.omit,family=binomial)...