About 50 results
Open links in new tab
  1. Using stata via VS Code - Statalist

    Mar 11, 2024 · Dear Stata users, I was wondering what options one has to run stata from VS Code. I know of the following and was wondering whether I'm overlooking something.

  2. Stata command to summarize data by "mode" - Statalist

    Feb 27, 2015 · Stata command to summarize data by "mode" 27 Feb 2015, 16:45 Hi all, I need to create a table to summarize my data. This table should have a column for "mode" in addition …

  3. Help - Statalist

    Apr 11, 2025 · 12.3 How to use CODE delimiters for code, results, and data Stata code (i.e. the exact commands issued) and the results of code are very much easier to read if presented as …

  4. Event Study: best commands and how to do - Statalist

    Nov 29, 2021 · I am trying to work on creating event study plots and I am curious what the best command to do this is, and any advice on how to do this. Currently, I am

  5. ARDL: updated Stata command for the estimation of ... - Statalist

    Mar 13, 2018 · Stata command (some of the slides are now outdated): Kripfganz, S. and D. C. Schneider (2016). ardl: Stata module to estimate autoregressive distributed lag models.

  6. breaking a command line into multiple lines in a do-file

    Aug 25, 2015 · Hi, I am using /// to break long lines of Stata commands into multiple lines to improve readability of my do-files. It works in the case of command such as -twoway- (i.e. the …

  7. median value in STATA - Statalist

    Oct 29, 2018 · FWIW the SSC version of univar was superseded by an update in the Stata Technical Bulletin in 1999. It's a little elusive unless you know what you're looking for --- a …

  8. "find and replace" words in Stata code - Statalist

    May 10, 2018 · I often find I want to make my generic Stata code suit the specifics of my dataset/output. So, in the example below, I want to replace the generic word "outcome" (and …

  9. Fama & French 12 industries classification in STATA

    May 25, 2015 · Definitely not Stata code in that file. The task you face is tedious, but not at all difficult. It can be done with a long list of simple commands. You don't state whether the SIC …

  10. Replace command - Statalist

    Jan 8, 2019 · Hello am new to stata, the task that am trying to achieve is to replace a numeric value with a string, but it keeps on saying type mismatch. However the type of the variable is str8.