信頼区間計算器
標本平均,SD,サイズから平均の信頼区間を作成した。
結果はタイプすると更新されます。
この計算機の情報
confidence interval is a range that is likely to contain the true population mean, estimated from a sample. Instead of a single best guess it reports a band together with a confidence level that says how often such bands capture the true value. It reports the bounds, the margin of error and the standard error, and a table shows the interval at the 90%, 95% and 99% levels so you can see how the range widens as you demand more confidence. The confidence interval is a range that is likely to contain the true population mean, estimated from a sample.Worked example: a sample mean of 100 with a standard deviation of 15 and 50 observations has a standard error of 15 ÷ √50 ≈ 2.12.Worked example: a sample mean of 100 with a
よくある質問
95%信頼区間は何を意味する?
これは、サンプルを何度も繰り返し、毎回区間を作成すると、約95%の区間が真の集団平均を含むことを意味します。平均が特定の区間にあるという95%の確率は存在しないことを意味します。
どの時点でt間隔を使うべきか?
標本が小さい(約30以下)で集団標準偏差が不明な場合は t-区間を使用します。 t-分布は重い尾を持ち、この z-ベースのものよりも少し広く、慎重な区間を与える。
信頼区間の誤差はどれくらいか。
誤差幅は区間の半分の幅である z*·(σ/√n) です。これをサンプル平均から加算して上下限を求めます。小さい誤差幅はより正確な推定値を意味します。
信頼区間をどうやって狭くするか?
標本の大きさを増やすか、信頼度を低くするかを選択してください。n の平方根で幅が縮小するので、より大きなサンプルを集めてください。データの変動を減らすことで、間隔も狭くなります。標本の大きさを 4 倍にすると、幅は約半分になります。
信頼度が高いほど間隔が広くなるか。
はい。信頼度を高めるには、より大きな臨界値 z* を使用します。従って、99% 間隔は、同じデータから作成した 95% 間隔よりも広い値です。信頼度と精度の間には常にトレードオフがあります。
標準誤差は何ですか。
標準誤差は標本サイズの平方根で割った標準偏差(σ/√n)であり,標本平均値がどれだけ試料ごとに変化するかを測定し,誤差幅の構成要素である。
API — コードからこの計算機を使う
この計算機を自由な JSON エンドポイントとして呼び出します。鍵は必要ありません。下のフィールド値をクエリパラメータまたは JSON として送信します。 API ドキュメントを読む →
エンドポイント
GET https://calculator.free/api/v1/confidence-interval/
curl
curl "https://calculator.free/api/v1/confidence-interval/?mean=100&sd=15&n=50&conf=1.96"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/confidence-interval/?" + new URLSearchParams({
"mean": "100",
"sd": "15",
"n": "50",
"conf": "1.96"
}));
const data = await r.json();
console.log(data.results);
結果は一般的な指導のための推定であり,財務的,医療的または税務的なアドバイスではない。