Announcement

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

  • Package "ascol" error after "minor" Stata update: <istmt>: 3499 asrolnw() not found.

    Hey Statalisters,

    I did a minor update in Stata 18 today to November 15, 2023. I utilized the package, "ascol" from Attaullah Shah. However, with the new update, I encountered the following error: <istmt>: 3499 asrolnw() not found.
    I have reinstalled and updated the packages ascol and asrol, but the error persists.

    On Attaullah´s website (https://fintechprofessor.com/2018/12.../#comment-5872) I found example code and even there the error persisted:
    Code:
     log using asrol.smcl  clear  set obs 1000  gen date=date(“1/1/2012” , “DMY”)+_n  format %td date  tsset date  gen pr=10  replace pr=pr[_n-1]+uniform() if _n>1  gen simpleRi=(pr/l.pr)-1  gen logRi = ln(pr/l.pr)  save stocks,replace  set trace on  ascol simpleRi, toweek returns(simple)  set trace off  log close
    Did anyone also encounter the issue, and do you have a suggested solution?
    Last edited by Max he; 25 Nov 2023, 09:30.

  • #2
    I think I found the solution for my own problem. Maybe this helps someone in the future. By using the following command, I realised that asrol was twice installed in my packages. I now uninstalled ascol and asrol via ado uninstall and reinstalled it via ssc install.

    ado update
    ado uninstall [Number of Package that you want to uninstall, e.g. 19]
    ado uninstall [19]

    Comment

    Working...
    X