Learn R Programming

trade (version 0.8.1)

ps-methods: Methods To Calculate Producer Surplus

Description

Producer Surplus methods for the TariffBertrand and TariffCournot classes

Usage

# S4 method for TariffBertrand
calcProducerSurplus(object, preMerger = TRUE)

# S4 method for TariffCournot calcProducerSurplus(object, preMerger = TRUE)

Value

product-level (or in the case of Cournot, plant-level) producer surplus

Arguments

object

an instance of class TariffBertrand or TariffCournot

preMerger

when TRUE, calculates producer surplus under the existing tariff regime. When FALSE, calculates tariffs under the new tariff regime. Default is TRUE.