Description Usage Arguments Value Author(s) See Also Examples

Returns the distribution parameters adjusted for by maximum likelihood (mle) for the following distributions: "normal","log-normal","geometric","exponential","Poisson", "cauchy" , "logistic" and "weibull"

1 |

`x` |
A numeric vector of length at least one containing only finite values (non-censored data) |

`normal ` |
Fitted Mean and sd for a normal distribution |

`'log-normal' ` |
Fitted Meanlog and sdlog for a log-normal distribution |

`geometric ` |
Fitted prob for a geometric distribution |

`exponential ` |
Fitted rate for a exponential distribution |

`Poisson ` |
Fitted lambda for a exponential distribution |

`cauchy ` |
Fitted location and scale for a Cauchy distribution |

`logistic ` |
Fitted location and scale for a Logistic distribution |

`weibull ` |
Fitted shape and scale for a weibull distribution |

F. Barrio-Parra

Function fitdistr in Library (MASS)

1 2 3 4 5 6 7 8 9 | ```
a <- rnorm(n=100, mean =10, sd = 1)
b <- Fit_dist_parameter(a)
# Examples of result extraction
b$normal
b$weibull
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.