Description Usage Arguments Details Value Note Author(s) References See Also Examples

Function to calculate the inverse function of a cumulative distribution function.

1 |

`f` |
a cdf function for which we want to obtain its inverse. |

`lower` |
the lower limit of |

`upper` |
the upper limit of |

`inverse`

is called by `random.function`

and calculates the inverse of a given
function `f`

. `inverse`

has been specifically designed to compute the inverse
of the cumulative distribution function of an absolutely continuous random variable, therefore
it assumes there is only a root for each value in the interval (0,1) between `f(lower)`

and `f(upper)`

. It is for internal use in `dgeometric.test`

.

A function, the inverse function of a cumulative distribution function `f`

.

This function uses either `optim`

with default options `method="L-BFGS-B"`

or `uniroot`

to derive the inverse function.

The upper endpoint must be strictly larger than the lower endpoint.

Jose M. Pavia

See the references in `optim`

and `uniroot`

.

`dgeometric.test`

, `integrate`

, `optim`

, `random.function`

,
`support.facto`

and `uniroot`

.

1 2 3 |

```
Loading required package: KernSmooth
KernSmooth 2.23 loaded
Copyright M. P. Wand 1997-2009
[1] 0.2123161
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.