Learn R Programming

systemicrisk (version 0.4.2)

Model.lambda.constant: Model for a Constant lambda

Description

This model assumes that the parameter lambda is known.

Usage

Model.lambda.constant(lambda, n)

Arguments

lambda

paramer for the size of the liabilities. Either a matrix of dimension n or a single numeric value.

n

dimension of matrix.

Value

the resulting model.

Examples

Run this code
# NOT RUN {
m <- Model.lambda.constant(n=5,lambda=0.25)
m$matr(m$rtheta())
lambda<-matrix(c(NA,1,1,1e-4,NA,1e-4,1e4,1e4,NA),nrow=3)
m <- Model.lambda.constant(n=3,lambda=lambda)
m$matr(m$rtheta())
# }

Run the code above in your browser using DataLab