Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Make 'By' variables column names in asdoc tabstat

    Hi,

    I am trying to create a tabstat output into asdoc where the 'by' variable options become the column headers:

    Here is my

    asdoc tabstat wage full_time age gender nation emp///
    if jahr == 2014, ///
    by(main_task_type)

    Currently looks like this:
    Daily Wage full time age Gender east emp
    Analytical non-routine 16.042 1 34.364 .227 .045 .545
    Cognitive routine 17.279 1 37.105 .474 .211 .737
    Interactive non-routine 16.157 1 36.500 .389 .114 .694
    Manual non-routine 12.35 1 39.731 .538 .292 .577
    Manual routine 18.927 1 41.796 .469 .125 .694
    Can this be done easily?

    Thanks,
Working...
X