Announcement

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

  • Attaullah Shah
    replied
    Where do you want to report the sum of the lagged coefficients? Inside the regression table or outside?

    Leave a comment:


  • Pratap Pundir
    replied
    Originally posted by Pratap Pundir View Post
    If I am running a time-series or longitudinal regression with lags, e.g. l(0/12), is it possible to export a sum of the lagged coefficients?
    Attaullah?

    Leave a comment:


  • Pratap Pundir
    replied
    Originally posted by Pratap Pundir View Post
    Thanks! Now I am getting
    Code:
    func_nested_reg(): 3200 conformability error
    <istmt>: - function returned error
    Attaching do fine and data file: https://send.firefox.com/download/45...-V37Wne0evyyfQ
    Hmmm....looks like this problem occurs only if I run the file again. On closing Stata, and restarting Stata/do file, it ran just fine...

    But I do have another question: If I am running a time-series or longitudinal regression with lags, e.g. l(0/12), is it possible to export a sum of the lagged coefficients?

    Leave a comment:


  • Pratap Pundir
    replied
    Thanks! Now I am getting
    Code:
    func_nested_reg():  3200  conformability error  
                     <istmt>:     -  function returned error
    Attaching do fine and data file: https://send.firefox.com/download/45...-V37Wne0evyyfQ

    Leave a comment:


  • Attaullah Shah
    replied
    In the prevous post, I gave you the code to download from my site.i.e
    Code:
     
     net install asdoc, from(http://fintechprofessor.com) replace
    Currently, there is no simple way to drop a variable from one model and include it in others.

    Leave a comment:


  • Pratap Pundir
    replied
    Attaullah Shah Thanks for the quick fix. Much appreciated. Kindly advise how to get the new version from your website - I don't see a download link. At https://fintechprofessor.com/2018/01/31/asdoc/ I only see an ssc install command.

    Also, please advise how to drop something (e.g. _cons) from one model, but drop nothing in the other models...

    Leave a comment:


  • Attaullah Shah
    replied
    Pratap Pundir I have corrected the mentioned bug. Version 2.3.3.4 can be downloaded from my site. Once the version is stable, I shall send it to the SSC. Thanks for reporting this

    Code:
    net install asdoc, from(http://fintechprofessor.com) replace

    Leave a comment:


  • Pratap Pundir
    replied
    Originally posted by Attaullah Shah View Post
    I installed it thrice, however, I am getting the same error.
    Perhaps incompatible with your version of Stata (I have v15.1 and it works like a charm)
    Originally posted by Attaullah Shah View Post
    can you please download the data and send it to me
    Here it is https://send.firefox.com/download/ae...HBYnTV5KOWWziA
    If you use my .do file, just comment out lines 21 and 22.

    Leave a comment:


  • Attaullah Shah
    replied
    I installed it thrice, however, I am getting the same error. Since your copy is working fine, can you please download the data and send it to me through a Dropbox link.

    Leave a comment:


  • Pratap Pundir
    replied
    Originally posted by Attaullah Shah View Post
    the wbopendata program produces the following error and I cannot proceed.
    Code:
    command _countrymetadata is unrecognized
    Probably your install wasn't completed properly. Kindly install wpopendata from ssc again, and retry.

    I have been using wbopendata for a long time, and have never had a problem.

    Additionally, with respect to exporting xtreg, kindly advise how to choose which R^2 estimate (overall, within and between) to report in the table (on screen, Stata reports all 3).

    Leave a comment:


  • Attaullah Shah
    replied
    I tried to use your do file, however, the wbopendata program produces the following error and I cannot proceed.
    Code:
    command _countrymetadata is unrecognized

    Leave a comment:


  • Pratap Pundir
    replied
    Attaullah Shah Any word on #20 https://www.statalist.org/forums/for...83#post1489083

    Leave a comment:


  • Attaullah Shah
    replied
    Pratap Pundir good suggestions, thanks for taking interest in asdoc and pointing out areas for further improvements.

    Leave a comment:


  • Pratap Pundir
    replied
    Also, 2 issues about citation:
    1. Can you add an option `cite` that adds the citation below the exported output/table? In fact, would be nice if the option had parameters for format, e.g. cite(APA), cite(Harvard), etc
    2. Current suggested citation
    Shah, A. (2018). "asdoc: Create high-quality tables in MS Word from Stata output"
    is a bit sales-y. Perhaps a more academic/factual citation/credit such as
    Shah, A. (2018). "Stata table exported to Word with asdoc"

    Leave a comment:


  • Pratap Pundir
    replied
    Originally posted by Attaullah Shah View Post
    drop(i.qtr) should be included either in each line or in the last line
    What if what I want to drop occurs differs by each nested model, and for some I don't want to drop anything?
    So, for example, if I am doing a bunch of regressions, including couple of FE models, and want to drop _const from the FE models, but not from the other models, how do I go about it? Based on your explanation, if I put the drop(_cons) in the last line/model, then it will be removed from all, which is not what I want. Alternatively, I can add drop() to all models, except the FE models, where I add drop(_cons), but there the problem is that drop() doesn't work.

    Leave a comment:

Working...
X