intgeger, maximum order of joint default probability
to estimate.
M
vector, count of successes.
m
vector, count of trials.
model
character, name of mixing distribution.
mu
numeric, location parameter.
n
integer, count of random variates.
pi
numeric, default probability.
pi1
numeric, default probability.
pi2
numeric, joint default probability.
q
numeric, values at which CDF should be evaluated.
sigma
numeric, scale parameter.
ses
logical, whether standard errors should be returned.
startvals
numeric, starting values.
theta
numeric, parameter of distribution.
trials
vector, group sizes in each time period.
x
numeric, values at which density should be evaluated.
rho.asset
numeric, asset correlation parameter.
...
ellipsis, arguments are passed down to either mixing
distribution or nlminb().
Details
cal.beta(): calibrates a beta mixture distribution on unit
interval to give an exchangeable Bernoulli mixture model with
prescribed default and joint default probabilities (see pages 354-355
in QRM). cal.claytonmix(): calibrates a mixture distribution on unit
interval to give an exchangeable Bernoulli mixture model with
prescribed default and joint default probabilities. The mixture
distribution is the one implied by a Clayton copula model of default
(see page 362 in QRM). cal.probitnorm(): calibrates a probitnormal mixture
distribution on unit interval to give an exchangeable Bernoulli
mixture model with prescribed default and joint default probabilities
(see page 354 in QRM). dclaytonmix(), pclaytonmix(), rclaytonmix():
density, cumulative probability, and random generation for a mixture
distribution on the unit interval which gives an exchangeable
Bernoulli mixture model equivalent to a Clayton copula model (see page
362 in QRM). fit.binomial(): fits binomial distribution by maximum
likelihood. dprobitnorm(), pprobitnorm(), rprobitnorm():
density, cumulative probability and random number generation for
distribution of random variable Q on unit interval such that the
probit transform of Q has a normal distribution with parameters
mu and sigma (see pages 353-354 in QRM). fit.binomialBeta(): fit a beta-binomial distribution by maximum
likelihood. fit.binomialLogitnorm(): fits a mixed binomial distribution
where success probability has a logitnormal distribution. Lower and
upper bounds for the input parameters M and m can be specified by
means of the arguments lower and upper, which are passed to
nlminb(). If convergence occurs at an endpoint of either limit,
one need to reset lower and upper parameter estimators and run the
function again. fit.binomialProbitnorm(): Fits a mixed binomial distribution
where success probability has a probitnormal distribution. Lower and
upper bounds for the input parameters M and m can be specified by
means of the arguments lower and upper, which are passed to
nlminb(). If convergence occurs at an endpoint of either limit,
one need to reset lower and upper parameter estimators and run the
function again. momest(): calculates moment estimator of default probabilities
and joint default probabilities for a homogeneous group. First
returned value is default probability estimate; second value is
estimate of joint default probability for two firms; and so on (see
pages 375-376 in QRM). rbinomial.mixture(): random variates from mixed binomial
distribution (see pages 354-355 and pages 375-377 of QRM). rlogitnorm(): Random number generation for distribution of
random variable Q on unit interval such that the probit transform of Q
has a normal distribution with parameters mu and
sigma (see pages 353-354 in QRM). rtcopulamix(): random generation for mixing distribution on
unit interval yielding Student's t copula model (see page 361 in QRM,
exchangeable case of this model is considered).