You might try checking the command "egen"
egen group_varA = cut(varA) , group(x) label
this will group varA into x groups with approx. the
same frequency. Is this what you wish to do?
-Allen Buxton
--- tpolcyn <[email protected]> wrote:
> Hello,
> After many unfruitful hours perusing STATA manuals
> and the Archives, I thought
> it might be best to query the knowledgeable group on
> the listserve.
>
> One of my independent variables for my panel dataset
> ranges from a scale of 1
> to 7. My professor therefore suggested that I
> investigate ologit and oprobit
> models for my regressions. Unfortunately, my
> dependent variables are
> uncooperative in this respect because they all have
> a range of more than 50
> categories.
>
> I have looked at a kdensity of my dependent
> variables and used the tabulate
> command for assistance in determining where to
> impose cut points. I am aware
> of "hordered" which performs a Hausman-type
> specification test whether
> categories in a ologit or oprobit model can be
> joined or dropped. To this end
> it estimates another ologit/oprobit model with a
> collaped response.
>
> My question though is how do I go about grouping my
> data? How do I divide my
> data into for example three ordered groups? I think
> I am missing some basic
> STATA manipulation....
>
> Many thanks,
> Tania Polcyn
>
> Master's of Development Economics
> Dalhousie University
> Halifax, Canada
>
> *
> * 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/