Announcement

Collapse
No announcement yet.
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Stata 19 is released!

    I am excited to let you be the first to know that Stata 19 is now available. Statalist is always the first to know!

    Highlights include
    • Machine learning via H2O: Ensemble decision trees
    • Conditional average treatment effects (CATE)
    • High-dimensional fixed effects (HDFE)
    • Bayesian variable selection for linear model
    • Interval-censored multiple-event Cox model
    • Meta-analysis for correlations
    • Correlated random-effects (CRE) model
    • Panel-data vector autoregressive (VAR) model
    • Bayesian bootstrap
    • Control-function linear and probit models
    • Bayesian quantile regression
    • Bayesian asymmetric Laplace model
    • Inference robust to weak instruments
    • SVAR models via instrumental variables
    • Instrumental-variables local-projection IRFs
    • Mundlak specification test
    • Latent class model-comparison statistics
    • Do-file Editor: Autocompletion, templates, and more
    • Graphics: Bar graph CIs, heat maps, and more
    • Tables: Easier tabulations, exporting, and more
    • Multiple datasets: Modify a set of frames
    • Stata in French
    And more. Visit stata.com/new-in-stata for all the details. You can also visit stata.com/help.cgi?whatsnew18to19 for the nitty gritty on every single change from Stata 18 to Stata 19.

    Those of you with StataNow already received some of these features along the way in updates to StataNow. And, those of you with StataNow are eligible for an automatic upgrade to StataNow 19. Watch your inbox for an email from us with instructions on how to request your upgrade.

  • #2
    Thanks Alan. Thanks to Statanow, new releases aren’t as exciting as they used to be! I’m not even sure which of the “new” features I don’t already have. Many of the new things are not things I personally want, but I am sure they will make others very happy.
    -------------------------------------------
    Richard Williams, Notre Dame Dept of Sociology
    StataNow Version: 19.5 MP (2 processor)

    EMAIL: [email protected]
    WWW: https://www3.nd.edu/~rwilliam

    Comment


    • #3
      How can I update my StataNow 18.5 to 19?

      When I do `update query` or `update all` I get the Stata 19 availability announcement but also that:
      Code:
      Possible actions
      
          Do nothing; all files are up to date.

      Comment


      • #4
        Great stuff; thanks Alan Riley (StataCorp) and everyone at StataCorp!

        Assuming I translated these dates correctly, then here’s a bit of trivia: this is the first time back-to-back releases of Stata have had spent the same time in-the-making.
        Click image for larger version

