简体   繁体   English

使用Apache Commons Math进行Weibull参数估计

[英]Weibull Parameter estimation using Apache Commons Math

I need to estimate the shape and scale parameters of a Weibull distribution from a sample data using MLE. 我需要使用MLE从样本数据中估计Weibull分布的形状和比例参数。 I checked the WeibullDistribution class of Apache commons Math but it doesn't have such functionality. 我检查了Apache commons Math的WeibullDistribution类,但它没有这样的功能。 Any suggestion? 有什么建议吗? I need to use the class in my java application. 我需要在我的java应用程序中使用该类。

在Apache Commons Math中没有直接计算Weibull分布的MLE估计的方法,但是既然你知道了规模和形状的估算方程,你可以使用Apache Commons Math的类NewtonRaphsonSolver的方法solve()来计算估计形状参数,使用Newton-Rhapson方法,而对于比例,我认为你可以在得到形状的结果后使用Sum类的evaluate()方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM