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: RE: how can I create deciles by group?


From   Argyn Kuketayev <akuketayev@mail.primaticsfinancial.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: how can I create deciles by group?
Date   Wed, 6 Jul 2011 18:02:41 -0400

Nick

i'm still having trouble to make it work.

i have the variable "stub3", which shows the probability of failure.
then i have a variable called "dq", which indicates failures with
value 1, and 0 if no failure.

so i want to build a decile plot, where on X-axis - stub3, and in
Y-axis - the "actual" failure rate in this group.

cheers

On Wed, Jul 6, 2011 at 4:22 PM, Nick Cox <njcoxstata@gmail.com> wrote:
> I drew attention to an -egen- function written by Uli Kohler in that thread.
>
> Nick
>
> On Wed, Jul 6, 2011 at 8:56 PM, Argyn Kuketayev
> <akuketayev@mail.primaticsfinancial.com> wrote:
>> Nick
>>
>> I didn't like the solution with a loop. I'm going to try -egen- solution.
>>
>> I'm trying to reproduce the Figure 4 in this paper
>> http://grimshawville.byu.edu/ddmm.pdf
>>
>> cheers
>>
>> On Wed, Jul 6, 2011 at 3:46 PM, Nick Cox <njcoxstata@gmail.com> wrote:
>>> What's wrong with those answers?
>>>
>>> Nick
>>>
>>> On Wed, Jul 6, 2011 at 7:09 PM, Argyn Kuketayev
>>> <akuketayev@mail.primaticsfinancial.com> wrote:
>>>
>>>> is there a better way than describes in this thread?
>>>> http://www.stata.com/statalist/archive/2007-07/msg00469.html
> *
> *   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/
>



-- 
Argyn Kuketayev

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index