Package: trade 0.8.1

trade: Tools for Trade Practitioners

A collection of tools for trade practitioners, including the ability to calibrate different consumer demand systems and simulate the effects of tariffs and quotas under different competitive regimes. These tools are derived from Anderson et al. (2001) <doi:10.1016/S0047-2727(00)00085-2> and Froeb et al. (2003) <doi:10.1016/S0304-4076(02)00166-5>.

Authors:Charles Taragin

trade_0.8.1.tar.gz
trade_0.8.1.zip(r-4.5)trade_0.8.1.zip(r-4.4)trade_0.8.1.zip(r-4.3)
trade_0.8.1.tgz(r-4.4-any)trade_0.8.1.tgz(r-4.3-any)
trade_0.8.1.tar.gz(r-4.5-noble)trade_0.8.1.tar.gz(r-4.4-noble)
trade_0.8.1.tgz(r-4.4-emscripten)trade_0.8.1.tgz(r-4.3-emscripten)
trade.pdf |trade.html
trade/json (API)

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

Peer review:

Bug tracker:https://github.com/luciu5/trade/issues

On CRAN:

3.48 score 1 stars 1 packages 6 scripts 220 downloads 16 exports 4 dependencies

Last updated 2 years agofrom:66456449f3. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-winNOTENov 20 2024
R-4.5-linuxNOTENov 20 2024
R-4.4-winNOTENov 20 2024
R-4.4-macNOTENov 20 2024
R-4.3-winOKNov 20 2024
R-4.3-macOKNov 20 2024

Exports:auction2nd_tariffbargaining_tariffbertrand_quotabertrand_tariffcalcMarginscalcPricescalcProducerSurpluscalcQuantitiescalcSlopescournot_tariffHypoMonTestinitializemonopolistic_competition_tariffsimsummarytrade_shiny

Dependencies:antitrustBBnumDerivquadprog

trade Reference Manual

Rendered fromReference.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2022-08-23
Started: 2019-07-25

Readme and manuals

Help Manual

Help pageTopics
Tariff Simulation With A Second Score Procurement Auction Gameauction2nd_tariff
Tariff Simulation With A Nash Bargaining Gamebargaining_tariff
quota Simulation With A Bertrand Pricing Gamebertrand_quota
Tariff Simulation With A Bertrand Pricing Gamebertrand_tariff
Tariff Simulation With A Cournot Quantity Setting Gamecournot_tariff
Methods For Implementing The Hypothetical Monopolist TestdefineMarketTools-methods HypoMonTest HypoMonTest,TariffBertrand-method HypoMonTest,TariffCournot-method
Initialize Methodsinitialize,QuotaBertrand-method initialize,TariffBertrand-method initialize,TariffCournot-method initialize-methods
Tariff Simulation With A Monopolistic Competition Pricing Gamemonopolistic_competition_tariff
Methods To Calculate Producer SurpluscalcProducerSurplus,TariffBertrand-method calcProducerSurplus,TariffCournot-method ps-methods
S4 classes to model quotasQuota-classes QuotaBertrand-class QuotaCournot-class QuotaLogit-class
Tariff Simulation With User-Supplied Demand Parameterssim Sim-Functions
Summary Methodssummary,QuotaBertrand-method summary,TariffBertrand-method summary,TariffCournot-method summary-methods
S4 classes to model tariffsTariff-classes Tariff2ndLogit-class TariffAIDS-class TariffBargainingLogit-class TariffBertrand-class TariffCES-class TariffCournot-class TariffLogit-class TariffMonComLogit-class
Additional methods for TariffCournot ClasscalcQuantities,TariffCournot-method calcSlopes,TariffCournot-method TariffCournot-methods
Additional methods for TariffMonComLogit, TariffMonComCES ClassescalcMargins,TariffMonComCES-method calcMargins,TariffMonComLogit-method calcPrices,TariffMonComCES-method calcPrices,TariffMonComLogit-method calcSlopes,TariffMonComCES-method calcSlopes,TariffMonComLogit-method TariffMonComRUM-methods