Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: Re: st: marginal effects for ZINB with interactions andsquared terms

From   "Rullani Francesco" <>
Subject   Re: Re: st: marginal effects for ZINB with interactions andsquared terms
Date   Mon, 06 Mar 2006 12:19:36 +0100

interactions and squared terms

Have you read

A good place to start.
thanks a lot for the links.
However, the problem I've found is that mfx and margeff do not recognize interactions and squared terms, while nlcom and predictnl do account for that but need to be fed with the derivative of the function used in the model. If it is a logistic (for logit) or normal (probit), it is easy, but a ZINB is a nested model, and I don't know how to analytically compute it (and I could not find any source about it).
Do you know how I can "skip" this problem? (if I'm not wrong, stata uses a numerical procedure, so that it could calculate the derivative of virtually whatever function).
Thanks, Francesco

On 3/3/06, Rullani Francesco <> wrote:
I am estimating a model with interactions:
and squared terms:
using a zero-inflated negative binomial regression (ZINB)
because of overdispersion and excess of zeros in the data.
Does anyone know how I can obtain marginal effects and
their standard errors, given that mfx and margeff do not
"know" that I have interactions and squared terms?

*   For searches and help try:

© Copyright 1996–2020 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index