Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Dec 22, 2023
1 parent 58be498 commit 228401e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions marginaleffects/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from .comparisons import avg_comparisons, comparisons
from .datagrid import datagrid, datagridcf
from .hypotheses import hypotheses
from .plot_comparisons import plot_comparisons
from .plot_predictions import plot_predictions
from .plot_slopes import plot_slopes
from .predictions import avg_predictions, predictions
from .slopes import avg_slopes, slopes
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ pytest-xdist = "^3.3.1"
bandit = "^1.7.5"
ruff = ">0.0.283"

[tool.ruff]
ignore-init-module-imports = true

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Expand Down
2 changes: 0 additions & 2 deletions tests/test_hypotheses.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

mod = smf.ols("Literacy ~ Pop1831 * Desertion", dat).fit()

avg_predictions(mod, by="Region")


def test_coefs():
hyp_py = hypotheses(mod, hypothesis=np.array([1, -1, 0, 0]))
Expand Down

0 comments on commit 228401e

Please sign in to comment.