chisq_est | R Documentation |
function to get the method of moment estimate(s) of chi-square distribution
chisq_est(data, plot = TRUE, curvecol = "red", ...)
data |
A numeric vector. |
plot |
logical which controls whether the histogram of the data along with the density curve of the theoretical chi square distribution with the estimated parameters. |
curvecol |
color of the theoretical density curve |
... |
additional plotting parameters |
the estimated degree of freedom by the method of moments of the data assuming the underlying distribution is chi square distribution
chisq_est(rchisq(1000,df=3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.