Sure! Here's a concise and clear version of your question in English, suitable for posting in a Stata forum:
Hi everyone,
I'm trying to create a descriptive statistics table for the variable unit_cost, broken down by five mutually exclusive categories defined by dummy variables:
Also, I’d like to include a "Total" row at the bottom showing the overall statistics for unit_cost.
Any help on how to do this properly would be greatly appreciated!
Thanks in advance.
Hi everyone,
I'm trying to create a descriptive statistics table for the variable unit_cost, broken down by five mutually exclusive categories defined by dummy variables:
- cat_constru = 1 → New Construction
- cat_rehab = 1 → Rehabilitation
- cat_up = 1 → Upgrading
- cat_maint = 1 → Maintenance
- cat_na = 1 → N/A
- Mean
- Standard deviation
- Minimum
- Maximum
- 25th percentile
- Median (p50)
- 75th percentile
- Number of observations
Also, I’d like to include a "Total" row at the bottom showing the overall statistics for unit_cost.
Any help on how to do this properly would be greatly appreciated!
Thanks in advance.
Comment