Re: [R] ZINB by Newton Raphson??

From: Achim Zeileis <Achim.Zeileis_at_uibk.ac.at>
Date: Mon, 21 Jun 2010 07:50:57 +0200 (CEST)

On Mon, 21 Jun 2010, cahyo kristiono wrote:

> Dear all..
> I have a respon variable y. Predictor variable are x1, x2, x3, x4, x5
> (1)?What is?the syntax to get paramater estimation of?ZINB Model by
> Newton Raphson (not BFGS)

I guess you are talking about the function zeroinfl() from the package "pscl"? It supports all "method"s of optim() and in addition supports "EM" estimation. Typically, all yield very similar optimized likelihood values and associated parameters.

> (2) What syntax to plot probability of observed & predicted of ZINB

That depends on what type of predictions you want to obtain. The vignette

   vignette("countreg", package = "pscl") has some examples and further explanations.

Best,
Z

> Thx.
> Regards
> Krist.
>
>
> [[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. Received on Mon 21 Jun 2010 - 05:54:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 21 Jun 2010 - 06:00:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive