Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
"Kim, Seung Gyu" <sgkim@utk.edu> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: zero truncated negative binomial (ztnb) with sampling weight |

Date |
Tue, 11 May 2010 14:45:07 -0400 |

Dear all: I am struggling with ZTNB with sampling weight. The residuals of "negative binomial regression" are calculated as (y-yhat)/(1+yhat*alpha), but I could not find the residuals if it is "truncated" and "weighted by sampling weight" at the same time. I would appreciate if someone gives me the functional form of residuals or loglikelihood function for ZTNB with sampling weight. FYI, log likelihood function of zero truncated negative binomial is Y*ln(alpha*exp(xb)/(1+alpha*exp(xb))-ln(1+alpha*exp(xb))/alpha+ln Gamma(y+1/alpha)-ln Gamma(y+1)-ln Gamma(1/alpha)-ln(1-(1+alpha*exp(xb))^(-1/alpha). Thanks. SG Kim sgkim@utk.edu * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: st: zero truncated negative binomial (ztnb) with sampling weight***From:*Steve Samuels <sjsamuels@gmail.com>

- Prev by Date:
**st: RE: AW: RE: Correct labeling in egenmore axis()?** - Next by Date:
**Re: st: proportion confidence intervals <0 and >1 in MI SVY** - Previous by thread:
**st: AW: RE: Correct labeling in egenmore axis()?** - Next by thread:
**Re: st: zero truncated negative binomial (ztnb) with sampling weight** - Index(es):