# PSA: breaking changes in StatsModels v0.6.0 (Terms 2.0: Son of Terms)

**URL:** <https://discourse.julialang.org/t/psa-breaking-changes-in-statsmodels-v0-6-0-terms-2-0-son-of-terms/25626>\
**Category:** Statistics\
**Created:** [June 24, 2019, 8:37pm UTC](https://discourse.julialang.org/t/psa-breaking-changes-in-statsmodels-v0-6-0-terms-2-0-son-of-terms/25626 "2019-06-24T20:37:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dave.f.kleinschmidt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dave.f.kleinschmidt/32/55_2.png) [@dave.f.kleinschmidt](https://discourse.julialang.org/u/dave.f.kleinschmidt)\
**Post date:** [June 24, 2019, 9:10pm UTC](https://discourse.julialang.org/t/psa-breaking-changes-in-statsmodels-v0-6-0-terms-2-0-son-of-terms/25626/2 "2019-06-24T21:10:14Z")

</div>

Of note to users, this version will introduce a few interesting user-facing features, including

- [`lead` and `lag` terms](https://juliastats.github.io/StatsModels.jl/latest/temporal_terms/) (thanks to @oxinabox)
- support for arbitrary julia code (with some restrictions) within the `@formula`
- easier programmatic construction of formulae.

See the docs or the [announcement post](https://discourse.julialang.org/t/ann-terms-2-0-son-of-terms-new-formula-implementation-in-statsmodels-jl/21712) here for more information on the last two…

---

_[View the full topic](https://discourse.julialang.org/t/psa-breaking-changes-in-statsmodels-v0-6-0-terms-2-0-son-of-terms/25626)._
