Hello, this is Diana, and I have few questions regarding JudgeIt.
I am trying to calculate responsiveness and partisan using state
election data,and wondering about the command for "uncontesteds". My
variables are almost same as built-in data,house 6311,which are State,
Chamber, District, Turnout, and vote.
My formula is
j.obpas<-judgeit(model.formula=vote~unc(vote),vote.formula=Turnout~1,uncontesteds="default",same.d=same.dists,data=pas,use.last.votes=T,weight="constant")
When I tried uncontesteds="default", it worked. However,
uncontesteds="impute" did not
work. Do you have any idea what I should do to make this work?
My second question is, I got an error message "Error in solve.default(mom) :
Lapack routine dgesv: system is exactly singular" when I tried to
create an object for
a specific state. What I am wondering is, most of the states worked well using
j.obpas<-judgeit(model.formula=vote~unc(vote),vote.formula=Turnout~1,uncontesteds="default",same.d=same.dists,data=pas,use.last.votes=T,weight="seats"), except two states. How can I fix
this
problem?
Any comment will be appreciated.
Thanks!!
Best,
Diana
--
JudgeIt mailing list served by Harvard-MIT Data Center
List Address: judgeit(a)lists.gking.harvard.edu
Subscribe/Unsubscribe: http://lists.gking.harvard.edu/?info=judgeit
JudgeIt Information: http://gking.harvard.edu/judgeit