Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for spatial and nonspatial Wilkinson formulas #102

Closed
wants to merge 33 commits into from

Conversation

tdhoffman
Copy link

This pull request adds the formula functionality described in #101. It consists of the following parts:

  • spreg/formula.py: the main formula implementation (parser and dispatcher), documentation, and doctests
  • spreg/__init__.py: add a line which imports the formula interface when spreg is loaded
  • notebooks/formula_example.ipynb: a notebook showcasing the features of spreg.from_formula() alongside textual descriptions
  • spreg/tests/test_formula.py: unit tests for the spreg.from_formula() function.

Pursuant to this comment on #101, everything in this PR is fully backwards compatible. This is an add-on to the package which sits on top of existing code and provides another way for users to access it. Currently, the function dispatches to all of the spatial regression models. While it does not support regime regression or seemingly unrelated regression, it provides a solid base of code to which these features can be added.

@jGaboardi
Copy link
Member

Since #103 supersedes this PR, shall we close it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants