Announcement

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

  • Adding a "fast" option to csdid

    I have a recommendation for the csdid command. But it could just as easily be applied to many regression commands. Please pardon any of my ignorance.

    Developers can add a "fast" option to regressions. The fast option would 'drop' all observations that are not included in the model estimation, due to missing values or other unmet criteria for estimation (which is model specific). This would reduce the memory burden of estimations when the data set is large and has many observations that are not used in the estimation.

    This could reduce the processing time.

    Right now, a work-around is to run a regression, then use 'predict' to create predicted values. Observations without a predicted value can be dropped, then the same regression can be re-run more quickly. The downside is that the initial regression can still be time consuming. It would be nice to have an option for 'self-cleaning' data that drops observations at optimal steps during the estimation process.

    Another partial work-around is to drop observations with missing values for variables that are included in an estimation. But some models have additional criteria for omitting observations.





  • #2
    Hi Zachary
    thank you for the suggestions. I will try adding those to csdid. However, you may be interested in knowing I wrote an alternative faster version of csdid: csdid2

    to install it, please visit: https://friosavila.github.io/chatgpt/fra_03_30_2023/
    once you run the fra program once type:
    fra install fra
    fra install csdid2

    check here: https://github.com/friosavila/stpack...ee/main/csdid2
    for some of the option changes

    Fernando


    Comment


    • #3
      Awesome, FernandoRios !
      Thanks very much for everything that you are doing!
      Do you know if there is a way that I can 'follow' you or otherwise get updates about new command versions or updates?

      Comment


      • #4
        I think you can joint or star my github
        https://github.com/friosavila/stpackages
        this will be my personal repository (for ados that do not see the light in SSC just yet and those that do)

        Comment

        Working...
        X