<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>.NET weibull Archives - CenterSpace</title>
	<atom:link href="https://www.centerspace.net/tag/net-weibull/feed" rel="self" type="application/rss+xml" />
	<link>https://www.centerspace.net/tag/net-weibull</link>
	<description>.NET numerical class libraries</description>
	<lastBuildDate>Wed, 24 Jul 2019 20:02:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.1</generator>
<site xmlns="com-wordpress:feed-additions:1">104092929</site>	<item>
		<title>Fitting the Weibull Distribution</title>
		<link>https://www.centerspace.net/fitting-the-weibull-distribution</link>
					<comments>https://www.centerspace.net/fitting-the-weibull-distribution#respond</comments>
		
		<dc:creator><![CDATA[Paul Shirkey]]></dc:creator>
		<pubDate>Wed, 24 Jul 2019 18:30:45 +0000</pubDate>
				<category><![CDATA[NMath]]></category>
		<category><![CDATA[Statistics]]></category>
		<category><![CDATA[.NET weibull]]></category>
		<category><![CDATA[C# weibull]]></category>
		<category><![CDATA[fitting the Weibull distribution]]></category>
		<category><![CDATA[Weibull]]></category>
		<category><![CDATA[weibull distribution]]></category>
		<guid isPermaLink="false">https://www.centerspace.net/?p=7434</guid>

					<description><![CDATA[<p>The Weibull distribution is widely used in reliability analysis, hazard analysis, for modeling part failure rates and in many other applications. The NMath library currently includes 19 probably distributions and has recently added a fitting function to the Weibull distribution class at the request of a customer. The Weibull probability distribution, over the random variable [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.centerspace.net/fitting-the-weibull-distribution">Fitting the Weibull Distribution</a> appeared first on <a rel="nofollow" href="https://www.centerspace.net">CenterSpace</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The Weibull distribution is widely used in reliability analysis, hazard analysis, for modeling part failure rates and in many other applications.  The <strong>NMath </strong>library currently includes 19 probably distributions and has recently added a fitting function to the Weibull distribution class at the request of a customer.  </p>



<p>The Weibull probability distribution, over the random variable <em>x</em>, has two parameters:</p>



<ul><li>k &gt; 0, is the <em>shape parameter</em></li><li>λ &gt; 0, is the <em>scale parameter </em></li></ul>



<p>Frequently engineers have data that is known to be well modeled by the Weibull distribution but the shape and scale parameters are unknown. In this case a data fitting strategy can be used; <strong>NMath </strong>now has a maximum likelihood Weibull fitting function demonstrated in the code example below.</p>



<pre class="wp-block-code"><code>    public void WiebullFit()
    {
      double[] t = new double[] { 16, 34, 53, 75, 93, 120 };
      double initialShape = 2.2;
      double initialScale = 50.0;

      WeibullDistribution fittedDist = WeibullDistribution.Fit( t, initialScale, initialShape );

      // fittedDist.Shape parameter will equal 1.933
      // fittedDist.Scale parameter will equal 73.526
    }</code></pre>



<p>If the Weibull fitting algorithm fails the returned distribution will be <code>null</code>.  In this case improving the initial parameter guesses can help. The <code>WeibullDistribution.Fit()</code> function accepts either arrays, as seen above, or <code>DoubleVectors</code>.</p>



<p>The latest version of <strong>NMath</strong>, including this maximum likelihood Weibull fit function, is available on the CenterSpace <a href="https://www.nuget.org/profiles/centerspace">NuGet</a> gallery.</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.centerspace.net/fitting-the-weibull-distribution">Fitting the Weibull Distribution</a> appeared first on <a rel="nofollow" href="https://www.centerspace.net">CenterSpace</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.centerspace.net/fitting-the-weibull-distribution/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7434</post-id>	</item>
	</channel>
</rss>
