summaryrefslogtreecommitdiffstats
path: root/man/lossdist.joint.Rd
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@serenitascapital.com>2015-07-30 15:17:00 -0400
committerGuillaume Horel <guillaume.horel@serenitascapital.com>2015-07-30 15:17:00 -0400
commitd2e3b9cb9758b22887dfaf0118c9e3e1085e28d8 (patch)
treee38df0cd40d2aaa982c3836d392ff86c6275e1aa /man/lossdist.joint.Rd
parent3cab7807e4d31a1cda940b9b3e160a1a7cf10a09 (diff)
downloadlossdistrib-d2e3b9cb9758b22887dfaf0118c9e3e1085e28d8.tar.gz
add generated docs
Diffstat (limited to 'man/lossdist.joint.Rd')
-rw-r--r--man/lossdist.joint.Rd34
1 files changed, 34 insertions, 0 deletions
diff --git a/man/lossdist.joint.Rd b/man/lossdist.joint.Rd
new file mode 100644
index 0000000..c3354af
--- /dev/null
+++ b/man/lossdist.joint.Rd
@@ -0,0 +1,34 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/distrib.R
+\name{lossdist.joint}
+\alias{lossdist.joint}
+\title{recursive algorithm with first order correction to compute the joint
+probability distribution of the loss and recovery.
+For high severities, M can become bigger than N, and there is
+some probability mass escaping.}
+\usage{
+lossdist.joint(p, w, S, N, defaultflag = FALSE)
+}
+\arguments{
+\item{p}{Numeric, vector of default probabilities}
+
+\item{w}{Numeric, vector of weights}
+
+\item{S}{Numeric, vector of severities}
+
+\item{N}{Integer, number of ticks in the grid}
+
+\item{cutoff}{Integer, where to stop computing the exact probabilities}
+}
+\value{
+q Matrix of joint loss, recovery probability distribution
+colSums(q) is the recovery distribution marginal
+rowSums(q) is the loss distribution marginal
+}
+\description{
+recursive algorithm with first order correction to compute the joint
+probability distribution of the loss and recovery.
+For high severities, M can become bigger than N, and there is
+some probability mass escaping.
+}
+