pfcm | R Documentation |
Density, distribution function, quantile function and random generation
for the distribution of univariate factor copula model with rate parameter
equal to lambda
.
pfcm(w, lambda)
dfcm(w, lambda)
qfcm(u, lambda, tol = 1e-08, niter = 1000L)
rfcm(n, lambda)
w |
A numeric value representing the spatial process. |
lambda |
A numeric value representing rate parameter |
u |
a numeric vector of probabilities, with values in the interval from 0 to 1, at which the quantile function is to be computed. |
tol |
a scalar indicating the desired level of numerical accuracy for the algorithm; default is 1e-9. |
niter |
a scalar indicating the maximum number of iterations. |
n |
an integer value specifying the number of samples to generate |
The univariate eFCM distribution is
F(w;\lambda)=\Phi(w)-exp(\lambda^2/2-\lambda w)\Phi(w-\lambda),
where \lambda
is the rate parameter.
dfcm
gives a numeric value representing the density of the factor copula model evaluated at w
,
pfcm
gives a numeric value representing the CDF evaluated at w
,
qfcm
gives the quantile function (QF) of the factor copula model.
and rfcm
generate a numeric vector of random samples drawn.
pfcm(w = 1, lambda = 0.5)
dfcm(w = 1, lambda = 0.5)
qfcm(u = 0.5, lambda = 0.5)
rfcm(n = 1000, lambda = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.