- Fix bug with
group_by
on multiple variables; contributed by @svkohler.
- Fix bug where
exog
andgroup_by
did not handlestr
inputs e.g.exog="x"
. - Fix bug where
group_by
formethod='fwl'
with exactly 1 exog variable did not work. (Explanation:method='fwl'
dispatches to a different macro for the special case of 1 exog variable, andgroup_by
was not implemented correctly here.) - Fix bug where
safe
mode did not work formethod='chol'
. - Improved docs by hiding everything except
ols()
, improved description ofols()
macro, and added missing arg.
- Fix minor incompatibility with Redshift; contributed by @steelcd.
- Added Postgres support in integration tests + fixed bugs that prevented Postgres from working.
- Added dbt documentation of the
ols()
macro.
- Added
.dbtignore
.
- Add
chol
method todbt_linreg.ols()
, and also set as the default method. (This method is significantly faster thanfwl
, and has a few other benefits.) - Add standard error column in
long
format forchol
method.
- Added the ability to turn off/on the constant term with
add_constant: bool = True
kwarg. - Fixed error that occurred when rendering a 1-variable ridge regression.
- Fixed namespacing issue with CTEs-- all CTEs generated by
dbt_linreg
now start with_dbt_linreg_
, to reduce namespace conflicts with user generated SQL. - Locked the dbt-core version requirement to
>=1.2.0
(for now) because one of this package's dependencies (modules.itertools.combinations
) is not available prior to1.2.0
.
- Initial release