Name:	StataReleases.png
Views:	1
Size:	72.3 KB
ID:	1775641



        Code in case anyone wants to check/fix the dates
        Code:
        version 19
        clear
        input byte(version) int(date)
             1 300
             2 341
             3 386
             4 420
             5 440
             6 468
             7 491
             8 516
             9 543
            10 569
            11 594
            12 618
            13 641
            14 663
            15 689
            16 713
            17 735
            18 759
            19 783
        end
        
        gen int gap = (date[_n]-date[_n-1])
            replace gap = 0 if version==1
        format version %2.0f
        format date %tmMon_CCYY
        lab var version "Version #"
        lab var gap "Months since previous release"
        
        twoway (dropline gap version, hor base(0) msym(o) mlab(date) mlabc(black)) ///
            , ///
            ysca(reverse noline) ylab(1(1)19, nogrid noticks) ///
            xsca(range(0 52) noline noextend) xlab(0 "." 12(6)48, noticks) ///
            title("Stata releases") legend(off) ysize(7) xsize(5.5)
        Last edited by Tim Morris; 09 Apr 2025, 09:32.

        Comment


        • #5
          You will receive an email from us with instructions on how to request your free upgrade to StataNow 19. Because it is a major version change, it does still require that you install the new version rather than simply update to it. All current StataNow users will receive download instructions and new license codes from us for the new version.

          Comment


          • #6
            I'm not sure if it is a bug, but every time I open a project in Stata 19, the Project Manager does not appear, and I cannot toggle it back on. Clicking does not do anything. I have to RESTORE the project manager layout and size every time I open a project.

            EDIT:

            Issue fixed by reinstalling Stata.

            EDIT 2:

            Oops problem really wasn't fixed.
            Last edited by Emmanuel Estrellado; 10 Apr 2025, 08:53.

            Comment


            • #7
              Originally posted by Emmanuel Estrellado View Post
              I'm not sure if it is a bug, but every time I open a project in Stata 19, the Project Manager does not appear, and I cannot toggle it back on. Clicking does not do anything. I have to RESTORE the project manager layout and size every time I open a project.

              EDIT:

              Issue fixed by reinstalling Stata.
              Please contact tech support and let us know which platform you're running Stata on.
              -Chinh Nguyen

              Comment


              • #8
                I'm not sure if it is a bug, but every time I open a project in Stata 19, the Project Manager does not appear, and I cannot toggle it back on. Clicking does not do anything. I have to RESTORE the project manager layout and size every time I open a project.
                This is a bug that was introduced in the Windows version of the Do-file Editor for StataNow 19 and Stata 19. We will get this fixed in an upcoming update. To work around this you can close the affected instance of the Do-file Editor and then open a new instance of the Do-file Editor. Once open, if you use the "View" menu to "Show Project Manager" and then proceed to use the "File" menu to open your existing project.

                Sorry for the inconvenience. We'll get this fixed!

                Comment


                • #9
                  I quite happily installed my Stata 19 upgrade yesterday, only to discover that do files that operated perfectly well under Stata 17 & 18 now crash! After some digging I have uncovered that swindex, which I have previously been using for years effectively "kills" esttab as a command and estimation results stored for later tabulation can no longer be tabulated.

                  As a PhD student in the final stage of write-up, who pays out of my own pocket for my Stata, you can imagine I found this a poor show. I can't go back to my perfectly functioning Stata18, as the 1st line advice I received locally was to delete the previous release upon updating!

                  Is there a fix to this issue?

                  Comment


                  • #10
                    The simple case seems work fine:

                    Code:
                    sysuse auto
                    eststo: reg mpg price
                    esttab
                    swindex trunk weight length, generate(sizeindex)
                    esttab
                    Can you provide an example? And what is the error you get? Also, if you contact our sales depratment, they will help you to reinstall Stata 18 (before we can track down and fix the issue in Stata 19).
                    Last edited by Hua Peng (StataCorp); 11 Apr 2025, 08:07.

                    Comment


                    • #11
                      Unfortunately not in mine.... When I open a new instance of Stata 19 on my Apple Silicon Mac (Single-user 4-core MP—Parallel Edition) and use your code I get the following.....

                      Basically all OK until swindex is executed

                      Code:
                      .
                      sysuse auto
                      (1978 automobile data)
                      
                      . eststo: reg mpg price
                      
                            Source |       SS           df       MS      Number of obs   =        74
                      -------------+----------------------------------   F(1, 72)        =     20.26
                             Model |  536.541807         1  536.541807   Prob > F        =    0.0000
                          Residual |  1906.91765        72  26.4849674   R-squared       =    0.2196
                      -------------+----------------------------------   Adj R-squared   =    0.2087
                             Total |  2443.45946        73  33.4720474   Root MSE        =    5.1464
                      
                      ------------------------------------------------------------------------------
                               mpg | Coefficient  Std. err.      t    P>|t|     [95% conf. interval]
                      -------------+----------------------------------------------------------------
                             price |  -.0009192   .0002042    -4.50   0.000    -.0013263   -.0005121
                             _cons |   26.96417   1.393952    19.34   0.000     24.18538    29.74297
                      ------------------------------------------------------------------------------
                      (est1 stored)
                      
                      . esttab
                      
                      ----------------------------
                                            (1)  
                                            mpg  
                      ----------------------------
                      price           -0.000919***
                                        (-4.50)  
                      
                      _cons               26.96***
                                        (19.34)  
                      ----------------------------
                      N                      74  
                      ----------------------------
                      t statistics in parentheses
                      * p<0.05, ** p<0.01, *** p<0.001
                      
                      . swindex trunk weight length, generate(sizeindex)
                      
                      . esttab
                      Mata object __000004 already existsr(110);
                      Last edited by Stephen Dorgan; 11 Apr 2025, 08:46.

                      Comment


                      • #12
                        Thanks for the example, on my Windows machine running StataMP 19, I got:

                        Code:
                        . sysuse auto
                        (1978 automobile data)
                        
                        . eststo: reg mpg price
                        
                              Source |       SS           df       MS      Number of obs   =        74
                        -------------+----------------------------------   F(1, 72)        =     20.26
                               Model |  536.541807         1  536.541807   Prob > F        =    0.0000
                            Residual |  1906.91765        72  26.4849674   R-squared       =    0.2196
                        -------------+----------------------------------   Adj R-squared   =    0.2087
                               Total |  2443.45946        73  33.4720474   Root MSE        =    5.1464
                        
                        ------------------------------------------------------------------------------
                                 mpg | Coefficient  Std. err.      t    P>|t|     [95% conf. interval]
                        -------------+----------------------------------------------------------------
                               price |  -.0009192   .0002042    -4.50   0.000    -.0013263   -.0005121
                               _cons |   26.96417   1.393952    19.34   0.000     24.18538    29.74297
                        ------------------------------------------------------------------------------
                        (est1 stored)
                        
                        . esttab
                        
                        ----------------------------
                                              (1)   
                                              mpg   
                        ----------------------------
                        price           -0.000919***
                                          (-4.50)   
                        
                        _cons               26.96***
                                          (19.34)   
                        ----------------------------
                        N                      74   
                        ----------------------------
                        t statistics in parentheses
                        * p<0.05, ** p<0.01, *** p<0.001
                        
                        . swindex trunk weight length, generate(sizeindex)
                        
                        . esttab
                        
                        ----------------------------
                                              (1)   
                                              mpg   
                        ----------------------------
                        price           -0.000919***
                                          (-4.50)   
                        
                        _cons               26.96***
                                          (19.34)   
                        ----------------------------
                        N                      74   
                        ----------------------------
                        t statistics in parentheses
                        * p<0.05, ** p<0.01, *** p<0.001
                        Since this might take some time for us to track down the issue, I took the liberty of asking our sales depratment to contact you with the instructions of downlaoding Stata 18 installer, you should get an email from them today.

                        I will report back when we track down the issue.

                        Comment


                        • #13
                          That is super helpful, I very much appreciate it.

                          Comment


                          • #14
                            No problem, our sales depratment sent the email, thanks for your patience. Also, would you mind show the version information of esttab? On my machine:

                            Code:
                            . which esttab
                            C:\Users\hop\ado\plus\e\esttab.ado
                            *! version 2.1.1  10jun2022  Ben Jann
                            *! wrapper for estout
                            Last edited by Hua Peng (StataCorp); 11 Apr 2025, 09:09.

                            Comment


                            • #15
                              More than happy oblige... I get
                              Code:
                              . which esttab
                              /Users/Stephen/Library/Application Support/Stata/ado/plus/e/esttab.ado
                              *! version 1.3.2, Ben Jann, 29may2007
                              *! wrapper for estout

                              Comment

                              Working...
                              X