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: Per JSL, maxcnt is now set at 40
From
Keith Naughton <[email protected]>
To
[email protected]
Subject
Re: st: Per JSL, maxcnt is now set at 40
Date
Mon, 05 Aug 2013 17:50:41 -0700
I e-mailed Dr. Long directly. He replied that the new maxcnt is 40.
Now hoping that bigger is better.
Keith Naughton
Ph.D. candidate
Sol Price School of Public Policy
----- Original Message -----
From: Richard Williams <[email protected]>
Date: Monday, August 5, 2013 3:39 pm
Subject: Re: st: Trouble with maxcnt command as part of prvalue calculations
To: [email protected], [email protected]
> Scott Long has just posted an update that raises the limit to 35.
> If that still isn't enough for you it is easy enough to just put
> the program into a text editor and change it to whatever you want.
> adoupdate isn't showing the update yet, at least on my machine, but
> you could probably run it tomorrow. Or you could probably do -
> findit spost9- and force it to install now.
>
> You could also probably just run the margins command to get what
> you want.
>
> At 05:24 PM 8/5/2013, Keith Naughton wrote:
> >Dr. Williams --
> >
> >Thank you very much for your comments.
> >
> >Desperate is a bit dramatic, but pretty close to accurate.
> >
> >I am a bit of a novice at Stata, so new code is a challenge, to
> say the least.
> >
> >Do you have a suggestion for an alternative to prvalue?
> >Again, I have a ZINB model with a DV of 0 to 95.
> >
> >I find the max of 30 flummoxing as well.
> >
> >Keith Naughton
> >Ph.D. candidate
> >Sol Price School of Public Policy
> >
> >----- Original Message -----
> >From: Richard Williams <[email protected]>
> >Date: Monday, August 5, 2013 2:16 pm
> >Subject: Re: st: Trouble with maxcnt command as part of prvalue
> calculations>To: [email protected],
> [email protected]>
> >> prvalue calls _pepred.ado. The code for that includes the
> following:>>
> >> *check if `maxcnt' specified to acceptable value
> >> local max_i = `maxcnt' /* how should this be set */
> >> if `max_i' < 0 | `max_i' > 30 {
> >> di in r "maxcnt() value not allowed"
> >> exit 198
> >> }
> >>
> >> If you have this desperate need to go above 30 I suppose you could
> >> tweak the code. I can't find my copy of Long and Freese's book but
> >> maybe it explains why they set a limit of 30.
> >>
> >> At 03:30 PM 8/5/2013, Keith Naughton wrote:
> >> >The model is a ZINB with a dependent variable range from 0 to 95.
> >> >
> >> >prvalue, x(party=1 retdlost=0 srty=12 hac=0 lead=0 cch=0 crnk=0
> >> cardinal=0 rankcard=0 reciprocal=.2) max(31)
> >> >maxcnt() value not allowed
> >> >r(198);
> >> >
> >> >
> >> >Keith Naughton
> >> >Ph.D. candidate
> >> >Sol Price School of Public Policy
> >> >
> >> >----- Original Message -----
> >> >From: Richard Williams <[email protected]>
> >> >Date: Monday, August 5, 2013 11:35 am
> >> >Subject: Re: st: Trouble with maxcnt command as part of prvalue
> >> calculations>To: [email protected],
> >> [email protected]>
> >> >> Do you want prcounts or prvalue? This is not the syntax for
> >> >> prcounts. See the help file. If still not clear, please cut and
> >> >> paste your exact syntax and the error Stata is giving you.
> >> >>
> >> >> At 01:10 PM 8/5/2013, Keith Naughton wrote:
> >> >> >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/
> >> >>
> >> >> -------------------------------------------
> >> >> Richard Williams, Notre Dame Dept of Sociology
> >> >> OFFICE: (574)631-6668, (574)631-6463
> >> >> HOME: (574)289-5227
> >> >> EMAIL: [email protected]
> >> >> WWW: http://www.nd.edu/~rwilliam
> >> >>
> >> >> *
> >> >> * 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/
> >>
> >> -------------------------------------------
> >> Richard Williams, Notre Dame Dept of Sociology
> >> OFFICE: (574)631-6668, (574)631-6463
> >> HOME: (574)289-5227
> >> EMAIL: [email protected]
> >> WWW: http://www.nd.edu/~rwilliam
> >>
> >> *
> >> * 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/
>
> -------------------------------------------
> Richard Williams, Notre Dame Dept of Sociology
> OFFICE: (574)631-6668, (574)631-6463
> HOME: (574)289-5227
> EMAIL: [email protected]
> WWW: http://www.nd.edu/~rwilliam
>
> *
> * 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/