fit.davies.p | R Documentation |
A convenience wrapper (and pretty-printer) for
maximum.likelihood()
and least.squares()
. Given a
dataset, it draws an empirical quantile function
(fit.davies.p()
) or PDF (fit.davies.q()
) and
superimposes the dataset.
fit.davies.p(x , print.fit=FALSE, use.q=TRUE , params=NULL, small=1e-5 , ...) fit.davies.q(x , print.fit=FALSE, use.q=TRUE , params=NULL, ...)
x |
dataset to be fitted and plotted |
print.fit |
Boolean with |
use.q |
Boolean with |
params |
three-element vector holding the three parameters of the
davies dataset. If |
small |
small positive number showing range of quantiles to plot |
... |
Additional parameters passed to |
If print.fit
is TRUE
, return the optimal parameters
Robin K. S. Hankin
least.squares
, maximum.likelihood
fit.davies.q(rchisq(100,1)) fit.davies.p(exp(rnorm(100))) data(x00m700p4) fit.davies.q(x00m700p4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.