Hi, Dan.
Thanks for pointing out these bugs.
On the first problem, windows R has changed slightly, which has messed up
the way we assign urls for the help pages -- give me until the end of the
week to fix it. In the meanwhile, you can look at the PDF, which is not
as convenient, but perhaps easier on the eyes. 8)
On the second problem, VGAM uses slots (@) rather than lists ($) -- we had
written a patch so that slots would work like a list, but that also
doesn't seem to be working on the new version. We're working on it.
Best,
Olivia.
On Wed, 11 May 2005, Kosuke Imai wrote:
Hi Dan,
I'm not sure why the first problem occurs. You might want to update R to
the latest version and see if the problem persists. Also, the computer
needs to be connected to the internet in order for this help command to
work.
For bivariate probit, you are correct about the parameterization of the
correlation. See
http://gking.harvard.edu/zelig/docs/Model2.html for
details.
Best,
Kosuke
---------------------------------------------------------
Kosuke Imai Office: Corwin Hall 041
Assistant Professor Phone: 609-258-6601
Department of Politics eFax: 973-556-1929
Princeton University Email: kimai(a)Princeton.Edu
Princeton, NJ 08544-1012
http://www.princeton.edu/~kimai
---------------------------------------------------------
On Tue, 10 May 2005, Dan Powers wrote:
Zelig is a very useful package for R.
I am having a couple of problems on a win200 installation. R has been
installed on this system since R 1.0. I installed the Zelig package last
week. Here is
the first problem regarding getting help on commands.
help.zelig("logit")
Error in
file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file `C:/PROGRA~1/R/rw2001/library/Zelig/data/NA'
Also. In bprobit mod$coef does not reference the parameter vector, rather
see Vglm documentation for the particular way coefficients are extracted
from the model object using coef(mod). For example, the following works to
extract the parameter used to construct "rho" from a bivariate probit model.
z.out1 <- zelig(cbind(z,y)~ x1 + x2 + x3 + z, model="bprobit",
omit=list("1" = "z", "2" = "x1"), maxit=50, trace
= TRUE, mydat)
summary(z.out1)
rho <- (exp(coef(z.out1)[3]) - 1)/(exp(coef(z.out1)[3]) + 1)
Cheers,
Dan
%%%%%%%%%%%%%%%%%%%%%%%%
Daniel A. Powers, Ph.D.
Department of Sociology
University of Texas at Austin
1 University Station A1700
Austin, TX 78712-0118
phone: 512-232-6335
fax: 512-471-1748
dpowers(a)mail.la.utexas.edu
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)latte.harvard.edu
[un]subscribe Options:
http://lists.hmdc.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)latte.harvard.edu
[un]subscribe Options:
http://lists.hmdc.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)latte.harvard.edu
[un]subscribe Options: