iode 7.0.8__tar.gz → 7.0.9__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.
- {iode-7.0.8 → iode-7.0.9}/PKG-INFO +3 -3
- {iode-7.0.8 → iode-7.0.9}/condarecipe/iode/meta.yaml +6 -6
- {iode-7.0.8 → iode-7.0.9}/iode/__init__.py +1 -1
- {iode-7.0.8 → iode-7.0.9}/iode/compute/estimation.py +1 -1
- {iode-7.0.8 → iode-7.0.9}/iode/compute/estimation.pyi +1 -1
- {iode-7.0.8 → iode-7.0.9}/iode/iode_database/comments_database.py +2 -2
- {iode-7.0.8 → iode-7.0.9}/iode/iode_database/equations_database.py +4 -2
- {iode-7.0.8 → iode-7.0.9}/iode/iode_database/identities_database.py +1 -1
- {iode-7.0.8 → iode-7.0.9}/iode/iode_database/lists_database.py +6 -6
- {iode-7.0.8 → iode-7.0.9}/iode/iode_database/scalars_database.py +3 -1
- {iode-7.0.8 → iode-7.0.9}/iode/iode_database/variables_database.py +42 -29
- {iode-7.0.8 → iode-7.0.9}/iode/objects/equation.py +3 -3
- {iode-7.0.8 → iode-7.0.9}/iode/objects/equation.pyi +3 -3
- iode-7.0.9/iode/simul.dbg +40 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun2.cmt +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/rep_proc.a2m +28 -28
- {iode-7.0.8 → iode-7.0.9}/iode/tests/test_iode.py +10 -0
- {iode-7.0.8 → iode-7.0.9}/objects/equation.pxd +0 -4
- {iode-7.0.8 → iode-7.0.9}/pyproject.toml +3 -3
- {iode-7.0.8 → iode-7.0.9}/simul.dbg +860 -0
- iode-7.0.9/test_results.txt +0 -0
- {iode-7.0.8 → iode-7.0.9}/CMakeLists.txt +0 -0
- {iode-7.0.8 → iode-7.0.9}/LICENSE.md +0 -0
- {iode-7.0.8 → iode-7.0.9}/README.md +0 -0
- {iode-7.0.8 → iode-7.0.9}/__init__.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/a2m_print.cpp +0 -0
- {iode-7.0.8 → iode-7.0.9}/a2m_print.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/a2m_print.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/cli.cpp +0 -0
- {iode-7.0.8 → iode-7.0.9}/cli.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/cli.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/common.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/common.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/compute/__init__.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/compute/estimation.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/compute/estimation.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/compute/simulation.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/compute/simulation.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/computed_table/__init__.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/computed_table/computed_table.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/computed_table/computed_table.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/conftest.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/dist_testPyPI/iode-7.0.7-1-cp312-abi3-win_amd64.whl +0 -0
- {iode-7.0.8 → iode-7.0.9}/dist_testPyPI/iode-7.0.7-2-cp312-abi3-win_amd64.whl +0 -0
- {iode-7.0.8 → iode-7.0.9}/essais.txt +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/__init__.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/cli.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/cli.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/common.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/common.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/compute/__init__.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/compute/__init__.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/compute/simulation.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/compute/simulation.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/computed_table/__init__.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/computed_table/__init__.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/computed_table/computed_table.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/computed_table/computed_table.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/__init__.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/__init__.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/compat_larray.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/compat_larray.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/compat_pandas.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/compat_pandas.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/estimation.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/estimation.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/iode_objects.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/iode_objects.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/lec.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/lec.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/model.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/model.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/report.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/report.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/time.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/time.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/workspace.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/deprecated/workspace.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/doc/iode.chm +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/doc/iode.pdf +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/gui.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/gui.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/iode_cython.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/iode_database/abstract_database.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/iode_database/extra_files.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/iode_database/tables_database.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/lec.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/lec.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/objects/__init__.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/objects/__init__.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/objects/identity.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/objects/identity.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/objects/scalar.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/objects/scalar.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/objects/table.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/objects/table.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/reports.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/reports.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/super.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/super.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/FUN_UPPERCASE.AV +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/FUN_UPPERCASE.VAR +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/a.var +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/automatic.at +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/db.var +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun.ac +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun.ae +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun.ai +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun.al +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun.as +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun.at +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun.av +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun.cmt +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun.eqs +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun.idt +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun.lst +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun.scl +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun.tbl +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun.var +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun2.ac +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun2.ae +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun2.ai +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun2.al +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun2.as +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun2.at +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun2.av +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun2.cm$ +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun_copy_copy.cmt +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun_q.var +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun_xode.ac.ref +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun_xode.av.ref +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun_xode.csv.ref +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun_xode.rcsv.ref +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/fun_xode.tsp.ref +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/linux_fun.cmt +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/linux_fun.eqs +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/linux_fun.idt +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/linux_fun.lst +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/linux_fun.scl +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/linux_fun.tbl +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/linux_fun.var +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/ref.av +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/ref2.av +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/ref2.var +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/rep_expand.a2m +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/rep_expand2.a2m +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/rep_fns.a2m +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/reports/oem850.rep +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/reports/rep_data_exist.rep +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/reports/rep_expand.rep +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/reports/rep_fns.rep +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/reports/rep_fns2.rep +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/reports/rep_print_def_eqs.rep +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/reports/rep_print_def_tbl.rep +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/reports/rep_print_view_tbl_var.rep +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/reports/rep_proc.rep +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/reports/report_tutorial.rep +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/reports/test_gui_commands.rep +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/rules.txt +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/test.a2m +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/data/ws.var +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/test_cython_iode.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/tests/test_gui.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/time/__init__.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/time/__init__.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/time/period.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/time/period.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/time/sample.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/time/sample.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/util.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/util.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/write.py +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode/write.pyi +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_cython.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_cython.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_database/__init__.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_database/abstract_database.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_database/comments_database.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_database/cpp_api_database.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_database/equations_database.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_database/extra_files.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_database/identities_database.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_database/iode_database.cpp +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_database/lists_database.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_database/scalars_database.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_database/tables_database.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_database/variables_database.cpp +0 -0
- {iode-7.0.8 → iode-7.0.9}/iode_database/variables_database.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/lec.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/lec.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/objects/__init__.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/objects/equation.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/objects/identity.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/objects/identity.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/objects/scalar.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/objects/scalar.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/objects/table.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/objects/table.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/reports.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/reports.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/super.cpp +0 -0
- {iode-7.0.8 → iode-7.0.9}/super.h +0 -0
- {iode-7.0.8 → iode-7.0.9}/super.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/super.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/tests/__init__.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/tests/tests.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/tests/tests.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/time/__init__.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/time/period.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/time/period.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/time/sample.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/time/sample.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/util.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/util.pyx +0 -0
- {iode-7.0.8 → iode-7.0.9}/wrt.pxd +0 -0
- {iode-7.0.8 → iode-7.0.9}/wrt.pyx +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: iode
|
|
3
|
-
Version: 7.0.
|
|
3
|
+
Version: 7.0.9
|
|
4
4
|
Summary: IODE is a package dedicated to econometric models and to the management of statistical series
|
|
5
5
|
Author-Email: Alix Damman <ald@plan.be>, Yannick Van den Abbeel <yvda@plan.be>, Jean-Marc Paul <jmarc.paul@gmail.com>, Geert Bryon <gb@plan.be>
|
|
6
6
|
Classifier: Development Status :: 4 - Beta
|
|
@@ -17,8 +17,8 @@ Classifier: Topic :: Scientific/Engineering
|
|
|
17
17
|
Classifier: Topic :: Software Development :: Libraries
|
|
18
18
|
Project-URL: Homepage, https://iode.readthedocs.io/en/stable/
|
|
19
19
|
Requires-Python: >=3.12
|
|
20
|
-
Requires-Dist: numpy>=2.
|
|
21
|
-
Requires-Dist: pandas
|
|
20
|
+
Requires-Dist: numpy>=2.4
|
|
21
|
+
Requires-Dist: pandas>=3.0
|
|
22
22
|
Requires-Dist: matplotlib
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{% set name = "iode" %}
|
|
2
|
-
{% set version = "7.0.
|
|
2
|
+
{% set version = "7.0.9" %}
|
|
3
3
|
|
|
4
4
|
package:
|
|
5
5
|
name: {{ name|lower }}
|
|
@@ -12,7 +12,7 @@ source:
|
|
|
12
12
|
|
|
13
13
|
# --- build from git repository ---
|
|
14
14
|
# git_url: https://github.com/plan-be/iode.git
|
|
15
|
-
# git_rev: 7.0.
|
|
15
|
+
# git_rev: 7.0.9 # (Defaults to "HEAD")
|
|
16
16
|
|
|
17
17
|
build:
|
|
18
18
|
entry_points:
|
|
@@ -39,8 +39,8 @@ requirements:
|
|
|
39
39
|
host:
|
|
40
40
|
- python ={{ PY_VER }}
|
|
41
41
|
- scikit-build-core >=0.10
|
|
42
|
-
- numpy >=2.
|
|
43
|
-
- pandas >=
|
|
42
|
+
- numpy >=2.4
|
|
43
|
+
- pandas >=3.0
|
|
44
44
|
- cython ==3.1.4
|
|
45
45
|
- mypy >=1.10
|
|
46
46
|
- pip
|
|
@@ -56,8 +56,8 @@ requirements:
|
|
|
56
56
|
|
|
57
57
|
run:
|
|
58
58
|
- python ={{ PY_VER }}
|
|
59
|
-
- numpy >=2.
|
|
60
|
-
- pandas >=
|
|
59
|
+
- numpy >=2.4
|
|
60
|
+
- pandas >=3.0
|
|
61
61
|
- matplotlib-base
|
|
62
62
|
|
|
63
63
|
test:
|
|
@@ -123,7 +123,7 @@ def dickey_fuller_test(lec: str, drift: bool, trend: bool, order: int) -> Scalar
|
|
|
123
123
|
>>> # df1 * d(ACAF[-1]) + df2*d(ACAF[-2]) + df3*d(ACAF[-3]) (ORDER)
|
|
124
124
|
>>> df_scalars = dickey_fuller_test("ACAF", True, True, 3)
|
|
125
125
|
Estimating : iteration 1 (||eps|| = 2.20454)
|
|
126
|
-
Estimating : iteration 2 (||eps|| =
|
|
126
|
+
Estimating : iteration 2 (||eps|| = 1.73868e-10)
|
|
127
127
|
Solution reached after 2 iteration(s). Creating results file ...
|
|
128
128
|
>>> df_scalars.get_names("df*")
|
|
129
129
|
['df1', 'df2', 'df3', 'df_', 'df_d', 'df_t']
|
|
@@ -100,7 +100,7 @@ def dickey_fuller_test(lec: str, drift: bool, trend: bool, order: int) -> Scalar
|
|
|
100
100
|
>>> # df1 * d(ACAF[-1]) + df2*d(ACAF[-2]) + df3*d(ACAF[-3]) (ORDER)
|
|
101
101
|
>>> df_scalars = dickey_fuller_test("ACAF", True, True, 3)
|
|
102
102
|
Estimating : iteration 1 (||eps|| = 2.20454)
|
|
103
|
-
Estimating : iteration 2 (||eps|| =
|
|
103
|
+
Estimating : iteration 2 (||eps|| = 1.73868e-10)
|
|
104
104
|
Solution reached after 2 iteration(s). Creating results file ...
|
|
105
105
|
>>> df_scalars.get_names("df*")
|
|
106
106
|
[\'df1\', \'df2\', \'df3\', \'df_\', \'df_d\', \'df_t\']
|
|
@@ -438,13 +438,13 @@ class Comments(IodeDatabase):
|
|
|
438
438
|
>>> s = pd.Series(data=data, index=names, dtype=str, name="Comments")
|
|
439
439
|
>>> # display the pandas series
|
|
440
440
|
>>> s # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
|
|
441
|
-
A0
|
|
441
|
+
A0 A zero
|
|
442
442
|
A1 A one
|
|
443
443
|
B0 B zero
|
|
444
444
|
B1 B one
|
|
445
445
|
C0 C zero
|
|
446
446
|
C1 C one
|
|
447
|
-
Name: Comments, dtype:
|
|
447
|
+
Name: Comments, dtype: str
|
|
448
448
|
|
|
449
449
|
>>> # load into the IODE Comments database
|
|
450
450
|
>>> comments.from_series(s)
|
|
@@ -1344,7 +1344,7 @@ class Equations(IodeDatabase):
|
|
|
1344
1344
|
D ln D := t
|
|
1345
1345
|
E 1/E := B
|
|
1346
1346
|
F d(F) := t + 1
|
|
1347
|
-
dtype:
|
|
1347
|
+
dtype: str
|
|
1348
1348
|
|
|
1349
1349
|
>>> # load into the IODE Equations database
|
|
1350
1350
|
>>> equations.from_series(s)
|
|
@@ -1699,7 +1699,9 @@ class Equations(IodeDatabase):
|
|
|
1699
1699
|
dtype.update({"date": str})
|
|
1700
1700
|
# note: [:1] to skip endogenous value which is the same as name
|
|
1701
1701
|
data = {name: self._get_object(name)._as_tuple()[1:] for name in self.names}
|
|
1702
|
-
|
|
1702
|
+
df = pd.DataFrame.from_dict(data, orient='index')
|
|
1703
|
+
df.columns = list(dtype.keys())
|
|
1704
|
+
return df.astype(dtype)
|
|
1703
1705
|
|
|
1704
1706
|
@property
|
|
1705
1707
|
def df(self) -> pd.DataFrame:
|
|
@@ -482,12 +482,12 @@ class Lists(IodeDatabase):
|
|
|
482
482
|
>>> s = pd.Series(data=data, index=names, dtype=str, name="Lists")
|
|
483
483
|
>>> # display the pandas series
|
|
484
484
|
>>> s # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
|
|
485
|
-
SEMICOLON_LST
|
|
486
|
-
COMMA_LST
|
|
487
|
-
WHITESPACE_LST
|
|
488
|
-
TAB_LST
|
|
489
|
-
MIX_LST
|
|
490
|
-
Name: Lists, dtype:
|
|
485
|
+
SEMICOLON_LST A;B;C;D;E;F
|
|
486
|
+
COMMA_LST A,B,C,D,E,F
|
|
487
|
+
WHITESPACE_LST A B C D E F
|
|
488
|
+
TAB_LST A B C D E F
|
|
489
|
+
MIX_LST A;B,C D E;F
|
|
490
|
+
Name: Lists, dtype: str
|
|
491
491
|
|
|
492
492
|
>>> # load into the IODE Lists database
|
|
493
493
|
>>> lists.from_series(s)
|
|
@@ -715,7 +715,9 @@ class Scalars(IodeDatabase):
|
|
|
715
715
|
Name: qc0_, dtype: float64
|
|
716
716
|
"""
|
|
717
717
|
data = {name: self._get_object(name)._as_tuple() for name in self.names}
|
|
718
|
-
|
|
718
|
+
df = pd.DataFrame.from_dict(data, orient='index')
|
|
719
|
+
df.columns = ["value", "relax", "std"]
|
|
720
|
+
return df.astype("float64")
|
|
719
721
|
|
|
720
722
|
@property
|
|
721
723
|
def df(self) -> pd.DataFrame:
|
|
@@ -1037,19 +1037,36 @@ class Variables(IodeDatabase):
|
|
|
1037
1037
|
The periods to update/add.
|
|
1038
1038
|
If `key_periods` is None, values for the whole sample is updated/added.
|
|
1039
1039
|
"""
|
|
1040
|
+
if values is None:
|
|
1041
|
+
raise ValueError(f"Cannot add or update the IODE variable '{key_name}'.\n"
|
|
1042
|
+
f"Got None as value.")
|
|
1043
|
+
|
|
1044
|
+
if not self.sample:
|
|
1045
|
+
raise RuntimeError(f"Cannot add or update the IODE variable '{key_name}'.\n"
|
|
1046
|
+
f"The sample of the current Variables database is not defined.")
|
|
1047
|
+
|
|
1040
1048
|
if isinstance(key_name, str):
|
|
1041
1049
|
key_name = key_name.strip()
|
|
1042
1050
|
|
|
1043
1051
|
if isinstance(values, int):
|
|
1044
1052
|
values = float(values)
|
|
1045
|
-
|
|
1046
|
-
if values is None:
|
|
1047
|
-
raise ValueError(f"Cannot add or update the IODE variable '{key_name}'.\n"
|
|
1048
|
-
f"Got None as value.")
|
|
1049
1053
|
|
|
1050
|
-
|
|
1054
|
+
# NOTE: - required since pandas 3.0
|
|
1055
|
+
# - copy=True since extracting data from a Series using .values or to_numpy(),
|
|
1056
|
+
# returns a numpy array that is read-only by default -> make cython code from
|
|
1057
|
+
# variables_database.pyx to raise the error "ValueError: buffer source array is read-only".
|
|
1058
|
+
if isinstance(values, pd.Series):
|
|
1059
|
+
values = values.to_numpy(copy=True, dtype=np.float64)
|
|
1060
|
+
|
|
1061
|
+
if isinstance(values, pd.DataFrame):
|
|
1051
1062
|
raise RuntimeError(f"Cannot add or update the IODE variable '{key_name}'.\n"
|
|
1052
|
-
|
|
1063
|
+
"Expected a pandas Series or a numpy ndarray as values. "
|
|
1064
|
+
"Got a pandas DataFrame instead")
|
|
1065
|
+
|
|
1066
|
+
if isinstance(values, np.ndarray):
|
|
1067
|
+
# NOTE: do not call np.ascontiguousarray by default as it makes a copy of the data
|
|
1068
|
+
if not values.flags['C_CONTIGUOUS']:
|
|
1069
|
+
values = np.ascontiguousarray(values)
|
|
1053
1070
|
|
|
1054
1071
|
if key_periods is not None:
|
|
1055
1072
|
if isinstance(key_periods, str):
|
|
@@ -1103,10 +1120,6 @@ class Variables(IodeDatabase):
|
|
|
1103
1120
|
raise TypeError(f"Cannot update the IODE variable '{name}'.\nExpected 'value' of type str, int, "
|
|
1104
1121
|
f"float, list/tuple of float, numpy array, pandas Series or Variables.\nGot 'value' of type "
|
|
1105
1122
|
f"{type(values).__name__} instead")
|
|
1106
|
-
if isinstance(values, np.ndarray):
|
|
1107
|
-
# NOTE: do not call np.ascontiguousarray by default as it makes a copy of the data
|
|
1108
|
-
if not values.flags['C_CONTIGUOUS']:
|
|
1109
|
-
values = np.ascontiguousarray(values)
|
|
1110
1123
|
if isinstance(values, Variables):
|
|
1111
1124
|
sample: Sample = Sample(*key_periods)
|
|
1112
1125
|
if values.sample != sample:
|
|
@@ -1920,18 +1933,6 @@ class Variables(IodeDatabase):
|
|
|
1920
1933
|
self.from_numpy(value, names, key_periods[0], key_periods[-1])
|
|
1921
1934
|
return
|
|
1922
1935
|
|
|
1923
|
-
# if value is a pandas DataFrame
|
|
1924
|
-
if isinstance(value, pd.DataFrame):
|
|
1925
|
-
value = self._check_pandas_dataframe(value, names, key_periods)
|
|
1926
|
-
if isinstance(value, pd.DataFrame):
|
|
1927
|
-
data = value.to_numpy(copy=False)
|
|
1928
|
-
# see https://cython.readthedocs.io/en/stable/src/userguide/memoryviews.html#pass-data-from-a-c-function-via-pointer
|
|
1929
|
-
if not data.flags['C_CONTIGUOUS']:
|
|
1930
|
-
data = np.ascontiguousarray(data)
|
|
1931
|
-
for name, _data in zip(names, data):
|
|
1932
|
-
self._set_variable(name, _data, key_period_bounds)
|
|
1933
|
-
return
|
|
1934
|
-
|
|
1935
1936
|
# if value is pandas Series
|
|
1936
1937
|
if isinstance(value, pd.Series):
|
|
1937
1938
|
value = self._check_pandas_series(value, names, key_periods)
|
|
@@ -1942,13 +1943,17 @@ class Variables(IodeDatabase):
|
|
|
1942
1943
|
for name in names:
|
|
1943
1944
|
self._set_variable(name, value[name], key_period_bounds)
|
|
1944
1945
|
else:
|
|
1945
|
-
|
|
1946
|
-
# see https://cython.readthedocs.io/en/stable/src/userguide/memoryviews.html#pass-data-from-a-c-function-via-pointer
|
|
1947
|
-
if not data.flags['C_CONTIGUOUS']:
|
|
1948
|
-
data = np.ascontiguousarray(data)
|
|
1949
|
-
self._set_variable(names[0], data, key_period_bounds)
|
|
1946
|
+
self._set_variable(names[0], value, key_period_bounds)
|
|
1950
1947
|
return
|
|
1951
1948
|
|
|
1949
|
+
# if value is a pandas DataFrame
|
|
1950
|
+
if isinstance(value, pd.DataFrame):
|
|
1951
|
+
value = self._check_pandas_dataframe(value, names, key_periods)
|
|
1952
|
+
if isinstance(value, pd.DataFrame):
|
|
1953
|
+
for name, series in value.iterrows():
|
|
1954
|
+
self._set_variable(name, series, key_period_bounds)
|
|
1955
|
+
return
|
|
1956
|
+
|
|
1952
1957
|
if la is not None and isinstance(value, Array):
|
|
1953
1958
|
value = self._check_larray_array(value, names, key_periods)
|
|
1954
1959
|
data = value.data
|
|
@@ -2096,7 +2101,11 @@ class Variables(IodeDatabase):
|
|
|
2096
2101
|
# NOTE: _check_pandas_dataframe() may squeeze the DataFrame to a Series
|
|
2097
2102
|
other = _self._check_pandas_dataframe(other, self_names, self_periods)
|
|
2098
2103
|
if isinstance(other, pd.DataFrame):
|
|
2099
|
-
|
|
2104
|
+
# NOTE: - required since pandas 3.0
|
|
2105
|
+
# - copy=True since extracting data from a DataFrame using .values or to_numpy(),
|
|
2106
|
+
# returns a numpy array that is read-only by default -> make cython code from
|
|
2107
|
+
# variables_database.pyx to raise the error "ValueError: buffer source array is read-only".
|
|
2108
|
+
data = other.to_numpy(copy=True)
|
|
2100
2109
|
# see https://cython.readthedocs.io/en/stable/src/userguide/memoryviews.html#pass-data-from-a-c-function-via-pointer
|
|
2101
2110
|
if not data.flags['C_CONTIGUOUS']:
|
|
2102
2111
|
data = np.ascontiguousarray(data)
|
|
@@ -2105,7 +2114,11 @@ class Variables(IodeDatabase):
|
|
|
2105
2114
|
|
|
2106
2115
|
if isinstance(other, pd.Series):
|
|
2107
2116
|
other = _self._check_pandas_series(other, self_names, self_periods)
|
|
2108
|
-
|
|
2117
|
+
# NOTE: - required since pandas 3.0
|
|
2118
|
+
# - copy=True since extracting data from a Series using .values or to_numpy(),
|
|
2119
|
+
# returns a numpy array that is read-only by default -> make cython code from
|
|
2120
|
+
# variables_database.pyx to raise the error "ValueError: buffer source array is read-only".
|
|
2121
|
+
data = other.to_numpy(copy=True)
|
|
2109
2122
|
# see https://cython.readthedocs.io/en/stable/src/userguide/memoryviews.html#pass-data-from-a-c-function-via-pointer
|
|
2110
2123
|
if not data.flags['C_CONTIGUOUS']:
|
|
2111
2124
|
data = np.ascontiguousarray(data)
|
|
@@ -808,9 +808,9 @@ class Equation:
|
|
|
808
808
|
'(ACAF / VAF[-1]) := acaf2 * GOSF[-1] + acaf4 * (TIME=1995)'
|
|
809
809
|
>>> # wrong name for the endogenous variable
|
|
810
810
|
>>> eq_ACAF.lec = "(ACAF_ / VAF[-1]) := acaf2 * GOSF[-1] + acaf4 * (TIME=1995)"
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
811
|
+
>>> # in case of failure, the previous value of lec has been kept
|
|
812
|
+
>>> eq_ACAF.lec
|
|
813
|
+
'(ACAF / VAF[-1]) := acaf2 * GOSF[-1] + acaf4 * (TIME=1995)'
|
|
814
814
|
"""
|
|
815
815
|
return self._cy_equation.get_lec()
|
|
816
816
|
|
|
@@ -632,9 +632,9 @@ class Equation:
|
|
|
632
632
|
\'(ACAF / VAF[-1]) := acaf2 * GOSF[-1] + acaf4 * (TIME=1995)\'
|
|
633
633
|
>>> # wrong name for the endogenous variable
|
|
634
634
|
>>> eq_ACAF.lec = "(ACAF_ / VAF[-1]) := acaf2 * GOSF[-1] + acaf4 * (TIME=1995)"
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
635
|
+
>>> # in case of failure, the previous value of lec has been kept
|
|
636
|
+
>>> eq_ACAF.lec
|
|
637
|
+
\'(ACAF / VAF[-1]) := acaf2 * GOSF[-1] + acaf4 * (TIME=1995)\'
|
|
638
638
|
'''
|
|
639
639
|
@lec.setter
|
|
640
640
|
def lec(self, value: str): ...
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
ACAF: scalars : acaf1 acaf2 , r2=0.575200
|
|
2
|
+
ACAF: scalars : acaf1 acaf4 , r2=0.324238
|
|
3
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
4
|
+
ACAF: scalars : acaf1 acaf2 acaf4 , r2=0.793875
|
|
5
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
6
|
+
ACAF: scalars : acaf1 acaf2 , r2=0.575200
|
|
7
|
+
ACAF: scalars : acaf1 acaf4 , r2=0.324238
|
|
8
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
9
|
+
ACAF: scalars : acaf1 acaf2 acaf4 , r2=0.793875
|
|
10
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
11
|
+
ACAF: scalars : acaf1 acaf2 , r2=0.575200
|
|
12
|
+
ACAF: scalars : acaf1 acaf4 , r2=0.324238
|
|
13
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
14
|
+
ACAF: scalars : acaf1 acaf2 acaf4 , r2=0.793875
|
|
15
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
16
|
+
ACAF: scalars : acaf1 acaf2 , r2=0.575200
|
|
17
|
+
ACAF: scalars : acaf1 acaf4 , r2=0.324238
|
|
18
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
19
|
+
ACAF: scalars : acaf1 acaf2 acaf4 , r2=0.793875
|
|
20
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
21
|
+
ACAF: scalars : acaf1 acaf2 , r2=0.575200
|
|
22
|
+
ACAF: scalars : acaf1 acaf4 , r2=0.324238
|
|
23
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
24
|
+
ACAF: scalars : acaf1 acaf2 acaf4 , r2=0.793875
|
|
25
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
26
|
+
ACAF: scalars : acaf1 acaf2 , r2=0.575200
|
|
27
|
+
ACAF: scalars : acaf1 acaf4 , r2=0.324238
|
|
28
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
29
|
+
ACAF: scalars : acaf1 acaf2 acaf4 , r2=0.793875
|
|
30
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
31
|
+
ACAF: scalars : acaf1 acaf2 , r2=0.575200
|
|
32
|
+
ACAF: scalars : acaf1 acaf4 , r2=0.324238
|
|
33
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
34
|
+
ACAF: scalars : acaf1 acaf2 acaf4 , r2=0.793875
|
|
35
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
36
|
+
ACAF: scalars : acaf1 acaf2 , r2=0.575200
|
|
37
|
+
ACAF: scalars : acaf1 acaf4 , r2=0.324238
|
|
38
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
39
|
+
ACAF: scalars : acaf1 acaf2 acaf4 , r2=0.793875
|
|
40
|
+
ACAF: scalars : acaf2 acaf4 , r2=-1.058215
|
|
Binary file
|
|
@@ -33,13 +33,13 @@ dln (DPUH/DPUHO):=dpuh_1+dpuh_2*dln(IHU/PI5)+dln PC
|
|
|
33
33
|
.tb 6
|
|
34
34
|
.sep &
|
|
35
35
|
.ttitle Correlation matrix of coefficients
|
|
36
|
-
&1C &
|
|
36
|
+
&1C &1C��)�$&1C0�)�$&1C��)�$&1C �)�$&1C0�)�$
|
|
37
37
|
.tl
|
|
38
|
-
&
|
|
39
|
-
&
|
|
40
|
-
&
|
|
41
|
-
&
|
|
42
|
-
&
|
|
38
|
+
&1L��)�$&1D1.000000&1D-0.935266&1D0.200167&1D0.044832&1D-0.037290
|
|
39
|
+
&1L0�)�$&1D-0.935266&1D1.000000&1D-0.300833&1D-0.001662&1D0.039581
|
|
40
|
+
&1L��)�$&1D0.200167&1D-0.300833&1D1.000000&1D0.000375&1D-0.008926
|
|
41
|
+
&1L �)�$&1D0.044832&1D-0.001662&1D0.000375&1D1.000000&1D-0.041987
|
|
42
|
+
&1L0�)�$&1D-0.037290&1D0.039581&1D-0.008926&1D-0.041987&1D1.000000
|
|
43
43
|
.te
|
|
44
44
|
.tb 3
|
|
45
45
|
.sep &
|
|
@@ -211,11 +211,11 @@ acaf4*(TIME=1995)
|
|
|
211
211
|
.tb 4
|
|
212
212
|
.sep &
|
|
213
213
|
.ttitle Correlation matrix of coefficients
|
|
214
|
-
&1C &
|
|
214
|
+
&1C &1C��)�$&1C0�)�$&1C��)�$
|
|
215
215
|
.tl
|
|
216
|
-
&
|
|
217
|
-
&
|
|
218
|
-
&
|
|
216
|
+
&1L��)�$&1D1.000000&1D-0.936111&1D0.200170
|
|
217
|
+
&1L0�)�$&1D-0.936111&1D1.000000&1D-0.300746
|
|
218
|
+
&1L��)�$&1D0.200170&1D-0.300746&1D1.000000
|
|
219
219
|
.te
|
|
220
220
|
.tb 2
|
|
221
221
|
.sep &
|
|
@@ -320,10 +320,10 @@ dln (DPUH/DPUHO):=dpuh_1+dpuh_2*dln(IHU/PI5)+dln PC
|
|
|
320
320
|
.tb 3
|
|
321
321
|
.sep &
|
|
322
322
|
.ttitle Correlation matrix of coefficients
|
|
323
|
-
&1C &
|
|
323
|
+
&1C &1CЮ)�$&1Cp *�$
|
|
324
324
|
.tl
|
|
325
|
-
&
|
|
326
|
-
&
|
|
325
|
+
&1LЮ)�$&1D1.000000&1D-0.042291
|
|
326
|
+
&1Lp *�$&1D-0.042291&1D1.000000
|
|
327
327
|
.te
|
|
328
328
|
.tb 2
|
|
329
329
|
.sep &
|
|
@@ -433,13 +433,13 @@ dln (DPUH/DPUHO):=dpuh_1+dpuh_2*dln(IHU/PI5)+dln PC
|
|
|
433
433
|
.tb 6
|
|
434
434
|
.sep &
|
|
435
435
|
.ttitle Correlation matrix of coefficients
|
|
436
|
-
&1C &
|
|
436
|
+
&1C &1C��R�$&1Cp�R�$&1C@�R�$&1C&1C`.S�$
|
|
437
437
|
.tl
|
|
438
|
-
&
|
|
439
|
-
&
|
|
440
|
-
&
|
|
441
|
-
&
|
|
442
|
-
&
|
|
438
|
+
&1L��R�$&1D1.000000&1D-0.935266&1D0.200167&1D0.044832&1D-0.037290
|
|
439
|
+
&1Lp�R�$&1D-0.935266&1D1.000000&1D-0.300833&1D-0.001662&1D0.039581
|
|
440
|
+
&1L@�R�$&1D0.200167&1D-0.300833&1D1.000000&1D0.000375&1D-0.008926
|
|
441
|
+
&1L&1D0.044832&1D-0.001662&1D0.000375&1D1.000000&1D-0.041987
|
|
442
|
+
&1L`.S�$&1D-0.037290&1D0.039581&1D-0.008926&1D-0.041987&1D1.000000
|
|
443
443
|
.te
|
|
444
444
|
.tb 3
|
|
445
445
|
.sep &
|
|
@@ -608,9 +608,9 @@ d(_DF) := df_ * _DF[-1]
|
|
|
608
608
|
.tb 2
|
|
609
609
|
.sep &
|
|
610
610
|
.ttitle Correlation matrix of coefficients
|
|
611
|
-
&1C &
|
|
611
|
+
&1C &1C`#��$
|
|
612
612
|
.tl
|
|
613
|
-
&
|
|
613
|
+
&1L`#��$&1D1.000000
|
|
614
614
|
.te
|
|
615
615
|
.tb 2
|
|
616
616
|
.sep &
|
|
@@ -742,10 +742,10 @@ d(_DF) := df_ * _DF[-1]+ df_d
|
|
|
742
742
|
.tb 3
|
|
743
743
|
.sep &
|
|
744
744
|
.ttitle Correlation matrix of coefficients
|
|
745
|
-
&1C &
|
|
745
|
+
&1C &1C`.��$&1C
|
|
746
746
|
.tl
|
|
747
|
-
&
|
|
748
|
-
&
|
|
747
|
+
&1L`.��$&1D1.000000&1D-0.102305
|
|
748
|
+
&1L&1D-0.102305&1D1.000000
|
|
749
749
|
.te
|
|
750
750
|
.tb 2
|
|
751
751
|
.sep &
|
|
@@ -878,11 +878,11 @@ d(_DF) := df_ * _DF[-1]+ df_d+ df_t*t
|
|
|
878
878
|
.tb 4
|
|
879
879
|
.sep &
|
|
880
880
|
.ttitle Correlation matrix of coefficients
|
|
881
|
-
&1C &
|
|
881
|
+
&1C &1C`8��$&1C�4��$&1C�5��$
|
|
882
882
|
.tl
|
|
883
|
-
&
|
|
884
|
-
&
|
|
885
|
-
&
|
|
883
|
+
&1L`8��$&1D1.000000&1D-0.684631&1D0.690071
|
|
884
|
+
&1L�4��$&1D-0.684631&1D1.000000&1D-0.963325
|
|
885
|
+
&1L�5��$&1D0.690071&1D-0.963325&1D1.000000
|
|
886
886
|
.te
|
|
887
887
|
.tb 2
|
|
888
888
|
.sep &
|
|
@@ -277,6 +277,16 @@ def test_print_equation():
|
|
|
277
277
|
" date = 12-06-1998)")
|
|
278
278
|
assert str(eq_ACAF) == string_eq_ACAF
|
|
279
279
|
|
|
280
|
+
def test_set_lec():
|
|
281
|
+
eq_ACAF = Equation("ACAF", "(ACAF / VAF[-1]) := acaf1 + acaf2 * GOSF[-1] + acaf4 * (TIME=1995)")
|
|
282
|
+
# wrong name for the endogenous variable
|
|
283
|
+
error_msg = ("Error compiling LEC expression: (ACAF_ / VAF[-1]) := "
|
|
284
|
+
"acaf2 * GOSF[-1] + acaf4 * (TIME=1995)\n"
|
|
285
|
+
"Equation: cannot invert LEC expression '(ACAF_ / VAF[-1]) := acaf2 * GOSF[-1] + acaf4 * (TIME=1995)'\n"
|
|
286
|
+
"with respect to endogenous variable 'ACAF' -> endo not found")
|
|
287
|
+
with pytest.warns(RuntimeWarning, match=re.escape(error_msg)):
|
|
288
|
+
eq_ACAF.lec = "(ACAF_ / VAF[-1]) := acaf2 * GOSF[-1] + acaf4 * (TIME=1995)"
|
|
289
|
+
|
|
280
290
|
# Identities
|
|
281
291
|
# ----------
|
|
282
292
|
|
|
@@ -13,11 +13,7 @@ from pyiode.time.sample cimport CSample
|
|
|
13
13
|
|
|
14
14
|
cdef extern from "api/all.h":
|
|
15
15
|
cdef struct CLEC:
|
|
16
|
-
char duplicated_endo
|
|
17
16
|
string lec
|
|
18
|
-
int len_expr
|
|
19
|
-
unsigned char* expression
|
|
20
|
-
vector[pair[string, int]] objs
|
|
21
17
|
|
|
22
18
|
int B_EqsStepWise(char* arg)
|
|
23
19
|
double estimate_step_wise(CSample* smpl, char* eqname, char* cond, char* test);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# configuration file for the iode python package
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = [ "scikit-build-core>=0.10", "numpy>=2.
|
|
4
|
+
requires = [ "scikit-build-core>=0.10", "numpy>=2.4", "pandas>=3.0", "cython==3.1.4", "mypy>=1.10" ]
|
|
5
5
|
build-backend = "scikit_build_core.build"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "iode"
|
|
9
|
-
version = "7.0.
|
|
9
|
+
version = "7.0.9"
|
|
10
10
|
description = "IODE is a package dedicated to econometric models and to the management of statistical series"
|
|
11
11
|
readme = "README.md"
|
|
12
12
|
requires-python = ">=3.12"
|
|
@@ -33,7 +33,7 @@ classifiers = [
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
# runtime dependency specification
|
|
36
|
-
dependencies = [ "numpy>=2.
|
|
36
|
+
dependencies = [ "numpy>=2.4", "pandas>=3.0", "matplotlib" ]
|
|
37
37
|
|
|
38
38
|
[project.scripts]
|
|
39
39
|
iodecmd = "iode.cli:main"
|