Statalist


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

Re: st: countfit and inflate(_cons)


From   "Scott Merryman" <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: countfit and inflate(_cons)
Date   Wed, 29 Aug 2007 06:46:50 -0500

Rather than using -_cons- you could create your own constant:

sysuse auto,clear
replace rep = 0 if rep ==.
gen mycon =1
zip rep mpg gear ,inf(mycon, nocons) nolog

countfit rep gear mpg, inflate(mycon) noprtable ///
  nodash noestimates  zip prm

Scott


On 8/28/07, Garry Alan Anderson <g.anderson@unimelb.edu.au> wrote:
>
> Dear Statalisters,
>
> The inflate(_cons) option does not seem to be working with countfit.
> Countfit is a user-written command and can be found via -findit countfit-
> and spost9_ado
>
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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