<p>Based on what is written in the <a href="https://www.stata.com/manuals/lasso.pdf" rel="nofollow noreferrer">Stata 17 Manual</a> pp 60-66 and <a href="https://statalasso.github.io/docs/pdslasso/pdslasso_models/" rel="nofollow noreferrer">documentation for pdslasso</a>, they are exactly the same (although dsregress has richer set of options).</p>
<ol>
<li>Both documentations reference Belloni et al. 2014 paper</li>
<li>Both documentations show basically the same model (Stata manual transposes beta vector instead of x matrix but once you go through the math the expressions are equivalent as far as I can see).</li>
</ol>
<p>Next, this would not be the first time when there already was user written package for Stata, and later when new version of Stata is released developer just add renamed version of that package. Stata is developed for profit, so I guess it makes sense to do things twice so they can sell users the &quot;new Stata x.x&quot; with &quot;new&quot; features like lasso.</p>
<p>Stata added lasso models, including dsregress close to the end of 2019 in Stata 16, the pdlasso package was out in <a href="https://arxiv.org/abs/1901.05397" rel="nofollow noreferrer">late 2018/early 2019</a>.</p>

CC BY-SA 4.0
2021-11-15T19:39:28.920Z
2021-11-15T19:39:28.920Z
1muflon1
<p>The <a href="https://academic.oup.com/restud/article/81/2/608/1523757" rel="noreferrer">Belloni et al. 2014</a> paper develops the theory of Lasso in post-double selection. There are two commands that appear to me to perform this function: <span class="math-container">$dsregress$</span> and <span class="math-container">$pdslasso$</span>.</p>
<p>The <span class="math-container">$dsregress$</span> command is just &quot;double-selection&quot; while <span class="math-container">$pdslasso$</span> is &quot;post-double-selection&quot;. Are these commands methodologically equivalent?</p>

<econometrics><stata><lasso>
Lasso Double Selection Stata Commands
Michael Gmeiner
# Lasso Double Selection Stata Commands

(Asked by: username_0 on 2021-11-15)

The [Belloni et al. 2014](https://academic.oup.com/restud/article/81/2/608/1523757) paper develops the theory of Lasso in post-double selection. There are two commands that appear to me to perform this function: $dsregress$ and $pdslasso$.

The $dsregress$ command is just "double-selection" while $pdslasso$ is "post-double-selection". Are these commands methodologically equivalent?

**Tags:** econometrics, stata, lasso

---

## 1 answers

### Answer by username_1 on 2021-11-15. Score: 2 | Accepted answer

Based on what is written in the [Stata 17 Manual](https://www.stata.com/manuals/lasso.pdf) pp 60-66 and [documentation for pdslasso](https://statalasso.github.io/docs/pdslasso/pdslasso_models/), they are exactly the same (although dsregress has richer set of options).

1. Both documentations reference Belloni et al. 2014 paper
2. Both documentations show basically the same model (Stata manual transposes beta vector instead of x matrix but once you go through the math the expressions are equivalent as far as I can see).

Next, this would not be the first time when there already was user written package for Stata, and later when new version of Stata is released developer just add renamed version of that package. Stata is developed for profit, so I guess it makes sense to do things twice so they can sell users the "new Stata x.x" with "new" features like lasso.

Stata added lasso models, including dsregress close to the end of 2019 in Stata 16, the pdlasso package was out in [late 2018/early 2019](https://arxiv.org/abs/1901.05397).


---

