Hi Michele,
If you mean for each of the variables you want to create specific
intervals, and then put tabulations by interval for each variables
into a table, you will have to hand code those intervals, (unless the
are common across variables).
If you want a table of statistics by intervals of salary, then the
code below should work.
*non-entity specific
gen salcat=.
replace salcat=1 if salary<=100
replace salcat=2 if salary>100 & salary<=500
replace salcat=3 if salary>500
lab define salcatv 1 "<=100" 2 "100-500" 3 "500+"
statsby (.......), by(salcat)
Can you be any clearer about what the finished product should be?
On 6/22/05, Michele Favre M. <[email protected]> wrote:
>
>
>
> Hi,
>
> I have a panel data, one observation is the salary, and I want to create a
> table with intervals for the salary and other variables, for example 0-100
> 101-500 and so on… I want to know if is there a way to obtain the complete
> table or I have to extract each observation and make the table for my self?
>
>
>
>
>
> Thanks,
>
>
>
> Michele
*
* 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/