How to obtain exponential equation parameter from probplot function?
古いコメントを表示
Hello everybody,
I have my dataset that here we name data. It is a vector.
I apply the probplot function from an exponential distribution
h=probplot('exponential',data)
I would like to obtain the exponential parameters to build an exp equation such as
f(x) = a*exp(b*x)
which represents the exponential fit for my data.
Thank you.
採用された回答
その他の回答 (1 件)
Jeff Miller
2019 年 5 月 30 日
For a standard exponential distribution,
probability = 1 - exp(-lambda*x)
where x is the data value and lambda is the parameter of the exponential. I think this is the equation of the black dashed line that you show. (But maybe you some other distribution in mind since you show a function with two parameters, a and b).
The value of lambda used in the previous equation would usually be the maximum likelihood estimate:
lambda_est = 1 / mean(data);
So, your graph makes it look like your data set is more compressed at the high end than would be expected from a true exponential.
カテゴリ
ヘルプ センター および File Exchange で Student's t Distribution についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
