Also, please try the latest version of Zelig,
which is 3.4-8.
Kosuke
--
Department of Politics
Princeton University
What version of survey (the R package) are you
using?
On Tue, Jan 19, 2010 at 2:44 PM, Casey Klofstad <klofstad(a)gmail.com>
wrote:
>
> Hey all-
>
> I'm trying to run a weighted Poisson model (I did full matching and
> need to weight the model). The code looks like this:
>
> z.out <- zelig(polact ~ treat + pid_str + q44 + q52 + contact,
> weights="weights", data = mi(ds1, ds2, ds3, ds4, ds5), model =
> "poisson.survey")
>
> I get these errors:
>
> Error in 1/as.matrix(weights) : non-numeric argument to binary operator
> In addition: Warning message:
> In poisson(link = link) : use of poisson(link=link) is deprecated
>
> I am running version 3.4-5 in Windows 7.
>
> Any thoughts?
>
> Thanks much,
>
> -c
>
> --
> Casey A. Klofstad
> University of Miami
> Department of Political Science
> Coral Gables, FL
>
> klofstad(a)gmail.com
>
http://www.as.miami.edu/personal/cklofstad/
>
> -
> Zelig Mailing List, served by Harvard-MIT Data Center
> Send messages: zelig(a)lists.gking.harvard.edu
> [un]subscribe Options:
http://lists.gking.harvard.edu/?info=zelig
> Zelig program information:
http://gking.harvard.edu/zelig/
>
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=zelig
Zelig program information:
http://gking.harvard.edu/zelig/