Confirmed with recent Zelig and R-2.10.0.
CCing Kosuke Imai, the Zelig maintainer:
Please can you take a look at this one and additionally fix the warnings
given on your package's overview page at
http://cran.r-project.org/web/checks/check_results_Zelig.html
Please upload a fixed version with increased version number to CRAN.
Best wishes,
Uwe Ligges
sayan dasgupta wrote:> hello all
> I am using the R package Zelig for some tobit regression with robust
> standard errors.
> I have got R version 2.9.2 (2009-08-24)
> and Zelig Version: 3.4-5
> when i do demo(robust)
>
> It ends like this way
>
> data(coalition)
>
>> # Fit the model with robust standard error
>> user.prompt()
>
> Press <return> to continue:
>
>> z.out3 <- zelig(Surv(duration, ciep12) ~ polar + numst2 +
crisis,
> model = "weibull", data = coalition, cluster =
"invest", robust = TRUE)
> *It is giving the following error
>
> *Error in rowsum.default(resid(fit, "dfbeta"), cluster) :
> 'x' must be numeric
>
> Please help where it is going wrong
> Thanks and Regards
> Sayan Dasgupta
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.