We can use summary.mmfit(x, g, start, type) to obtain estimated distribution parameters. We use plot.mmfit(x, g, start, type) to plot fitting curve and empirical CDF with K-S confidence band.
1 2 |
x |
a set of sample data |
g |
moment function |
start |
initial values to start with |
type |
distribution type. It take a value from "Poisson", "power law", "Gamma", "Beta", mixture of "2Poissons", and "2Exponential". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.