cdf_expmodel | R Documentation |
A cumulative distribution function(CDF) of Exponential-based
model.
To access parameters and coefficients in an object emodel
of a class expmodel
, use emodel$result[k, "lmd1"]
,
emodel$coeffs[[k]]
for some index k
.
This index appears in the leftmost column of estimation table generated by
summary(emodel)
.
cdf_expmodel(coeff, lmd, x)
coeff |
A coefficient vector in increasing order of degrees; the first element is 0th degree, ..., and last element is the largest degree of coefficients. |
lmd |
A rate parameter, which is positive. |
x |
A numeric vector of input. |
A numeric vector of CDF of an exponential-based model.
expmodel()
summary.expmodel()
estimate.expmodel()
func.expmodel()
cdf_expmodel()
## Create an object of `expmodel` emodel <- expmodel(mixexpgamma$n200) ## Estimate with degree 4 and rate parameter 2.0 emodel <- estimate(emodel, 4, 2.0) ## Input vector x <- seq(0, 12, 0.1) ## Output of PDF in above estimation yv <- cdf_expmodel(emodel$coeffs[[1]], emodel$result[1, "lmd1"], x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.