# Re: st: Calculating the Medians among group categories

 From "Marcella Sapun" <[email protected]> To <[email protected]> Subject Re: st: Calculating the Medians among group categories Date Tue, 30 Jan 2007 12:01:00 -0500

```Thank for your response..

You, Austin and Alan have been very helpful. Thanks.

MS.

>>> Clive Nicholas <[email protected]> 1/29/2007 9:52 PM
>>>
Marcella Sapun:

> I need to get the median rents for a group of renters living in
> 2-bedroom occupied housing units. I don't have the actual raw data
set
> to derive the medians. But I have a table with the following
information
> on the following Renter-Occupied categories:
>
> Categories:                            Estimate total#
>
-------------------------------------------------------------------------
> 2-bedrooms:                          15,223,372
> with cash rent:                      14,449,016
> < \$200                                   335,924
> \$200 to \$299                         385,018
> \$300 to \$499                         1,849,604
> \$500 to \$749                         4,898,457
> \$750 to \$999                         3,803,812
>> \$1000                                3,176,201
> no cash rent                          774,356
>
--------------------------------------------------------------------------
>
> Does someone have any ideas to compute the median rent (i.e cash
rent
> and no cash rent) among all the groups. Can I do this in STATA?

If you had the data then you could simply

. tabstat y, by(x) stats(p50)

Hope that helps.

CLIVE NICHOLAS        |t: 0(044)7903 397793
Politics              |e: [email protected]
Newcastle University  |http://www.ncl.ac.uk/geps

Whereever you go and whatever you do, just remember this. No matter
how
many like you, admire you, love you or adore you, the number of people
turning up to your funeral will be largely determined by local weather
conditions.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```