Package: markets 1.1.5

markets: Estimation Methods for Markets in Equilibrium and Disequilibrium

Provides estimation methods for markets in equilibrium and disequilibrium. Supports the estimation of an equilibrium and four disequilibrium models with both correlated and independent shocks. Also provides post-estimation analysis tools, such as aggregation, marginal effect, and shortage calculations. See Karapanagiotis (2024) <doi:10.18637/jss.v108.i02> for an overview of the functionality and examples. The estimation methods are based on full information maximum likelihood techniques given in Maddala and Nelson (1974) <doi:10.2307/1914215>. They are implemented using the analytic derivative expressions calculated in Karapanagiotis (2020) <doi:10.2139/ssrn.3525622>. Standard errors can be estimated by adjusting for heteroscedasticity or clustering. The equilibrium estimation constitutes a case of a system of linear, simultaneous equations. Instead, the disequilibrium models replace the market-clearing condition with a non-linear, short-side rule and allow for different specifications of price dynamics.

Authors:Pantelis Karapanagiotis [aut, cre]

markets_1.1.5.tar.gz
markets_1.1.5.zip(r-4.5)markets_1.1.5.zip(r-4.4)markets_1.1.5.zip(r-4.3)
markets_1.1.5.tgz(r-4.5-x86_64)markets_1.1.5.tgz(r-4.5-arm64)markets_1.1.5.tgz(r-4.4-x86_64)markets_1.1.5.tgz(r-4.4-arm64)markets_1.1.5.tgz(r-4.3-x86_64)markets_1.1.5.tgz(r-4.3-arm64)
markets_1.1.5.tar.gz(r-4.5-noble)markets_1.1.5.tar.gz(r-4.4-noble)
markets_1.1.5.tgz(r-4.4-emscripten)markets_1.1.5.tgz(r-4.3-emscripten)
|markets.html
markets/json (API)
NEWS

# Install 'markets' in R:
install.packages('markets', repos = c('https://pi-kappa-devel.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pi-kappa-devel/markets/issues

Pkgdown site:https://markets.pikappa.eu

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

disequilibriumeconomicsfinancefull-information-maximum-likelihoodmarket-clearingmarket-modelsshort-side-rulecpp

4.30 score 1 stars 9 scripts 262 downloads 40 exports 21 dependencies

Last updated 1 years agofrom:576e5a51af. Checks:1 ERROR, 10 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesFAILFeb 12 2025
R-4.5-win-x86_64WARNINGFeb 12 2025
R-4.5-mac-x86_64WARNINGFeb 12 2025
R-4.5-mac-aarch64WARNINGFeb 12 2025
R-4.5-linux-x86_64WARNINGFeb 12 2025
R-4.4-win-x86_64WARNINGFeb 12 2025
R-4.4-mac-x86_64WARNINGFeb 12 2025
R-4.4-mac-aarch64WARNINGFeb 12 2025
R-4.3-win-x86_64WARNINGFeb 12 2025
R-4.3-mac-x86_64WARNINGFeb 12 2025
R-4.3-mac-aarch64WARNINGFeb 12 2025

Exports:aggregate_demandaggregate_supplycoefcoefficientsdemand_descriptivesdemanded_quantitiesdescribediseq_basicdiseq_deterministic_adjustmentdiseq_directionaldiseq_stochastic_adjustmentequilibrium_modelestimatefair_housesformulagradienthessianlog_likelihoodlogLikmarket_typenamencoefnobsnormalized_shortagesplotrelative_shortagesscoresshortage_indicatorsshortage_marginalshortage_probabilitiesshortage_probability_marginalshortage_standard_deviationshortagesshowsimulate_datasimulate_modelsummarysupplied_quantitiessupply_descriptivesvcov

Dependencies:clidplyrfansiFormulagenericsgluelifecyclemagrittrMASSpillarpkgconfigR6RcppRcppGSLRcppParallelrlangtibbletidyselectutf8vctrswithr

An example of market-clearing assessment

Rendered frommarket_clearing_assessment.Rmdusingknitr::rmarkdownon Feb 12 2025.

Last update: 2022-07-07
Started: 2020-06-27

Model initialization and estimation details

Rendered frommodel_details.Rmdusingknitr::rmarkdownon Feb 12 2025.

Last update: 2022-07-07
Started: 2022-01-08

Some examples of use-cases using the market models of the package

Rendered frombasic_usage.Rmdusingknitr::rmarkdownon Feb 12 2025.

Last update: 2022-07-07
Started: 2020-01-03

The R Package markets: Estimation Methods for Markets in Equilibrium and Disequilibrium

Rendered frompackage.Rmdusingknitr::rmarkdownon Feb 12 2025.

Last update: 2024-02-16
Started: 2021-05-11