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: How to plot cdf after corrected kernel density


From   "Jain, Monica (HarvestPlus)" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: How to plot cdf after corrected kernel density
Date   Fri, 4 Oct 2013 14:45:46 +0000

Thank you all so much for your very useful input. I am sorry, I should have been more concrete with my example. I have small sample data on the number of days a child 
is sick for two time periods 1996 and 2006 for Bangladesh. I wanted to show the improvement in sickness over time visually. Therefore, I wanted to use smoothing 
techniques like kernel density, for nicer looking plots, and not for numerical estimation. For numerical testing of improvement over time I am using Somers D statistic. 

As there are a lot of zeros in the data, I wanted to use  -kdens- command which can correct for lower bound. I am using linear combination technique for boundary 
correction.  As the -kdens- program does not generate smoothed cdf like -akdensity- does, I have to do it separately. With the use of -integ- command I have been 
able to get the smoothed CDF. For visualization purposes, this crude integration methods seems to be working with my data. Please correct me if I should be doing something different. 

Regards,
Monica


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