Skip to content

markets

Estimation Methods for Markets in Equilibrium and Disequilibrium

v1.1.7 · Feb 4, 2026 · MIT + file LICENSE

Description

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.

Downloads

305

Last 30 days

13153rd

889

Last 90 days

2.8K

Last year

Trend: -20% (30d vs prior 30d)

CRAN Check Status

6 NOTE
8 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (6 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘markets/libs/markets.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘markets/libs/markets.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'markets/libs/x64/markets.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.4Mb
  sub-directories of 1Mb or more:
    libs   3.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.5Mb
  sub-directories of 1Mb or more:
    libs   3.5Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘markets/libs/markets.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.4Mb
  sub-directories of 1Mb or more:
    libs   3.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.5Mb
  sub-directories of 1Mb or more:
    libs   3.5Mb

Dependency Network

Dependencies Reverse dependencies dplyr Formula MASS rlang Rcpp RcppGSL RcppParallel markets

Version History

new 1.1.7 Mar 10, 2026
updated 1.1.7 ← 1.1.6 diff Feb 3, 2026
updated 1.1.6 ← 1.1.5 diff Aug 18, 2025
updated 1.1.5 ← 1.1.4 diff Feb 16, 2024
updated 1.1.4 ← 1.1.3 diff Jan 5, 2023
updated 1.1.3 ← 1.1.2 diff Dec 21, 2022
updated 1.1.2 ← 1.1.0 diff Sep 7, 2022
updated 1.1.0 ← 1.0.6 diff Jul 10, 2022
updated 1.0.6 ← 1.0.3 diff Jul 5, 2022
updated 1.0.3 ← 1.0.2 diff Jun 2, 2022
new 1.0.2 May 17, 2022