Announcement

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

  • Outreg2 for chi squared tables

    Hi,

    Suppose my command for a table is

    "tabulate y x, chi column"

    How can I use the outreg2 command to transfer this into a word document

    Thanks

  • #2
    Here is how it can be done with asdoc
    Code:
    ssc install asdoc, replace
    
    sysuse auto, clear
    asdoc tabulate rep78 foreign, col replace
    tabulate rep78 foreign, chi
    asdoc, text(Chi Square value is = `r(chi2)'; P-value = `r(p)')
    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	27.1 KB
ID:	1551434
    Regards
    --------------------------------------------------
    Attaullah Shah, PhD.
    Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
    FinTechProfessor.com
    https://asdocx.com
    Check out my asdoc program, which sends outputs to MS Word.
    For more flexibility, consider using asdocx which can send Stata outputs to MS Word, Excel, LaTeX, or HTML.

    Comment


    • #3
      hello Attaullah Shah sir,
      could you please help me out with Oaxaca decomposition technique

      Comment

      Working...
      X