cdf.mix.dag {acid} | R Documentation |
Cumulative Density Function of Dagum Mixture Distribution
Description
This function yields the cdf of a mixture distribution consisting of a point mass (at the lower end), a uniform distribution (above the point mass and below the Dagum distribution) and a Dagum distribution.
Usage
cdf.mix.dag(q, pi0, thres0 = 0, pi1, thres1, mu, sigma, nu, tau)
Arguments
q |
a vector of quantiles. |
pi0 |
the probability mass at thres0. |
thres0 |
the location of the probability mass at the lower end of the distribution. |
pi1 |
the probability mass of the uniform distribution. |
thres1 |
the upper bound of the uniform distribution. |
mu |
the parameter mu of the Dagum distribution as defined by the function GB2. |
sigma |
the parameter sigma of the Dagum distribution as defined by the function GB2. |
nu |
the parameter nu of the Dagum distribution as defined by the function GB2. |
tau |
the parameter tau of the Dagum distribution as defined by the function GB2. |
Value
returns the cumulative density for the given quantiles.
Author(s)
Alexander Sohn
References
Sohn, A., Klein, N. and Kneib. T. (2014): A New Semiparametric Approach to Analysing Conditional Income Distributions, in: SOEPpapers, No. 676.
See Also
Examples
pi0.s<-0.2
pi1.s<-0.1
thres0.s<-0
thres1.s<-25000
mu.s<-20000
sigma.s<-5
nu.s<-0.5
tau.s<-1
cdf.mix.dag(50000,pi0.s,thres0.s,pi1.s,thres1.s,mu.s,sigma.s,nu.s,tau.s)