open-econs 0.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. open_econs-0.3.0/.github/workflows/ci.yml +38 -0
  2. open_econs-0.3.0/.gitignore +8 -0
  3. open_econs-0.3.0/.hypothesis/.gitignore +9 -0
  4. open_econs-0.3.0/.hypothesis/constants/030ea7fe028327e0 +4 -0
  5. open_econs-0.3.0/.hypothesis/constants/0914a1ef198595d4 +4 -0
  6. open_econs-0.3.0/.hypothesis/constants/0ad2fe9773fcbdd5 +4 -0
  7. open_econs-0.3.0/.hypothesis/constants/0fb3cfa3ea4892c6 +4 -0
  8. open_econs-0.3.0/.hypothesis/constants/198022b226b7f81f +4 -0
  9. open_econs-0.3.0/.hypothesis/constants/1e13390643691c34 +4 -0
  10. open_econs-0.3.0/.hypothesis/constants/2d039a61532b37eb +4 -0
  11. open_econs-0.3.0/.hypothesis/constants/300398e2122f322b +4 -0
  12. open_econs-0.3.0/.hypothesis/constants/3abc519da8f5b2e7 +4 -0
  13. open_econs-0.3.0/.hypothesis/constants/3b86269b7a08b85e +4 -0
  14. open_econs-0.3.0/.hypothesis/constants/3e687f1898ae0656 +4 -0
  15. open_econs-0.3.0/.hypothesis/constants/3ed647eb8692b982 +4 -0
  16. open_econs-0.3.0/.hypothesis/constants/50453fdfea9823b9 +4 -0
  17. open_econs-0.3.0/.hypothesis/constants/614ed8dac3fdfcd3 +4 -0
  18. open_econs-0.3.0/.hypothesis/constants/6c5ca3873d9e3e63 +4 -0
  19. open_econs-0.3.0/.hypothesis/constants/6c92c0a7ab0e3a96 +4 -0
  20. open_econs-0.3.0/.hypothesis/constants/70d0569d9fd4aeef +4 -0
  21. open_econs-0.3.0/.hypothesis/constants/70d1e58e0eb2168f +4 -0
  22. open_econs-0.3.0/.hypothesis/constants/783dd652323dc3b0 +4 -0
  23. open_econs-0.3.0/.hypothesis/constants/7888e3274486f333 +4 -0
  24. open_econs-0.3.0/.hypothesis/constants/7b08c91de128ef16 +4 -0
  25. open_econs-0.3.0/.hypothesis/constants/7cfe7cfa7ccce807 +4 -0
  26. open_econs-0.3.0/.hypothesis/constants/80226567f0a62298 +4 -0
  27. open_econs-0.3.0/.hypothesis/constants/85fbf703dd654b89 +4 -0
  28. open_econs-0.3.0/.hypothesis/constants/928ca0e5735cffec +4 -0
  29. open_econs-0.3.0/.hypothesis/constants/92ee24d93b34fbe3 +4 -0
  30. open_econs-0.3.0/.hypothesis/constants/99bb81ffc856f785 +4 -0
  31. open_econs-0.3.0/.hypothesis/constants/9c8b546909338a6c +4 -0
  32. open_econs-0.3.0/.hypothesis/constants/9ee3b72e2e446d7f +4 -0
  33. open_econs-0.3.0/.hypothesis/constants/a5107730b9455229 +4 -0
  34. open_econs-0.3.0/.hypothesis/constants/b7f8d0226121cf67 +4 -0
  35. open_econs-0.3.0/.hypothesis/constants/b823bca35807a892 +4 -0
  36. open_econs-0.3.0/.hypothesis/constants/c3748f080dfb2279 +4 -0
  37. open_econs-0.3.0/.hypothesis/constants/c430b877ecc7ef29 +4 -0
  38. open_econs-0.3.0/.hypothesis/constants/c840ccaec7866117 +4 -0
  39. open_econs-0.3.0/.hypothesis/constants/c94970d90d2b6605 +4 -0
  40. open_econs-0.3.0/.hypothesis/constants/ccba8420b2268b40 +4 -0
  41. open_econs-0.3.0/.hypothesis/constants/d85181d38fb06e12 +4 -0
  42. open_econs-0.3.0/.hypothesis/constants/da39a3ee5e6b4b0d +4 -0
  43. open_econs-0.3.0/.hypothesis/constants/e134fc561b6166ec +4 -0
  44. open_econs-0.3.0/.hypothesis/constants/e1cdafbd4e885d43 +4 -0
  45. open_econs-0.3.0/.hypothesis/constants/e492a173f6be3d64 +4 -0
  46. open_econs-0.3.0/.hypothesis/constants/e8016d645e13a079 +4 -0
  47. open_econs-0.3.0/.hypothesis/constants/ec3ab11fb0dbb2bd +4 -0
  48. open_econs-0.3.0/.hypothesis/constants/ee0a94b0bec0ddd7 +4 -0
  49. open_econs-0.3.0/.hypothesis/constants/f31b5032fb682c37 +4 -0
  50. open_econs-0.3.0/.hypothesis/constants/f9403b123398099c +4 -0
  51. open_econs-0.3.0/.hypothesis/constants/fbbf763c41bbf0bb +4 -0
  52. open_econs-0.3.0/.hypothesis/examples/04e6b3400353b141/8721fc547f05a0b9 +1 -0
  53. open_econs-0.3.0/.hypothesis/examples/8721fc547f05a0b9/bb910ee7fd19eccb +0 -0
  54. open_econs-0.3.0/.hypothesis/unicode_data/15.0.0/charmap.json.gz +0 -0
  55. open_econs-0.3.0/LICENSE +21 -0
  56. open_econs-0.3.0/PKG-INFO +21 -0
  57. open_econs-0.3.0/README.md +318 -0
  58. open_econs-0.3.0/open_econs/__init__.py +8 -0
  59. open_econs-0.3.0/open_econs/_internal/__init__.py +0 -0
  60. open_econs-0.3.0/open_econs/_internal/errors.py +47 -0
  61. open_econs-0.3.0/open_econs/_internal/formula.py +47 -0
  62. open_econs-0.3.0/open_econs/_version.py +1 -0
  63. open_econs-0.3.0/open_econs/core/__init__.py +0 -0
  64. open_econs-0.3.0/open_econs/core/base.py +83 -0
  65. open_econs-0.3.0/open_econs/core/context.py +54 -0
  66. open_econs-0.3.0/open_econs/core/results.py +341 -0
  67. open_econs-0.3.0/open_econs/models/__init__.py +0 -0
  68. open_econs-0.3.0/open_econs/models/decomposition/__init__.py +0 -0
  69. open_econs-0.3.0/open_econs/models/decomposition/oaxaca.py +205 -0
  70. open_econs-0.3.0/open_econs/models/linear/__init__.py +0 -0
  71. open_econs-0.3.0/open_econs/models/linear/ols.py +238 -0
  72. open_econs-0.3.0/pyproject.toml +34 -0
  73. open_econs-0.3.0/tests/__init__.py +0 -0
  74. open_econs-0.3.0/tests/conftest.py +70 -0
  75. open_econs-0.3.0/tests/test_adversarial.py +128 -0
  76. open_econs-0.3.0/tests/test_context.py +20 -0
  77. open_econs-0.3.0/tests/test_correctness_vs_statsmodels.py +221 -0
  78. open_econs-0.3.0/tests/test_coverage_gaps.py +167 -0
  79. open_econs-0.3.0/tests/test_errors.py +57 -0
  80. open_econs-0.3.0/tests/test_oaxaca.py +272 -0
  81. open_econs-0.3.0/tests/test_ols.py +281 -0
