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

From |
"Katia Bobulova" <katia.bobulova@googlemail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Re: Classes of scores with associate quantities |

Date |
Mon, 13 Oct 2008 18:37:16 +0100 |

Dear Martin, thank you very much for your answer. I used egen cut()and in this way I dived my continuous score in classes, however I would need to do another thing now. I should associate to each class the quantity, I'll try to be more clear. For example, for class 0-1, I have a frequency of 95,969, however at each of this frequency is associated a different quantity(another variable) Thus, I would like to construct a table that illustrate for each class of score also the total quantity associated. Any idea on how to do? Thank you very much. Katia 2008/10/13 Martin Weiss <martin.weiss1@gmx.de>: > This is a little too terse for my taste, but for the score you might look at > -egen, cut()- and then go for -table-... > > HTH > Martin > _______________________ > ----- Original Message ----- From: "Katia Bobulova" > <katia.bobulova@googlemail.com> > To: <statalist@hsphsun2.harvard.edu> > Sent: Monday, October 13, 2008 6:56 PM > Subject: st: Classes of scores with associate quantities > > >> Dear all, >> >> I have a variable (Score) that give me the difference between each >> observation of that variable and a variable that I have chose as >> constant.I have also quantities associated at these scores. >> >> Now I would like to create a table, with classes of scores and >> quantities associated. >> >> For example: >> >> score qty >> 0 -1 2110 >> 1.5-2 5100 >> >> and so on..... >> >> Could you please help me? >> >> Thank you very much >> >> Katia >> * >> * 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: Classes of scores with associate quantities***From:*"Martin Weiss" <martin.weiss1@gmx.de>

**References**:**st: Classes of scores with associate quantities***From:*"Katia Bobulova" <katia.bobulova@googlemail.com>

**st: Re: Classes of scores with associate quantities***From:*"Martin Weiss" <martin.weiss1@gmx.de>

- Prev by Date:
**Re: st: RE: RE: symbol for ">=" in graph text box** - Next by Date:
**Re: st: RE: RE: symbol for ">=" in graph text box** - Previous by thread:
**st: Re: Classes of scores with associate quantities** - Next by thread:
**Re: st: Re: Classes of scores with associate quantities** - Index(es):

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