Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: ZIP plotting interactions


From   "Dimitriy V. Masterov" <[email protected]>
To   Statalist <[email protected]>
Subject   Re: st: ZIP plotting interactions
Date   Tue, 11 Mar 2014 09:36:00 -0700

Elizabeth,

1) There's a nice example of continuous-factor interaction with
margins in this post:

http://www.stata.com/statalist/archive/2013-01/msg00293.html

It's not a ZIP, but the same logic applies.

2) It would be much easier to help if you show your code and error
messages exactly.

DVM

On Tue, Mar 11, 2014 at 3:23 AM, Elizabeth Aguirre Lopez
<[email protected]> wrote:
> I have acquired count data with an excess amount of zeros. Therefore, I
> have employed the zero-inflated poisson model.
>
> My main interest is to visualize the interaction between a categorical
> value (0/1) and a continuous variable. My model also contains a few
> covariates.
>
> I have tried to apply the prvalue command, however I always run into a
> conformability error r(503). I have checked my data, and I have no missing
> values.
>
> I have also tried to use the margins command, but it doesn't seem to
> work because my continuous variable is a not an integer.
>
> Does anyone have any other suggestions on what I can do?
>
> Thank you,
>
> Elizabeth
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index