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: Trouble with maxcnt command as part of prvalue calculations


From   Keith Naughton <[email protected]>
To   [email protected]
Subject   Re: st: Trouble with maxcnt command as part of prvalue calculations
Date   Mon, 05 Aug 2013 11:10:02 -0700

Apologies --

The syntax is:

prcounts, x(party=1 srty=12 hac=0 lead=0 cch=0 crnk=0 cardinal=0 rankcard=0  reciprocal=.2) maxcnt(30)

Keith Naughton
Ph.D. candidate
Sol Price School of Public Policy

----- Original Message -----
From: Nick Cox <[email protected]>
Date: Monday, August 5, 2013 10:46 am
Subject: Re: st: Trouble with maxcnt command as part of prvalue calculations
To: "[email protected]" <[email protected]>

> This appears to refer to
> 
> package spost9_ado from http://www.indiana.edu/~jslsoc/stata
> 
> but there is no -maxcnt- command in that package. The syntax suggests
> that you are referring to the option of that name in the -prvalue-
> command, except that the syntax you quote does not name -maxcnt()- at
> all.
> 
> The authors of this package have not been active on Statalist in
> recent years, if ever. Users of this package may be able to help out,
> but if not I'd approach the authors directly.
> 
> Nick
> [email protected]
> 
> 
> On 5 August 2013 18:36, Keith Naughton <[email protected]> wrote:
> > I am having trouble with the maxcnt(n) command as part of the 
> spot9 suite from J. Scott Long for Stata 11  prvalue command.
> >
> > I am using Stata 11.0 for Windows.
> >
> > I am working on a zero-inflation (ZINB) model where the dependent 
> variable counts range from 0 to 95.  Using the following code:  
> prvalue, x(party=1 retdlost=0 srty=12 hac=0 lead=0 cch=0 crnk=0 
> cardinal=0 rankcard=0 reciprocal=.2) max(40).
> >
> > I receive the message:  "maxcnt() value not allowed r(198)"
> >
> > The problem is I need to calculate for counts above 30.
> >
> > Any suggestions?
> *
> *   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