Re: SOS: how to fit the negative binomial distribution to a data,requiring the expectd frequency
- From: David Winsemius <doe_snot@xxxxxxxxxxx>
- Date: Sat, 19 Aug 2006 14:53:29 -0500
"epistat" <epistat@xxxxxxxxx> wrote in news:1155970916.167226.55670@
75g2000cwc.googlegroups.com:
Dear friends,
I met an urgent difficulty: I found the S-Plus or Matlab can fit the
NBD( negative binomial distribution ) with maximum likelihood
estimation, but only give the parameter values, How should i get the
corresponding expected frequency and chi-squre,likelihood-values?
Thanks very much!
It might depend on what you meant by "expected frequency" and "chi-square,
likelihood values". And it may depend on the parametrization.
The Wolfram website gives the mean of a NB as k(1-p)/p, whereas Freund says
it is k/p.
I would expect that a GLM function in S-Plus that was estimating a
parameter in a NB model would report a deviance. Was that what you were
looking for when you mentioned chi-square likelihood? Deviance could be
loosely described as -2*log(likelihood) and is asymptotically chi-squared.
See: http://www-stat.stanford.edu/~owen/courses/306a/Splusdiscrete2.pdf
(see p 69 of 256)
--
David Winsemius
.
- References:
- Prev by Date: SOS: how to fit the negative binomial distribution to a data,requiring the expectd frequency
- Next by Date: SAS career question
- Previous by thread: SOS: how to fit the negative binomial distribution to a data,requiring the expectd frequency
- Next by thread: SAS career question
- Index(es):
Relevant Pages
|
Loading