blob: d62afb4b7f1eab67a9779778a342a81ab29a1787 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/distrib.R
\name{lossdistrib2}
\alias{lossdistrib2}
\title{recursive algorithm with first order correction}
\usage{
lossdistrib2(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{defaultflag}{Boolean, if True, we compute the default distribution
(instead of the loss distribution).}
}
\value{
a Numeric vector of size \code{N} computing the loss (resp.
default) distribution if \code{defaultflag} is FALSE (resp. TRUE).
}
\description{
recursive algorithm with first order correction
}
|