Reputation: 1477
I have some data (x) and want to determine which distribution fits them best. I used:
descdist(x, discrete = FALSE, boot = 1000)
fit.norm<- fitdist(x, "norm")
plot(fit.norm)
fit.norm$aic
and did the same for weibull, gamma and lnorm. In the documentation I could not find a list of which other distributions (and the corresponding syntax) are possible. Does anyone know where I can find this information?
Upvotes: 4
Views: 6519
Reputation: 191
Add on to @Jacob's answer, here are two documentation pages I found really helpful where both the distribution names and the R syntax can be seen.
Upvotes: 1
Reputation: 3587
From the FAQ you get if you type ??fitdistplus
As documented, we provide initial values for the following distributions: norm
, lnorm
, exp
, pois
, cauchy
, gamma
, logis
, nbinom
, geom
, beta
, weibull
from the stats package; invgamma
, llogis
, invweibull
, pareto1
, pareto
from the actuar package.
Documentation also suggests you can use any distribution if you can specify it or find it in a pre-existing package.
Upvotes: 7