Announcement

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

  • Moritz Scheidenberger
    replied
    After all these hours of searching, you saved my day Sir!
    From the bottom of my heart, thank you!
    hope you have a great day, you deserve it!

    Leave a comment:


  • Attaullah Shah
    replied
    joel hicks Thanks for reporting this. I shall come back with a fix.

    Leave a comment:


  • joel hicks
    replied
    I am having problems with using the "label" command with factor variables in regressions. Although the reg command displays my label names associated with factor variables, the asdoc reg command does not. It just lists "1" "2", etc. with the variable name.

    Leave a comment:


  • Attaullah Shah
    replied
    asdoc has been updated on SSC, thanks to Prof. Kit Baum. This is Version 2.3.4.1: Changes made June 15, 2019:

    The updated version has fixed several issues and added all those features which were requested in the above posts or on my website. I shall post details in a later post. The updated version can be installed by
    Code:
    ssc install asdoc, replace
    help asdoc

    Leave a comment:


  • River Huang
    replied
    Dear Attaullah, Thanks a lot. It works well.

    Leave a comment:


  • Attaullah Shah
    replied
    River Huang I have added p95 statistics to the stat option. Please check and let me know if there is any issue
    To install this new version, please use the following line of code
    Code:
     
     net install asdoc, from(http://fintechprofessor.com) replace

    Leave a comment:


  • River Huang
    replied
    Dear Attaullah, Could you please add an extra option in your helpful asdoc? In particular, the option p95 is not available.
    Code:
     asdoc sum, stat(N mean sd p5 p25 p50 p75 p95) replace

    Leave a comment:


  • River Huang
    replied
    Dear Attaullah, Thanks for the suggestions. I will give it a try.
    Last edited by River Huang; 02 Jun 2019, 18:16.

    Leave a comment:


  • Attaullah Shah
    replied
    This can be done with one click inside MS Word. I can do it programmatically but would need some time. Till then, the quick fix is shown below in a picture. These are the steps"
    1. Click inside the given table
    2. The Table tools menu appears
    3. Click on Layout
    4. Click on Autofit
    5. Click on Autofit Contents
    Click image for larger version

Name:	Untitled.png
Views:	1
Size:	145.1 KB
ID:	1501239

    Leave a comment:


  • River Huang
    replied
    Dear Attaullah, I ran the following code (I have also updated the asdoc code via net install asdoc, from(http://fintechprofessor.com) replace)
    Code:
    sysuse nlsw88.dta, clear
    asdoc pwcorr age ttl_exp hours grade race wage, star(all) nonum replace
    and got this result in Word format
    Click image for larger version

Name:	asdoc-all.png
Views:	1
Size:	23.3 KB
ID:	1501234

    I wonder if the stars can be aligned some ways? Thanks.

    Leave a comment:


  • Liu Qiang
    replied
    Originally posted by Attaullah Shah View Post
    Dear Liu Qiang
    I have added support for bootstrap regressions in asdoc.

    This beta version can be installed from my site.
    Code:
    net install asdoc, from(http://fintechprofessor.com) replace
    An Example

    Since the bootstrap command has a complex syntax structure, I have separated it from asdoc. So first we shall enter the full bootstrap command and then use replay command with asdoc. See the following example.

    Code:
    clear all
    sysuse auto, clear
    bootstrap _b, reps(100): qreg price weight length, quantile(10)
    
    asdoc replay, nest save(result1) replace cnames(Q10)
    
    bootstrap _b, reps(100): qreg price weight length, quantile(20)
    asdoc replay, save(result1) nest cnames(Q20)
    [ATTACH=CONFIG]n1501131[/ATTACH]
    Many thanks. This is extremely helpful and what I really want!

    Leave a comment:


  • Attaullah Shah
    replied
    Dear Liu Qiang
    I have added support for bootstrap regressions in asdoc.

    This beta version can be installed from my site.
    Code:
      
     net install asdoc, from(http://fintechprofessor.com) replace
    An Example

    Since the bootstrap command has a complex syntax structure, I have separated it from asdoc. So first we shall enter the full bootstrap command and then use replay command with asdoc. See the following example.

    Code:
    clear all
    sysuse auto, clear
    bootstrap _b, reps(100): qreg price weight length, quantile(10)
     
     asdoc replay, nest save(result1) replace cnames(Q10)
     
     bootstrap _b, reps(100): qreg price weight length, quantile(20)
     asdoc replay, save(result1)  nest cnames(Q20)
    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	41.6 KB
ID:	1501131

    Last edited by Attaullah Shah; 01 Jun 2019, 13:02.

    Leave a comment:


  • Liu Qiang
    replied
    Originally posted by Attaullah Shah View Post
    Liu Qiang can you please provide a dataset and the code which you want to use with asdoc. Also, how would you like the results to look like?
    Yes. Firstly, thank you for your reply. Here is an example:
    Code:
    clear all
    sysuse auto,clear
    asdoc bootstrap _b, reps(100): qreg price weight length, quantile(10) save(result1) replace
    asdoc bootstrap _b, reps(100): qreg price weight length, quantile(20) save(result1) append
    when I add the option nest, an error occurs. I just want to report the results similar with the codes like:
    Code:
    sysuse auto,clear
    asdoc reg price weight, save(myresult) nest replace
    asdoc reg price weight length, save(myresult) nest append
    or have I missed something important that could meet my goal with the current version of -asdoc-. I would be grateful for your advice if you can help with my question.

    Leave a comment:


  • Attaullah Shah
    replied
    Liu Qiang can you please provide a dataset and the code which you want to use with asdoc. Also, how would you like the results to look like?

    Leave a comment:


  • Liu Qiang
    replied
    Dear Pro. Attaullah Shah, may I raise a request on including the bootstrap results in a nested option to asdoc in the future? I've encountered such a problem after running a bootstrap to get the confidence intervals of the coefficients. It seems the nest option can not work.

    Leave a comment:

Working...
X