Wolfram言語

確率と統計における数量

単位付きの分布からの順序分布

あるシステムには3つのコンポーネントが含まれる.そのうちの1つが主要コンポーネントであり,2つは冗長コンポーネントである.それぞれのコンポーネントの寿命は,形状母数が2,平均寿命が885時間であるWeibullDistributionに従う.

In[1]:=
Click for copyable input
{sol} = NSolve[ Mean[WeibullDistribution[2, b]] == Quantity[885, "Hours"], b]
Out[1]=
In[2]:=
Click for copyable input
\[ScriptD] = WeibullDistribution[2, b] /. sol
Out[2]=

このシステムの寿命は,そのコンポーネントの最大寿命としてあらわすことができる.

In[3]:=
Click for copyable input
\[ScriptCapitalD] = OrderDistribution[{\[ScriptD], 3}, 3]
Out[3]=

システムの平均寿命.

In[4]:=
Click for copyable input
Mean[\[ScriptCapitalD]]
Out[4]=

ReliabilityDistributionを使った計算と比べる.

In[5]:=
Click for copyable input
Mean[ReliabilityDistribution[ comp1 \[Or] comp2 \[Or] comp3, {{comp1, \[ScriptD]}, {comp2, \[ScriptD]}, {comp3, \ \[ScriptD]}}]]
Out[5]=

単一のコンポーネントの寿命の確率密度関数を,システムの寿命の確率密度関数と比べる.

完全なWolfram言語入力を表示する
In[6]:=
Click for copyable input
Plot[{PDF[\[ScriptD], Quantity[x, "Hours"]], PDF[\[ScriptCapitalD], Quantity[x, "Hours"]]}, {x, 0, 3000}, FrameLabel -> {"hr"}, PlotTheme -> "Detailed", PlotLegends -> {"single component", "system"}, PlotLabel -> "Lifetime Distribution Density"]
Out[6]=

関連する例

de en es fr ko pt-br ru zh