@@ -0,0 +1,38 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: ["3.12", "3.13"]
15
+
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+
19
+ - name: Install Python ${{ matrix.python-version }}
20
+ uses: actions/setup-python@v5
21
+ with:
22
+ python-version: ${{ matrix.python-version }}
23
+
24
+ - name: Install dependencies
25
+ run: |
26
+ pip install -e ".[dev,lint]"
27
+
28
+ - name: Lint with ruff
29
+ run: ruff check open_econs/
30
+
31
+ - name: Type-check with mypy
32
+ run: mypy open_econs/ --ignore-missing-imports
33
+
34
+ - name: Run tests
35
+ run: python -m pytest tests/ -v --tb=short
36
+
37
+ - name: Run tests with coverage
38
+ run: python -m pytest tests/ --cov=open_econs --cov-report=term-missing
@@ -0,0 +1,8 @@
1
+ __pycache__/
2
+ *.pyc
3
+ .coverage
4
+ .coverage.*
5
+ .pytest_cache/
6
+ *.egg-info/
7
+ dist/
8
+ build/
@@ -0,0 +1,9 @@
1
+ # This .gitignore file was automatically created by Hypothesis. Hypothesis gitignores
2
+ # .hypothesis by default, because we generally recommend that .hypothesis not be checked
3
+ # into version control.
4
+ #
5
+ # If you *would* like to check .hypothesis into version control, you should delete this
6
+ # file. Hypothesis will not re-create this .gitignore unless .hypothesis is deleted (and
7
+ # if it does, that's a bug - please report it!)
8
+
9
+ *
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/_internal/errors.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [', ', '.', 'unknown']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/context.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['HC1', 'two-fold']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/linear/ols.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['HC1', 'cluster', 'fitted', 'groups', 'lower', 'nan', 'package_version', 'residuals', 'timestamp', 'upper', '~']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/linear/ols.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['HC1', 'cluster', 'fitted', 'groups', 'lower', 'nan', 'package_version', 'residuals', 'timestamp', 'upper']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/_version.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['0.2.0']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/results.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.0, 0.5, 1.0, '--', '0.025', '0.975', 'Breusch-Pagan: N/A', 'Coef', 'Coefficients', 'Component', 'Durbin-Watson: N/A', 'Effect', 'Endowment', 'Explained', 'Fitted values', 'Interaction', 'Jarque-Bera: N/A', 'N/A', 'Normal Q-Q', 'P>|t|', 'Ramsey RESET: N/A', 'Residuals', 'Residuals vs Fitted', 'Scale-Location', 'Sqrt(|Residuals|)', 'Std Err', 'Total Gap', 'Unexplained', 'Variable', '`(\\w+)`', 'breusch_pagan', 'center', 'drop', 'durbin_watson', 'is not present', 'jarque_bera', 'lower', 'nan', 'norm', 'o', 'predicted', 'ramsey_reset', 'red', 'rhs', 't', 'two-fold', 'upper']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/base.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['.json', '_frozen', 'call', 'cov_type', 'formula', 'nobs', 'package_version', 'records', 'results', 'timestamp', 'w']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/decomposition/oaxaca.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.95, 500, 'Coefficients', 'Endowment', 'Explained', 'Interaction', 'Intercept', 'Unexplained', 'nonrobust', 'package_version', 'std_err', 'three-fold', 'timestamp', 'two-fold']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/__init__.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['Context', '__version__', 'oaxaca', 'ols', 'reg']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/results.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.0, 0.5, 1.0, '--', '0.025', '0.975', 'Breusch-Pagan: N/A', 'Coef', 'Coefficients', 'Component', 'Durbin-Watson: N/A', 'Effect', 'Endowment', 'Explained', 'Fitted values', 'Interaction', 'Jarque-Bera: N/A', 'Leverage', 'N/A', 'Normal Q-Q', 'Not available', 'P>|t|', 'Ramsey RESET: N/A', 'Residuals', 'Residuals vs Fitted', 'Scale-Location', 'Sqrt(|Residuals|)', 'Std Err', 'Total Gap', 'Unexplained', 'Variable', '`(\\w+)`', 'breusch_pagan', 'center', 'drop', 'durbin_watson', 'exog', 'is not present', 'jarque_bera', 'lower', 'm', 'model', 'nan', 'norm', 'o', 'obj', 'predicted', 'r', 'ramsey_reset', 'red', 'resid', 'results', 'rhs', 't', 'two-fold', 'upper']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/results.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.0, '0.025', '0.975', 'Coef', 'Coefficients', 'Component', 'Effect', 'Endowment', 'Explained', 'Interaction', 'N/A', 'P>|t|', 'Std Err', 'Total Gap', 'Unexplained', 'Variable', 'drop', 'lower', 'nan', 'predicted', 'rhs', 't', 'two-fold', 'upper']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/_version.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['0.3.0']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/linear/ols.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['HC2', '`(\\w+)`', 'cluster', 'drop', 'fitted', 'groups', 'is not present', 'lower', 'nan', 'package_version', 'residuals', 'rhs', 'timestamp', 'upper', '~']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/linear/ols.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['HC1', 'cluster', 'fitted', 'groups', 'lower', 'package_version', 'residuals', 'timestamp', 'upper']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/results.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.0, '0.975]', 'Coef', 'Coefficients', 'Component', 'Effect', 'Endowment', 'Explained', 'Interaction', 'N/A', 'P>|t|', 'Std Err', 'Total Gap', 'Unexplained', 'Variable', '[0.025', 'drop', 'lower', 'nan', 'predicted', 't', 'two-fold', 'upper']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/base.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['.csv', '.json', '_frozen', 'call', 'cov_type', 'formula', 'nobs', 'package_version', 'records', 'results', 'timestamp', 'w']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/_internal/formula.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['drop']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/decomposition/oaxaca.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['Intercept', 'nonrobust', 'package_version', 'three-fold', 'timestamp', 'two-fold']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/linear/ols.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [10000000000.0, 'HC1', '`(\\w+)`', 'cluster', 'drop', 'fitted', 'groups', 'is not present', 'lower', 'nan', 'package_version', 'residuals', 'rhs', 'timestamp', 'upper', '~']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/decomposition/oaxaca.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.95, 1000, 'Coefficients', 'Endowment', 'Explained', 'Interaction', 'Intercept', 'Unexplained', 'nonrobust', 'package_version', 'std_err', 'three-fold', 'timestamp', 'two-fold']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/linear/ols.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [10000000000.0, 'HC1', 'cluster', 'drop', 'fitted', 'groups', 'lower', 'nan', 'nonrobust', 'package_version', 'residuals', 'rhs', 'timestamp', 'upper', '~']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/decomposition/oaxaca.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['Intercept', 'nonrobust', 'package_version', 'three-fold', 'timestamp', 'two-fold']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/results.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.0, '0.975]', 'Coef', 'Coefficients', 'Component', 'Effect', 'Endowment', 'Explained', 'Interaction', 'N/A', 'P>|t|', 'Std Err', 'Total Gap', 'Unexplained', 'Variable', '[0.025', 'drop', 'lower', 'nan', 'predicted', 'rhs', 't', 'two-fold', 'upper']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/results.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.0, 1.0, '0.025', '0.975', 'Coef', 'Coefficients', 'Component', 'Effect', 'Endowment', 'Explained', 'Interaction', 'N/A', 'P>|t|', 'Std Err', 'Total Gap', 'Unexplained', 'Variable', '`(\\w+)`', 'breusch_pagan', 'drop', 'durbin_watson', 'is not present', 'jarque_bera', 'lower', 'nan', 'predicted', 'ramsey_reset', 'rhs', 't', 'two-fold', 'upper']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/decomposition/oaxaca.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.95, 1000, 'Coefficients', 'Endowment', 'Explained', 'Interaction', 'Intercept', 'Unexplained', 'nonrobust', 'package_version', 'std_err', 'three-fold', 'timestamp', 'two-fold']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/results.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.0, '0.1.0', '0.975]', 'Coef', 'Coefficients', 'Component', 'Effect', 'Endowment', 'Explained', 'Interaction', 'P>|t|', 'Std Err', 'Total Gap', 'Unexplained', 'Variable', '[0.025', 'drop', 'lower', 'nan', 'predicted', 't', 'two-fold', 'upper']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/decomposition/oaxaca.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['Intercept', 'nonrobust', 'package_version', 'three-fold', 'timestamp', 'two-fold']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/linear/ols.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['HC1', 'cluster', 'fitted', 'groups', 'lower', 'nan', 'package_version', 'residuals', 'timestamp', 'upper']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/linear/ols.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [10000000000.0, 'HC1', 'cluster', 'drop', 'fitted', 'groups', 'lower', 'nan', 'nonrobust', 'package_version', 'residuals', 'rhs', 'timestamp', 'upper', '~']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/linear/ols.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [10000000000.0, 'HC1', 'cluster', 'drop', 'fitted', 'groups', 'lower', 'nan', 'package_version', 'residuals', 'rhs', 'timestamp', 'upper', '~']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/linear/ols.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [10000000000.0, 'HC1', 'cluster', 'drop', 'fitted', 'groups', 'lower', 'nan', 'nonrobust', 'package_version', 'residuals', 'rhs', 'timestamp', 'upper', '~']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/_internal/errors.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [', ', '.', 'unknown']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/linear/ols.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['HC2', '`(\\w+)`', 'cluster', 'drop', 'fitted', 'groups', 'is not present', 'lower', 'nan', 'package_version', 'residuals', 'rhs', 'timestamp', 'upper', '~']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/results.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.0, '0.1.0', '0.975]', 'Coef', 'Coefficients', 'Component', 'Effect', 'Endowment', 'Explained', 'Interaction', 'P>|t|', 'Std Err', 'Total Gap', 'Unexplained', 'Variable', '[0.025', 'drop', 'lower', 'nan', 'predicted', 't', 'two-fold', 'upper']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/_version.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['0.1.0']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/decomposition/oaxaca.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.95, 1000, 'Coefficients', 'Endowment', 'Explained', 'Interaction', 'Intercept', 'Unexplained', 'nonrobust', 'package_version', 'std_err', 'three-fold', 'timestamp', 'two-fold']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/decomposition/oaxaca.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.95, 1000, 'Coefficients', 'Endowment', 'Explained', 'Interaction', 'Intercept', 'Unexplained', 'Variable', 'nonrobust', 'package_version', 'std_err', 'three-fold', 'timestamp', 'two-fold']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/results.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.0, '0.025', '0.975', 'Coef', 'Coefficients', 'Component', 'Effect', 'Endowment', 'Explained', 'Interaction', 'N/A', 'P>|t|', 'Std Err', 'Total Gap', 'Unexplained', 'Variable', 'drop', 'lower', 'nan', 'predicted', 'rhs', 't', 'two-fold', 'upper']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/__init__.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ []
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/decomposition/oaxaca.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.95, 1000, 'Coefficients', 'Endowment', 'Explained', 'Interaction', 'Intercept', 'Unexplained', 'nonrobust', 'package_version', 'std_err', 'three-fold', 'timestamp', 'two-fold']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/linear/ols.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [10000000000.0, 'HC1', 'cluster', 'drop', 'fitted', 'groups', 'lower', 'nan', 'nonrobust', 'package_version', 'residuals', 'rhs', 'timestamp', 'upper', '~']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/base.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['.json', '_frozen', 'call', 'cov_type', 'formula', 'nobs', 'package_version', 'records', 'results', 'timestamp', 'w']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/decomposition/oaxaca.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['Intercept', 'nonrobust', 'package_version', 'three-fold', 'timestamp', 'two-fold']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/linear/ols.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [10000000000.0, 'HC1', 'cluster', 'drop', 'fitted', 'groups', 'lower', 'nan', 'nonrobust', 'package_version', 'residuals', 'rhs', 'timestamp', 'upper', '~']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/results.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.0, '0.025', '0.975', 'Coef', 'Coefficients', 'Component', 'Effect', 'Endowment', 'Explained', 'Interaction', 'N/A', 'P>|t|', 'Std Err', 'Total Gap', 'Unexplained', 'Variable', '`(\\w+)`', 'drop', 'is not present', 'lower', 'nan', 'predicted', 'rhs', 't', 'two-fold', 'upper']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/linear/ols.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['HC2', '`(\\w+)`', 'cluster', 'drop', 'fitted', 'groups', 'is not present', 'lower', 'nan', 'package_version', 'residuals', 'rhs', 'timestamp', 'upper', '~']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/core/results.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ [0.0, 1.0, '0.025', '0.975', 'Coef', 'Coefficients', 'Component', 'Effect', 'Endowment', 'Explained', 'Interaction', 'N/A', 'P>|t|', 'Std Err', 'Total Gap', 'Unexplained', 'Variable', '_dummy', '`(\\w+)`', 'breusch_pagan', 'drop', 'durbin_watson', 'ignore', 'is not present', 'jarque_bera', 'lower', 'nan', 'predicted', 'ramsey_reset', 'rhs', 't', 'two-fold', 'upper']
@@ -0,0 +1,4 @@
1
+ # file: /home/manh/open-econs/open_econs/models/decomposition/oaxaca.py
2
+ # hypothesis_version: 6.156.3
3
+
4
+ ['Intercept', 'nonrobust', 'package_version', 'three-fold', 'timestamp', 'two-fold']
@@ -0,0 +1 @@
1
+ �c�&$:���&M��_�8̓�X֠�.R߸�sK9_����{u�0��
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 M Nguyen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ Metadata-Version: 2.4
2
+ Name: open-econs
3
+ Version: 0.3.0
4
+ Summary: The scikit-learn of empirical economics.
5
+ Project-URL: Homepage, https://github.com/anomalyco/open-econs
6
+ License-File: LICENSE
7
+ Requires-Python: >=3.10
8
+ Requires-Dist: formulaic>=1.0
9
+ Requires-Dist: numpy>=1.26
10
+ Requires-Dist: pandas>=2.2
11
+ Requires-Dist: scipy>=1.11
12
+ Requires-Dist: statsmodels>=0.14
13
+ Provides-Extra: dev
14
+ Requires-Dist: hypothesis>=6.0; extra == 'dev'
15
+ Requires-Dist: pytest-cov; extra == 'dev'
16
+ Requires-Dist: pytest>=8.0; extra == 'dev'
17
+ Provides-Extra: lint
18
+ Requires-Dist: mypy>=1.8; extra == 'lint'
19
+ Requires-Dist: ruff>=0.3; extra == 'lint'
20
+ Provides-Extra: plot
21
+ Requires-Dist: matplotlib>=3.8; extra == 'plot'