![]() |
Home | Libraries | People | FAQ | More |
一個 DistributionType 類型是一個實現下面的概念要求的類型,並且包含一種數學統計分佈類型。
請注意,這個文檔不應當做為參考文檔和統計分佈手冊 的替代品(substitute)。
在下面的表中,d 是一個 DistributionType類型的對象,cd 是一個 const DistributionType 類型的對象且cr
是一個可以轉換為RealType類型的對象。
|
表達式 |
返回值類型 |
說明 |
|---|---|---|
|
DistributionType::value_type |
RealType |
分佈所操作的實數類型RealType 。 |
|
DistributionType::policy_type |
RealType |
當計算依賴於這個分佈的函數時所使用的策略 。 |
|
d = cd |
Distribution& |
分佈類型是可賦值的。 |
|
Distribution(cd) |
Distribution |
分佈類型是可拷貝構造的。 |
|
pdf(cd, cr) |
RealType |
返回分佈的PDF。 |
|
cdf(cd, cr) |
RealType |
返回分佈的CDF。 |
|
cdf(complement(cd, cr)) |
RealType |
返回分佈的CDF的補集,這與: |
|
quantile(cd, cr) |
RealType |
返回分佈的分位點。 |
|
quantile(complement(cd, cr)) |
RealType |
返回分佈的分位點,從概率的補集開始,與 |
|
chf(cd, cr) |
RealType |
返回分佈的累積危險函數(cumulative hazard function)。 |
|
hazard(cd, cr) |
RealType |
返回分佈的故障率函數(hazard function)。 |
|
kurtosis(cd) |
RealType |
返回分佈的峰態(kurtosis)。 |
|
kurtosis_excess(cd) |
RealType |
返回分佈的峰態超越(kurtosis excess)。 |
|
mean(cd) |
RealType |
返回分佈的均值(mean)。 |
|
mode(cd) |
RealType |
返回分佈的眾數(mode)。 |
|
skewness(cd) |
RealType |
返回分佈的偏斜(skewness)。 |
|
standard_deviation(cd) |
RealType |
返回分佈的標準差。 |
|
variance(cd) |
RealType |
返回分佈的方差。 |