ConfidenceRange
是 SurvivalModelFit 和其他函数的一个选项,它指定同步计算置信区间和置信带的范围.
更多信息
- ConfidenceRange 影响与同步置信区间和置信带的相关属性的值.
- ConfidenceRange 的可能设置包括:
-
All 使用非删截数据的区间 Full 使用数据的全部范围 {tmin,tmax} 显式设置置信区间 - 数值 tmin 和 tmax 可以是任何满足 tmin<tmax 的实数.
- 对于事件时间为 et 的生存模型,设置 Full 等价于设置 {Min[et],Max[et]}.
- 设置 All 等价于设置 {Min[nc],Max[nc]},其中 nc 是非删截和区间删截数据值的端点.
范例
打开所有单元 关闭所有单元基本范例 (1)
设置在 SurvivalModel 中同步置信带有效范围:
𝒮 = SurvivalModelFit[EventData[Automatic, {{{2081, Infinity}, {1602, Infinity}, {1496, Infinity}, {1462, Infinity},
{1433, Infinity}, {1377, Infinity}, {1330, Infinity}, {996, Infinity}, {226, Infinity},
{1199, Infinity}, {1111, Infinity}, {530, Infinity}, {1182, Infinity}, {1167, Infinity}, 418,
383, 276, 104, 609, 172, 487, 662, 194, 230, 526, 122, 129, 74, 122, 86, 466, 192, 109, 55, 1,
107, 110, 332}, None, None}]];;从 200 到 400 关于生存函数的 95% 的置信包络:
Plot[{𝒮[x], 𝒮["EqualPrecisionBands", ConfidenceRange -> {200, 400}][x]}, {x, 100, 500}, PlotStyle -> {Blue, Red}, PlotRange -> {0, 1}, Frame -> True, Axes -> None]范围 (2)
𝒮 = SurvivalModelFit[EventData[Automatic, {{{2081, Infinity}, {1602, Infinity}, {1496, Infinity}, {1462, Infinity},
{1433, Infinity}, {1377, Infinity}, {1330, Infinity}, {996, Infinity}, {226, Infinity},
{1199, Infinity}, {1111, Infinity}, {530, Infinity}, {1182, Infinity}, {1167, Infinity}, 418,
383, 276, 104, 609, 172, 487, 662, 194, 230, 526, 122, 129, 74, 122, 86, 466, 192, 109, 55, 1,
107, 110, 332}, None, None}]];Through[{Min, Max}[𝒮["EstimationPoints"]]]Plot[{𝒮[x], 𝒮["EqualPrecisionBands", ConfidenceRange -> Full][x]}, {x, -250, 2250}, PlotStyle -> {Blue, Red}, PlotRange -> {0, 1}, Frame -> True, Axes -> None]data = EventData[Automatic, {{{2081, Infinity}, {1602, Infinity}, {1496, Infinity}, {1462, Infinity},
{1433, Infinity}, {1377, Infinity}, {1330, Infinity}, {996, Infinity}, {226, Infinity},
{1199, Infinity}, {1111, Infinity}, {530, Infinity}, {1182, Infinity}, {1167, Infinity}, 418,
383, 276, 104, 609, 172, 487, 662, 194, 230, 526, 122, 129, 74, 122, 86, 466, 192, 109, 55, 1,
107, 110, 332}, None, None}];𝒮 = SurvivalModelFit[data];Through[{Min, Max}[Pick[data["InputData"], data["CensoringIndicators"], 0]]]Plot[{𝒮[x], 𝒮["EqualPrecisionBands", ConfidenceRange -> All][x]}, {x, -100, 750}, PlotStyle -> {Blue, Red}, PlotRange -> {0, 1}, Frame -> True, Axes -> None]文本
Wolfram Research (2012),ConfidenceRange,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ConfidenceRange.html.
CMS
Wolfram 语言. 2012. "ConfidenceRange." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ConfidenceRange.html.
APA
Wolfram 语言. (2012). ConfidenceRange. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ConfidenceRange.html 年
BibTeX
@misc{reference.wolfram_2026_confidencerange, author="Wolfram Research", title="{ConfidenceRange}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/ConfidenceRange.html}", note=[Accessed: 14-October-2026]}
BibLaTeX
@online{reference.wolfram_2026_confidencerange, organization={Wolfram Research}, title={ConfidenceRange}, year={2012}, url={https://reference.wolfram.com/language/ref/ConfidenceRange.html}, note=[Accessed: 14-October-2026]}