4

当我调用以下示例时,我收到了一份漂亮的报告,但具体而言,置信度等于 95%:

julia> OneSampleTTest([1,2,3], 2)
One sample t-test
-----------------
Population details:
    parameter of interest:   Mean
    value under h_0:         2
    point estimate:          2.0
    95% confidence interval: (-0.48413771175033027,4.48413771175033)

Test summary:
    outcome with 95% confidence: fail to reject h_0
    two-sided p-value:           1.0 (not significant)

Details:
    number of observations:   3
    t-statistic:              0.0
    degrees of freedom:       2
    empirical standard error: 0.5773502691896258

我希望收到类似的报告,但置信度等于 99%。

OneSampleTest实现方法的文档状态confint,它确实接收参数alpha,但它没有给我一个完整的报告,如上所示。

4

0 回答 0