NEW FEATURES StataNow™ – September 2025


  1. (StataNow) In the Do-file Editor, you can now select Tools > Execute (do) lines on Windows and Unix or View > Do-file Editor > Execute (do) lines on Mac while multiple lines of text are selected to execute all selected lines. After the lines are executed, the cursor will automatically advance to the next line that can be executed, skipping comments and blank lines. If the next line is the beginning of a code block, such as a for loop or an if expression, then the entire code block will be selected so that it will all be executed.
  2. (StataNow) The variance-covariance estimator in linear regression commands areg, regress, didregress, xtdidregress, and xtreg, fe with option vce(hc3, hansen) was not equivalent to the Hansen jackknife estimator in cases of cluster noninvertibility but instead was equal to the ordinary HC3 estimator. Cluster noninvertibility can occur when fixed-effect variables serving as the clustering variable are included in a regression rather than being partialed out or when some clusters are large relative to the sample size minus the number of regressors. In these nonstandard cases, jackknife variance estimates provide conservative coverage. This has been fixed.
  3. (StataNow) areg now disallows option vce(hc3 [clustvar], hansen) when not specified with a cluster variable that nests the absorbed variable. This affects specifications in didregress with option vce(hc3 clustvar, hansen) when areg is used for estimation.

© Copyright 1996–2026 StataCorp LLC. All rights reserved.

  1. (StataNow) areg with option vce(hac kernel) and xtreg, fe with option vce(dkraay kernel), when used with time-series operators, could return an uninformative error message. This has been fixed.
  2. (StataNow) areg with option vce(hac kernel) and aweights as well as xtreg, fe with option vce(dkraay kernel) and aweights returned incorrect standard errors in some cases where the sample was restricted or there were missing values in some variables. This has been fixed.
  3. (StataNow) regress and areg with option vce(hac kernel) and using the default lags, in cases where time-series operators were applied to the dependent or independent variables or when the absorbed variable had missing values, could fail to correctly define the estimation sample when computing the default lags (N – 2). This has been fixed.
  4. (StataNow) regress and areg with option vce(hc3, hansen) or vce(hc3, dfadjust) specified without a cluster variable, when fweights were specified, could return standard errors that were too large. This has been fixed.