Announcement

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

  • How can I learn to write Ado file

    Hello Sir,

    I want to write ado files to modify "tab" command so that I can get the desired output pattern.

    To illustrate,

    for bivariate analysis, I want instead of showing a table for each variable Stata will provide one table for all variables where there will be a column for the variable name, another column will show the category, a column will show frequencies, and a column will present p-value (instead of reporting below). How can I do this? Can anyone help?

  • #2
    Kit Baum's "An Introduction to Stata Programming" (https://www.stata.com/bookstore/intr...a-programming/) is where I started from. Kit actually provides much more than an introduction, it's more like an introduction and an advanced course in one book.

    Comment


    • #3
      Hi Hong,

      thank you for the suggestion.

      Adiba

      Comment


      • #4
        Hong Il Yoo Agreed, the book is both a good intro and an advanced treatment.

        Although, I fear that modifying the tab command to make a table in a certain way is a little like making your own V8 Mercedes engine because your current one isn't precisely as one wants it to be.

        Comment

        Working...
        X