powered by
This function produced a plot of the specified Tweedie distribution.
tweedie_plot(y, xi = NULL, mu, phi, type = "pdf", power = NULL, add = FALSE, ...)tweedie.plot( y, xi = NULL, mu, phi, type = "pdf", power = NULL, add = FALSE, ... )
tweedie.plot( y, xi = NULL, mu, phi, type = "pdf", power = NULL, add = FALSE, ... )
the values for \(y\) in the plot.
a synonym for power.
power
the mean of the distribution \(\mu\).
the dispersion parameter \(\phi\).
the type of plot, either PDF (the default) or CDF.
PDF
CDF
the variance power \(p\).
logical; if TRUE, the plot is added to the current plot; if FALSE (the default) the plot is produced on a fresh plot.
TRUE
FALSE
plotting parameters passed to plot().
plot()
If \(1 < p < 2\), the mass at \(Y=0\) is automatically added.
y <- seq(0, 4, length = 50) tweedie_plot(y, power = 1.1, mu = 1, phi = 1)
Run the code above in your browser using DataLab