Announcement

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

  • Pratap Pundir
    replied
    Thank you!
    Are the following also already available?
    Originally posted by Pratap Pundir View Post
    it would be nice if asdoc could:
    1. Export to docx, instead of doc
    2. Send graphs to the Word document. Internal command putdocx already does this, but if I am using asdoc, I don't expect to create a separate document with putdocx just for the charts...
    3. Support for UTF8. At the moment, any letters with accents get messed up, and text export gets confused by common text symbols such as ' and )

    Leave a comment:


  • Attaullah Shah
    replied
    Pratap Pundir These options are available in asdoc, you can read section 4. Regressions
    Code:
    help asdoc
    In the following examples, I am using option add() to add additional text, keep() to keep only relevant variables and cnames() to change the column headers. `Option fe and re are options of xtreg command
    Code:
    webuse grunfeld
    asdoc xtreg invest mvalue kstock , fe add(Year dummies, no) nest replace cnames(FE)
    asdoc xtreg invest mvalue kstock i.year , re add(Year dummies, Yes) nest cnames(RE) keep(mvalue kstock )
    Last edited by Attaullah Shah; 16 Mar 2019, 02:30.

    Leave a comment:


  • John Riveros
    replied
    Greetings Dr Shah, VECM and VAR results cannot be displayed so easily in the current versions. It would be extremly useful to add this feature to asdoc as it could be able to show a decent output from VAR and VECM estimations.

    Leave a comment:


  • Rodrigo Badilla
    replied
    Dear Attaullah Shah

    Thanks for asdoc!. I am working with ANOVA analysis.
    Lamentably when I try to get an anova table with asdoc I just get a regression table with p-value to each level from independient variable and not like stata result.
    I wonder if exist some method to get a similar result to Anova table from stata. Example:

    Code:
    webuse lifeexp.dta, clear
    asdoc anova popgrowth  region
    stata result

    Code:
                               Number of obs =      68     R-squared     =  0.4345
                               Root MSE      = .710934     Adj R-squared =  0.4171
    
                      Source |  Partial SS    df       MS           F     Prob > F
                  -----------+----------------------------------------------------
                       Model |  25.2441263     2  12.6220631      24.97     0.0000
                             |
                      region |  25.2441263     2  12.6220631      24.97     0.0000
                             |
                    Residual |  32.8527857    65  .505427472   
                  -----------+----------------------------------------------------
                       Total |  58.0969119    67  .867118089
    With asdoc:
    Code:
    Regression results   
    popgrowth Coef. St.Err. t-value p-value [95% Conf Interval] Sig
    1b.region 0.000 . . . . .
    2.region 1.168 0.218 5.35 0.000 0.732 1.604 ***
    3.region 1.405 0.249 5.64 0.000 0.908 1.902 ***
    Constant 0.525 0.107 4.90 0.000 0.311 0.739 ***
    Mean dependent var 0.972 SD dependent var 0.931
    R-squared 0.435 Number of obs 68.000
    F-test 24.973 Prob > F 0.000
    Akaike crit. (AIC) 149.508 Bayesian crit. (BIC) 156.166
    Thanks in advance
    Regards
    Rodrigo

    Leave a comment:


  • Pratap Pundir
    replied
    I mean things such as longitudinal regressions (e.g. fixed effects) with xtreg.

    The output is exported, but not in publication ready format as promised. For one, in fixed effects models, what's the point of putting a constant in the table? Also, the table should indicate which fixed effects (e.g. in case of World Bank data, often countries and years are included). Similarly, for the R^2, a publication-ready table needs to show the isolated impact of the x variable, separate from the fixed effects. This is kind of what I expect to see when sending results of a fixed effects model to nested Word table (not talking about the aesthetics, but the content):
    Click image for larger version

Name:	asdoc.JPG
Views:	1
Size:	118.0 KB
ID:	1488299



    Finally, it would be nice if asdoc could:
    1. Export to docx, instead of doc
    2. Send graphs to the Word document. Internal command putdocx already does this, but if I am using asdoc, I don't expect to create a separate document with putdocx just for the charts...
    3. Support for UTF8. At the moment, any letters with accents get messed up, and text export gets confused by common text symbols such as ' and )
    Last edited by Pratap Pundir; 15 Mar 2019, 08:54.

    Leave a comment:


  • Attaullah Shah
    replied
    Pratap Pundir Can you specify which Stata command are referring to?

    Leave a comment:


  • Pratap Pundir
    replied
    Any plans for supporting longitudinal analyses?

    Leave a comment:


  • Attaullah Shah
    replied
    If you have a single regression, it is better to report the detailed regression table, which is the default in asdoc. To make that table, you do not need to add the wide or the nest option to the regression command. If you need further customization of the detailed regressions table, see this link.

    See the following example:

    Code:
    sysuse auto, clear
    asdoc reg price mpg rep78 headroom trunk weight length turn
    Click image for larger version

Name:	Untitled.png
Views:	1
Size:	64.2 KB
ID:	1487106

    Leave a comment:


  • Farah Ali
    replied
    Dear Dr Shah

    I am trying to create an output for my regression table using nest command. As my variables are not much, i would like to report t stat next to the coefficients not below them. I am not able to find the way to this. I have seen the wise command but i dont think thats suitable.

    Leave a comment:

Working...
X