Sure. Here you go. Let me know if you need more context; I can send the
.RData file along if it would help.
Rachel
z.out.1.ACTIVEJ.CASESPERJUDGE <- zelig(REVERSAL ~
+ CASESPERJUDGE +
+ JUDGQY + CIRCUIT +
+ GOP + DCTGOP + GOP*DCTGOP,
+ model = "logit", data = case)
How to cite this model in Zelig:
Kosuke Imai, Gary King, and Oliva Lau. 2008. "logit: Logistic Regression for
Dichotomous Dependent Variables" in Kosuke Imai, Gary King, and Olivia Lau,
"Zelig: Everyone's Statistical Software,"
http://gking.harvard.edu/zelig
test.low <- setx(z.out.1.ACTIVEJ.CASESPERJUDGE, CASESPERJUDGE =
min(case$CASESPERJUDGE))
test.high <- setx(z.out.1.ACTIVEJ.CASESPERJUDGE,
CASESPERJUDGE =
max(case$CASESPERJUDGE))
test.s.out <- sim(z.out.1.ACTIVEJ.CASESPERJUDGE, x
= test.low, x1 =
test.high)
plot.ci(test.s.out)
Error in grep(tmp1, tmp) : invalid 'pattern'
argument
-----Original Message-----
From: gov2001-l-bounces(a)lists.fas.harvard.edu
[mailto:gov2001-l-bounces@lists.fas.harvard.edu] On Behalf Of Brandon
Stewart
Sent: Tuesday, April 19, 2011 7:53 PM
To: Class List for Gov 2001/E-2001
Subject: Re: [gov2001] Plotting confidence intervals with zelig: invalid
'pattern' argument
Rachel,
The grep() error references an attempt to use a regular expression to
match something. Unfortunately that could be a lot of different areas
in the process. Can you give us a sample of your code to let us know
what you are trying to do?
Brandon
On Tue, Apr 19, 2011 at 7:17 PM, Rachel Crouch
<rcrouch(a)jd12.law.harvard.edu> wrote:
Hi class,
Im trying to plot confidence intervals using zelig. We did this once for
a
p-set not using zelig, but Im doing the rest of my
analysis is using
zelig,
so I want to stick with it. Im getting an error,
though: Error in
grep(tmp1, tmp) : invalid pattern argument . I was wondering if
someone
knows what it is I might be doing wrong. Thanks!
Rachel
_______________________________________________
gov2001-l mailing list
gov2001-l(a)lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
_______________________________________________
gov2001-l mailing list
gov2001-l(a)lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
_______________________________________________
gov2001-l mailing list
gov2001-l(a)lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
--
gov2001 mailing list served by Harvard-MIT Data Center
List Address: gov2001(a)lists.gking.harvard.edu
Subscribe/Unsubscribe:
http://lists.gking.harvard.edu/?info=gov2001