Statalist


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

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


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   Re: st: Re: Classes of scores with associate quantities
Date   Mon, 13 Oct 2008 19:43:46 +0200

Not fully comprehending what you are trying to convey, my best guess is for -egen, total()- or -egen, rowtotal()- as a solution...

HTH
Martin
_______________________
----- Original Message ----- From: "Katia Bobulova" <[email protected]>
To: <[email protected]>
Sent: Monday, October 13, 2008 7:37 PM
Subject: Re: st: Re: Classes of scores with associate quantities


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 <[email protected]>:
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"
<[email protected]>
To: <[email protected]>
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/



*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index