asdocx: Export from Stata to Word, Excel, LaTeX & HTML Forums asdocx Forum asdoc fails to report the p-values and chi-square

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Macarena Gonzalez
    Participant
    Post count: 1

    Dear Prof,

    I have run into a problem using the asdoc command below. Stata report the p-values/chi-square but asdoc fails to report the p-values and chi-square. Please any work around?

    
    foreach var of varlist wpreccare-lknowledg {
     tab `var' studyarm,col chi
    }
    
     
    
    
    foreach var of varlist wpreccare-lknowledg {
       asdoc tab `var' studyarm,col chi
      asdoc, text(Chi2 = r(chi2)'  Pr =r(p)' )
    }
    
    Attaullah Shah
    Moderator
    Post count: 76

    This feature was added to asdocx (https://fintechprofessor.com/asdocx/), see this example

    sysuse nlsw88
    asdocx tab age race, chi replace

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