Announcement

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

  • problems with twidth () title()

    hello stata users,

    i'm a stata 13 user, whenever i run my do file on tabout command with options like twidth() title() i get an error twidth() not allowed. for instance as in the ian watson's tabout guide

    tabout south race union sex using table1.tex, replace ///
    c(freq col) f(0c 1) style(tex) font(bold) twidth(11) ///
    title(Table 1: A Simple Example) fn(Source: nlsw88.dta)

    could anyone be having a solution to this?

    thanks

  • #2
    I have the same error.
    . tabout south race union sex using table1.tex, replace ///
    > c(freq col) f(0c 1) style(tex) font(bold) twidth(11) ///
    > title(Table 1: A Simple Example) fn(Source: nlsw88.dta)
    option twidth() not allowed
    r(198);

    end of do-file


    aarrggghhhh!!!!

    Asking Ian Watson for help....

    thanks

    Comment


    • #3
      I ran into this same problem today. The solution is in Ian Watson's tabout guide:

      http://tabout.net.au/downloads/tabout_user_guide.pdf

      Page 5 covers installation. I believe the twidth and title options only apply to tabout version 3, which is not yet the official version. The program for version 3 can be found here:

      http://tabout.net.au/downloads/main_version/tabout.txt

      Copy and paste that in a .txt file. After saving, change the extension to .ado, then move to your ado folder.

      Comment


      • #4
        Hi,

        I received "program error: code follows on the same line as open brace" as I attempted to run the following code:
        Code:
        tabout age sex income using independent.docx, replace ///
        style(docx) oneway c(col) f(1) clab(Col_%) font(bold) nlab(Sample size) ///
        title(Table 1: Descriptive Statistics) open
        Per suggestion above, I also downloaded the version 3 of tabout, but still didn't work.

        Look forward some guidance. Thank you very much!

        Comment


        • #5
          Greg Saldutte thanks worked.

          Comment


          • #6
            Greg Saldutte and how one can give a name to a sheet, by default it gives sheet1

            Comment

            Working...
            X