[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
philippe van kerm <philippe.vankerm@ceps.lu> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
RE: st: RE: RE: RE: RE: distribution curve with svy |

Date |
Wed, 9 Sep 2009 16:03:23 +0200 |

findit kdensity and you might also want to consider (generalized) Lorenz curves for looking at distributions findit glcurve Good luck Philippe > -----Message d'origine----- > De : owner-statalist@hsphsun2.harvard.edu [mailto:owner- > statalist@hsphsun2.harvard.edu] De la part de Holly Kosiewicz > Envoyé : Wednesday, September 09, 2009 2:15 PM > À : statalist@hsphsun2.harvard.edu > Objet : RE: st: RE: RE: RE: RE: distribution curve with svy > > The cumulative distribution graphs good look. Is there way to draw a > distribution curve, using population weights, that looks like a bell > curve? > > Many thanks again. > > > > -----Original Message----- > From: Holly Kosiewicz [mailto:HKosiewicz@epe.org] > Sent: Wednesday, September 09, 2009 8:03 AM > To: statalist@hsphsun2.harvard.edu > Subject: RE: st: RE: RE: RE: RE: distribution curve with svy > > Steve, Nick, and Martin, > > I figured it out - I typed two equal signs between fweights and my > weights. Sorry! > > Thanks for bearing with me! > > Best, > Holly > > -----Original Message----- > From: sjsamuels@gmail.com [mailto:sjsamuels@gmail.com] > Sent: Tuesday, September 08, 2009 4:16 PM > To: statalist@hsphsun2.harvard.edu > Subject: Re: st: RE: RE: RE: RE: distribution curve with svy > > Holly, > > To show us exactly what you typed (and what Stata reported), paste > your commands and error message directly from the Stata log or results > window into your email. > > The FAQ suggest that if you have a strange error, you try to reproduce > it with a standard data set. In Stata Version 10, I just ran the > following with no errors. How about you? > > ********************************************** > sysuse auto,clear > cumul mpg if foreign==1 [fweight=rep78], gen(cmpg) > *********************************************** > -Steve > > On Tue, Sep 8, 2009 at 3:20 PM, Holly Kosiewicz<HKosiewicz@epe.org> > wrote: > > Hi Steve, > > > > My weights are integers. > > > > Holly > > > > -----Original Message----- > > From: sjsamuels@gmail.com [mailto:sjsamuels@gmail.com] > > Sent: Tuesday, September 08, 2009 3:18 PM > > To: statalist@hsphsun2.harvard.edu > > Subject: Re: st: RE: RE: RE: RE: distribution curve with svy > > > > -- > > Frequency weights (fweights) must be integers, but your survey > > weights probably are not in general To convert the survey weights to > > proportional frequency weights equivalent to two decimal places > (which > > should be more than enough): > > > > gen fwt_new =round(100*pwgt,1) > > > > and use that for your fweight. > > > > I > > -Steve > > > > On Tue, Sep 8, 2009 at 2:45 PM, Holly Kosiewicz<HKosiewicz@epe.org> > > wrote: > >> I know Stata is a bit finicky at times, but I just eliminated the > > space and Stata is still telling me I am using invalid syntax. The > space > > is not the problem. > >> > >> -----Original Message----- > >> From: Martin Weiss [mailto:martin.weiss1@gmx.de] > >> Sent: Tuesday, September 08, 2009 2:42 PM > >> To: statalist@hsphsun2.harvard.edu > >> Subject: st: RE: RE: RE: distribution curve with svy > >> > >> > >> <> > >> No blank after -gen-! Just " gen(incdrop)" > >> > >> > >> HTH > >> Martin > >> > >> > >> -----Original Message----- > >> From: owner-statalist@hsphsun2.harvard.edu > >> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Holly > > Kosiewicz > >> Sent: Dienstag, 8. September 2009 20:28 > >> To: statalist@hsphsun2.harvard.edu > >> Subject: st: RE: RE: distribution curve with svy > >> > >> Hi Martin, > >> > >> Thanks very much for your help. It seems as though this command may > > work. > >> Unfortunately, when I type "cumul pincp if dropout==1 > [fweight=pwgpt], > > gen > >> (incdrop)", stata tells me I am using an invalid syntax. It seems as > > though > >> I am following the syntax given in the help window for cumul so I > > can't tell > >> where Stata is finding the error. > >> > >> Any thoughts? > > > > -- > > Steven Samuels > > sjsamuels@gmail.com > > 18 Cantine's Island > > Saugerties NY 12477 > > USA > > 845-246-0774 > > * > > * 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/ > > > > > > > > * > > * 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/ > > > > > > -- > Steven Samuels > sjsamuels@gmail.com > 18 Cantine's Island > Saugerties NY 12477 > USA > 845-246-0774 > > * > * 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/ > > > > * > * 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/ > > > > * > * 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/ * * 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/

**References**:**st: distribution curve with svy***From:*Holly Kosiewicz <HKosiewicz@epe.org>

**st: RE: RE: distribution curve with svy***From:*Holly Kosiewicz <HKosiewicz@epe.org>

**st: RE: RE: RE: RE: distribution curve with svy***From:*Holly Kosiewicz <HKosiewicz@epe.org>

**Re: st: RE: RE: RE: RE: distribution curve with svy***From:*sjsamuels@gmail.com

**RE: st: RE: RE: RE: RE: distribution curve with svy***From:*Holly Kosiewicz <HKosiewicz@epe.org>

**Re: st: RE: RE: RE: RE: distribution curve with svy***From:*sjsamuels@gmail.com

**RE: st: RE: RE: RE: RE: distribution curve with svy***From:*Holly Kosiewicz <HKosiewicz@epe.org>

**RE: st: RE: RE: RE: RE: distribution curve with svy***From:*Holly Kosiewicz <HKosiewicz@epe.org>

- Prev by Date:
**st: Obtaining marginal effects and standard errors for a recursive bivariate probit model** - Next by Date:
**st: mfx after xtlogit** - Previous by thread:
**RE: st: RE: RE: RE: RE: distribution curve with svy** - Next by thread:
**st: round values from stata to excel** - Index(es):

© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |