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: predict, condpb


From   Stefan Bernhard <[email protected]>
To   statalist <[email protected]>
Subject   Re: st: predict, condpb
Date   Tue, 6 Aug 2013 15:16:23 +0200

Yeah I did that because I thought maybe it does some alterations to
-predict-, but that is not the case, still not allowed option :/
best stefan bernhard,

2013/8/6 Kieran McCaul <[email protected]>:
> ...
>
>
> Looks like you have to download -nlogitrum-
>
> Type: search nlogitrum
> And click on the link.
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Stefan Bernhard
> Sent: Tuesday, 6 August 2013 8:00 PM
> To: statalist
> Subject: Re: st: predict, condpb
>
> Thanks for the reply nick,
>
> but I tried all version #: from 1 to 11 now and always the error "option condpb not allowed".
>
> I found a stata-journal article from 2002 where the syntax of predict looks like this:
>
> predict  type newvarname  if exp  in range  , statistic
>
> Where the condpb and pb were set with statistic.
>
> http://www.stata-journal.com/sjpdf.html?articlenum=st0017
>
> It seems like that was for Stata 7 and the predict command has undergone significant changes sometime in between. Or could it have to do anything with having to run nlogitrum first? (In the do-file, the predict is after an nlogit)
>
> best, stefan bernhard,
>
> 2013/8/6 Nick Cox <[email protected]>:
>> Try a prefix such as
>>
>> version 5: predict x1, condpb
>>
>> for any value of "5" that works.
>>
>> See also the -help- for -version-.
>>
>> Nick
>> [email protected]
>>
>>
>> On 6 August 2013 12:08, Stefan Bernhard <[email protected]> wrote:
>>> dear statalisters,
>>>
>>> i have a do file that was written some time ago that contains
>>>
>>> predict x1, condpb
>>> predict x2, pb
>>>
>>> apparently, the options condpb and pb are no longer allowed in newer
>>> versions of stata (I use stata 12).
>>>
>>> Is there any way to do whatever those options did before (I just want
>>> to replace these commands with something that gives me the same
>>> output as those would have in an older version of stata)?
>>>
>>> best, stefan bernhard,
>>> *
>>> *   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/
> *
> *   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/
*
*   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