Learn R Programming

capn (version 1.0.0)

Capital Asset Pricing for Nature

Description

Implements approximation methods for natural capital asset prices suggested by Fenichel and Abbott (2014) in Journal of the Associations of Environmental and Resource Economists (JAERE), Fenichel et al. (2016) in Proceedings of the National Academy of Sciences (PNAS), and Yun et al. (2017) in PNAS (accepted), and their extensions: creating Chebyshev polynomial nodes and grids, calculating basis of Chebyshev polynomials, approximation and their simulations for: V-approximation (single and multiple stocks, PNAS), P-approximation (single stock, PNAS), and Pdot-approximation (single stock, JAERE). Development of this package was generously supported by the Knobloch Family Foundation.

Copy Link

Version

Install

install.packages('capn')

Monthly Downloads

238

Version

1.0.0

License

GPL (>= 2)

Maintainer

Last Published

June 5th, 2017

Functions in capn (1.0.0)

aproxdef

Defining Approximation Space
chebbasisgen

Generating Unidimensional Chebyshev polynomial (monomial) basis
chebgrids

Generating Chebyshev grids
GOM

Reef Fish example: one dimensional stock
LV

Prey-Predator (Lotka-Volterra) example: two stocks
paprox

Calculating P-approximation coefficients
param

the parameter vector adopted in GOM dataset
dsdotdss

second derivative function of sdot in GOM dataset
dwds

first derivative function of profit in GOM dataset
pdotaprox

Calculating Pdot-approximation coefficients
pdotsim

Simulation of Pdot-approximation
psim

Simulation of P-approximation
sdot

growth function of GOM dataset
chebnodegen

Unidimensional Chebyshev nodes
dsdotds

first derivative function of sdot in GOM dataset
dwdss

second derivative function of profit in GOM dataset
effort

effort function of GOM dataset
catch

catch function of GOM dataset
lvaproxdata

Prey-Predator (Lotka-Volterra) example in LV dataset
lvsimdata.time

Prey-Predator (Lotka-Volterra) example in LV dataset
plotgen

Plot Generator for Shadow Price or Value Function
profit

profit function in GOM dataset
unigrids

Generating unifrom grids
vaprox

Calculating V-approximation coefficients
vsim

Simulation of V-approximation