stats.ci_mean
Calculate a two-sided confidence interval for a sample mean using the t-distribution, returning the mean and lower and upper bounds from decimal values and a confidence level.
Instructions
표본 평균의 양측 신뢰구간을 t-분포로 계산해 mean, lower, upper를 돌려준다. values는 Decimal 문자열 2개 이상, confidence는 0과 1 사이 Decimal 문자열(기본 "0.95")이다. 표준오차는 표본 표준편차(ddof=1) 기반이며 float64 계산 결과를 유효숫자 10자리 문자열로 돌려준다. confidence에 95처럼 백분율을 넣으면 오류이고, 모집단 비율의 구간에는 쓸 수 없다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | ||
| confidence | No | 0.95 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mean | Yes | ||
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| lower | Yes | ||
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| upper | Yes |