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]
st: which -cmp- option to use for poisson model with count data?
From 
 
"Laura R." <[email protected]> 
To 
 
[email protected] 
Subject 
 
st: which -cmp- option to use for poisson model with count data? 
Date 
 
Fri, 27 Apr 2012 20:16:46 +0200 
Dear Stata users
Can -cmp- be used with count data, which would normally be estimated
using -poisson- in Stata? For example, the number of experts, ranging
from 0 to 5 in the data (but theoretically limited to >0) .
As this variable would be truncated (at 0, right truncated), I suppose
I should use the option -indicator($cmp_trunc)- when using -cmp-?
For example
*---------------------------- Stata example begin---------------------
cmp (experts=x1 x2 x3, trunc(0 .)), indicators($cmp_trunc)
*------------------------- Stata example end------------------------
would this be correct?
Thank you very much for your consideration.
Laura
*
*   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/