How to determine the mu and sigma in evpdf(X,mu,sigma)?

6 views (last 30 days)
There are no detailed information about how we can get the mu,sigma in evpdf(X,mu,sigma). And I have tried many times according the function of Extreme I Distribution, but it didn't work.

Answers (1)

Vishal Bhutani
Vishal Bhutani on 21 Sep 2018
Hi, as mentioned in the documentation link for function ‘evpdf’, mu and sigma are parameters evaluated at the values in the input variable. For example:
>> Y = evpdf(X,mu,sigma)
returns the pdf of the type 1 extreme value distribution with location parameter mu and scale parameter sigma, evaluated at the values in X. X, mu, and sigma can be vectors, matrices, or multidimensional arrays that all have the same size. A scalar input is expanded to a constant array of the same size as the other inputs.
Link of the documentation:
Hope it helps.
  1 Comment
Steven Lord
Steven Lord on 21 Sep 2018
See the Parameters section of this documentation page for an example of how to fit data to the extreme value distribution using evfit.
See this page in the documentation for how to fit univariate distributions to data using the Distribution Fitter app.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!