Description Usage Arguments Details Value Author(s) References See Also Examples
Manual detection of bounds of parameter of a density function/
| 1 | detectbound(distname, vstart, obs, fix.arg=NULL, echo=FALSE)
 | 
| distname |  A character string  | 
| vstart | A named vector giving the initial values of parameters of the named distribution. | 
| obs | A numeric vector for non censored data. | 
| fix.arg | An optional named vector giving the values of fixed parameters of the named distribution. Default to  | 
| echo | A logical to show some traces. | 
This function manually tests the following bounds : -1, 0, and 1.
detectbound returns a 2-row matrix with the lower bounds in the first
row and the upper bounds in the second row.
Christophe Dutang and Marie-Laure Delignette-Muller.
Delignette-Muller ML and Dutang C (2015), fitdistrplus: An R Package for Fitting Distributions. Journal of Statistical Software, 64(4), 1-34.
| 1 2 3 4 | #case where the density returns a Not-an-Numeric value.
detectbound("exp", c(rate=3), 1:10)
detectbound("binom", c(size=3, prob=1/2), 1:10)
detectbound("nbinom", c(size=3, prob=1/2), 1:10)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.