asdocx: Export from Stata to Word, Excel, LaTeX & HTML Forums asdocx Forum Change the column headers with asdocx using cnames()

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Ben Hando
    Guest
    Post count: 10

    Hi Dr. Shah – I don’t know if this is an issue with logistic regression or with using a Mac, but the options just don’t seem to work. I.e. here is a document with my code for a nested table and the table. I can’t seem to change the column headers despite putting the cnames() option in there.

    My question: Does the nested table option work with logistic regression? And if I stick with this, will I be able to format it so it just includes Model name in the column with OR’s(95% CI) and p-values? If it’s possible I will keep working on it, but I’m starting to think it’s not feasible with this program.

    THanks again,

    Ben

    Dr. Attaullah Shah
    Keymaster
    Post count: 106

    Hello Ben
    I have fixed the issue of cnames(). You can update the asdocx by

    asdocx_update

    Following is an example and the output generated by asdocx

      sysuse auto, clear
      asdocx reg price mpg rep78, nest replace cnames(Base) replace label
    
    * Add variable headroom and then nest with existing table
      asdocx reg price mpg rep78 headroom, nest label cnames(Headroom)
    
    * Add variable weight and then nest with existing table
      asdocx reg price mpg rep78 headroom weight, nest label cnames(Weight)
    

    asdocx nested regression

    Ben Hando
    Guest
    Post count: 10

    HI Dr. Shah,

    Thanks so much for this generous and thoughtful reply. It is a great service that you provide and I hope you obtain more customers as asdocx is a great product.

    Ben

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.