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

From |
Holly Kosiewicz <HKosiewicz@epe.org> |

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

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

Date |
Tue, 8 Sep 2009 14:45:46 -0400 |

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? Thanks again, Holly -----Original Message----- From: Martin Weiss [mailto:martin.weiss1@gmx.de] Sent: Tuesday, September 08, 2009 1:46 PM To: statalist@hsphsun2.harvard.edu Subject: st: RE: distribution curve with svy <> How about the second example in -help cumul-? 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 19:24 To: statalist@hsphsun2.harvard.edu Subject: st: distribution curve with svy Hi Statalist, I currently have a dataset that contains a sample of individuals; this dataset also contains a final weight variable that can be used to generate population estimates. I would like to draw a distribution curve of a variable that measures income, by the educational attainment level of the individual. The end goal is to see two distributional curves - each curve representing a population with a specific educational attainment level - one superimposed on the other, and compare them. Ideally, I would make these comparisons based on the population, not on the sample. The first thing that came to mind was a histogram command, but I noticed that the only curve that it can generate is a normal curve. That's not what I want. Then I thought about using a graph twoway scatterplot, but that too does not produce the distributional curve that I want. Any thoughts? Many thanks in advance. Best, Holly Kosiewicz, M.A. Research Associate Research Center Editorial Projects in Education, Inc. 6935 Arlington Road Bethesda, Maryland 20814 * * 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/ * * 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/

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

**st: RE: RE: RE: RE: RE: distribution curve with svy***From:*"Martin Weiss" <martin.weiss1@gmx.de>

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

**st: RE: distribution curve with svy***From:*"Martin Weiss" <martin.weiss1@gmx.de>

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

**st: RE: RE: RE: distribution curve with svy***From:*"Martin Weiss" <martin.weiss1@gmx.de>

- Prev by Date:
**st: RE: RE: RE: distribution curve with svy** - Next by Date:
**st: RE: RE: RE: RE: RE: distribution curve with svy** - Previous by thread:
**st: RE: RE: RE: distribution curve with svy** - Next by thread:
**st: RE: RE: RE: RE: RE: distribution curve with svy** - Index(es):

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