DATA-09 · DATA SCIENCE

분석 보고서·수치 표·불확실성 전달Reports, numeric tables and uncertainty

알려진 기록의 요약과 추가 모형 아래 구간을 구분하는 보고Reporting known records separately from intervals under added models

실습 6종 · 풀이 포함 연습문제 60개6 labs · 60 exercises with solutions

기초Foundations

1. 보고서는 숫자가 답하는 질문부터 쓴다1. Start a report with the question a number answers

“평균 107.77”만으로는 무엇을 더해 몇 개로 나눴는지 알 수 없습니다. 국가의 네 분기 지수인지, 사람의 로그 임금인지, 고객의 이탈 비율인지 먼저 적습니다. 숫자의 크기보다 질문·관측 단위·기간·계산 집합을 먼저 읽습니다.

이 장에서는 앞 장에서 만든 기술 요약을 보고서로 옮깁니다. 이어 추가 표집·작업모형을 가정할 때만 불확실성 구간을 붙입니다. 실제 기록을 모두 읽었다는 사실과 그 기록이 다른 모집단을 대표한다는 주장은 서로 다른 근거가 필요합니다.

“Mean 107.77” does not identify what was summed or counted. First state whether the target is four quarterly index values, recorded person log wages or a customer churn fraction. Read the question, observation unit, period and calculation set before interpreting magnitude.

This chapter turns descriptive summaries into reports, then adds intervals under explicit sampling or working models. Reading every retained record and establishing representation of another population require different evidence.

기초Foundations

2. 표 한 행의 단위와 보고 표적을 나눈다2. Separate a table row from the reporting target

한 행은 국가-분기, 원파일의 사람 기록 또는 고객 기록일 수 있습니다. 네 분기의 평균은 네 분기를 같은 무게로 요약한 값입니다. 사람 평균은 해당 변수의 가용 사람 기록을 같은 무게로 요약합니다. 국가·사람·고객의 분모를 섞지 않습니다.

표적은 “이번 파일에서 알려진 비율”일 수도, 추가 모형이 정의하는 공통 확률 p일 수도 있습니다. 같은 495/3150이라는 계산이 등장해도, 앞의 고정 파일 비율과 뒤의 미지 확률 추정은 해석이 다릅니다.

A row may be a country-quarter, an original person record or a customer record. A four-quarter mean equally weights those quarters; a person mean equally weights available records for the stated variable. Keep these denominators separate.

The target may be a known fraction of this file or a common probability p introduced by an additional model. The calculation 495/3150 can appear in both settings, but a fixed file fraction and an estimate of an unknown probability have different interpretations.

기초Foundations

3. 값의 기간·단위·보관 시점을 함께 남긴다3. Retain the value period, unit and archive context

임금 변수의 1976년과 자료를 내려받은 2026년은 다른 시점입니다. 원 로그는 1976년 센트/시간 임금의 정리된 로그 변수입니다. 이를 지수화하고 100으로 나누어도 현재 달러 임금이 되지 않습니다.

주택 지수의 네 2024년 분기는 같은 해의 네 기간값입니다. 지수 기준 2010년 평균=100과 2024년이라는 관측 기간을 각각 적습니다. 보관본에서 계산한 값이 당시 실시간으로 공표된 빈티지와 같다는 보장은 따로 확인해야 합니다.

The wage variable refers to 1976; downloading a file in 2026 does not update its economic period. The recorded variable is a source-trimmed log of 1976 cents per hour. Exponentiating and dividing by 100 does not produce a current-dollar wage.

The four 2024 housing-index quarters are four period values within that year. State both the reference “2010 average=100” and the observation period. A calculation from an archived vintage does not by itself certify the values available in real time.

기초Foundations

4. 전체·가용·미관측과 제외를 함께 보고한다4. Report source, available, missing and excluded counts

Card 원파일은 3,613행이며 정리 로그가 가용인 행은 3,010개, 미관측은 603개입니다. 가용합을 3,010으로 나눈 평균은 가용 기록의 기술 평균입니다. 3,613으로 나누면 미관측을 0으로 채운 별도 계산이 됩니다.

집단을 선택해 제외한 행과 값이 미관측인 행도 다릅니다. 고객의 불만 있음 집단 241행을 보고할 때는 전체 파일 3,150행, 선택 집단 241행과 선택 밖 2,909행을 나눠 표시합니다. 선택 밖이라는 이유로 이탈값이 결측인 것은 아닙니다.

The Card file has 3,613 rows, with 3,010 available trimmed logs and 603 missing logs. Dividing the available sum by 3,010 gives an available-record descriptive mean. Dividing by 3,613 instead inserts zeros for the missing values.

Group exclusion differs from missingness. For the 241 complaint-group records, distinguish the 3,150-row source, the selected 241 records and the 2,909 outside the group. Being outside the selected group does not make a recorded churn value missing.

기초Foundations

5. 고정 요약에 구간이 자동으로 생기지 않는다5. A fixed summary does not automatically acquire an interval

이번 보관본의 네 분기 지수가 모두 있으면 그 네 값의 산술평균은 정확히 계산됩니다. 분기 사이 관측 범위는 약 0.9027 지수점이지만, 이것을 네 분기 고정평균의 표본오차라고 부르지 않습니다.

별도 모집단·반복 표집 법칙을 정하면 다른 추론 질문을 만들 수 있습니다. 원측정의 오차·개정 가능성도 남습니다. 이 장에서 고정 파일 표적에 표본 CI를 만들지 않는다는 말은 모든 종류의 불확실성이 없다는 주장이 아닙니다.

When all four quarterly values in this archived vintage are available, their fixed arithmetic mean can be calculated. The observed quarter range is about 0.9027 index points; it is not the sampling error of that fixed four-value mean.

A separately specified population and repeated sampling law can define another inferential question. Measurement errors and revisions may also remain. Omitting a sampling CI for this fixed-record target does not assert that every source of uncertainty has vanished.

기초Foundations

6. 질문·추정치·조건·한계를 한 묶음으로 둔다6. Keep the question, estimate, conditions and limits together

간단한 보고 카드에도 ①질문과 표적, ②행·기간·단위, ③분자와 분모, ④기술값, ⑤구간이 있다면 그 모형, ⑥미관측·설계 한계를 담습니다. 소수점 자릿수는 이 중 계산 표시의 일부입니다.

예를 들어 “실제 고객 파일 3,150행 중 이탈 495행, 파일 비율 11/70≈15.7143%”는 기술 보고입니다. 여기에 Wilson 구간을 더할 때는 같은 p의 독립 Bernoulli라는 추가 작업모형과 명목 수준을 바로 옆에 둡니다.

Even a short report card should state the question and target; rows, period and units; numerator and denominator; descriptive value; any interval model; and missingness/design limits. Decimal places are one part of presentation.

“495 of 3,150 customer records show churn; the file fraction is 11/70≈15.7143%” is descriptive. A Wilson interval adds an independent common-probability Bernoulli working model; state that assumption and the nominal level beside the interval.

기초Foundations

7. 가용값의 정밀한 평균도 전체 평균을 식별하지 않는다7. An accurate available mean need not identify a full mean

관측 3,010개 로그의 평균을 많은 자릿수로 계산해도 603개 미관측 로그의 평균을 알게 되는 것은 아닙니다. 미관측 집단 평균을 m이라고 가정하면 전체 3,613행 평균은 다음처럼 달라집니다.

yˉfull=3010yˉobs+603m3613\bar y_{\mathrm{full}}=\frac{3010\bar y_{\mathrm{obs}}+603m}{3613}

m을 관측값으로 대체한 것이 아니라 민감도 가정을 표시한 식입니다. 가용 자료를 iid 정규로 취급한 CI도 미관측 집단의 선택 편향을 자동 보정하지 않습니다.

Computing the 3,010 available logs to many digits does not reveal the mean of the 603 missing logs. If the missing-group mean is assumed to be m, the full 3,613-record mean depends on it as follows.

yˉfull=3010yˉobs+603m3613\bar y_{\mathrm{full}}=\frac{3010\bar y_{\mathrm{obs}}+603m}{3613}

This is a sensitivity assumption, not an observed replacement. An iid-normal CI based on available values does not automatically correct missing-group selection bias.

기초Foundations

8. 실습 A · 고정 기록과 추가 모형을 나란히 읽는다8. Lab A · inspect fixed records beside added models

국가·사람·고객을 바꾸고 표시 자릿수와 신뢰수준을 선택합니다. 국가 고정평균에는 표본 CI가 생기지 않는지, 사람에는 가용 3,010/전체 3,613이 구분되는지, 고객의 선택 집단 밖 행이 결측으로 오인되지 않는지 확인합니다.

live 카드는 JavaScript 계산입니다. 고정 Python/R 실행의 코드·stdout·환경·해시·SVG는 별도 펼침에서 확인합니다. 새 조절기 설정을 실제 R이 방금 실행했다고 쓰지 않습니다.

Switch country, person and customer reports, display precision and confidence level. Confirm that the fixed country mean receives no sampling CI, the person report separates 3,010 available from 3,613 source rows, and out-of-group customer records are not called missing.

Live cards are calculated in JavaScript. Fixed Python/R code, stdout, environment, hashes and SVGs appear separately. A new control setting is not a fresh R execution.

기초Foundations

9. 소수점 자릿수는 표시 규칙이다9. Decimal places specify a display rule

고정평균 107.766625를 소수 둘째 자리까지 표시하면 107.77입니다. 원수치나 합·분모를 107.77에 맞춰 바꾸지 않습니다. 계산은 원값으로 하고 마지막 보고에서만 필요한 자릿수를 선택합니다.

자릿수가 많다고 측정 정확도·대표성·인과 식별이 늘어난 것은 아닙니다. 반대로 읽기 쉬운 표를 위해 표시를 줄였다고 모든 원수치를 버릴 필요도 없습니다. 정밀값과 원자료 내려받기를 함께 둡니다.

The fixed mean 107.766625 displays as 107.77 at two decimal places. Do not alter the source values, sum or denominator to match the display. Calculate from retained values and choose display precision at the reporting step.

More digits do not create measurement accuracy, representation or causal identification. A readable table can display fewer digits while retaining exact values and source downloads.

기초Foundations

10. 반올림의 동률 규칙을 정한다10. Declare how rounding handles exact ties

이 장의 live 자릿수 실습은 입력한 십진수·분수를 정확값으로 보고 가장 가까운 10⁻ᵈ 격자로 반올림합니다. 정확히 중간이면 0에서 먼 쪽을 택합니다. 예를 들어 1.125를 둘째 자리까지 쓰면 1.13, −1.125는 −1.13입니다.

이것은 Python/R의 기본 round 규칙을 모사한 것이 아닙니다. 그 언어들은 이진 부동소수점 입력과 짝수 쪽 동률 규칙 등의 실행 의미를 가집니다. 규칙이 다르면 같은 수치 표시가 달라도 계산 오류라고 단정하지 않습니다.

The live precision lab interprets input decimal/fraction text exactly and rounds to the nearest multiple of 10⁻ᵈ. An exact tie goes away from zero: 1.125 becomes 1.13 and −1.125 becomes −1.13 at two places.

This is not an emulator of Python/R default round. Those functions operate on their language values, including binary floating-point representation and ties-to-even behavior. Different declared rules can legitimately produce different displays.

기초Foundations

11. 실제 언어 출력과 선언한 규칙을 비교한다11. Compare actual language output with the declared rule

보관된 두 언어의 1.125 예제에서 기본 round의 둘째 자리 결과는 1.12입니다. live의 정확 십진 동률 규칙은 1.13입니다. 1.125는 이진수로도 정확히 표현되므로 이 예제에서는 동률 선택 차이를 분명히 볼 수 있습니다.

107.766625의 둘째 자리 표시 107.77처럼 동률이 아닌 예제도 함께 확인합니다. “항상 Python과 R이 모든 십진 입력에서 똑같다”는 결론으로 확장하지 않습니다. 실제 코드·버전·입력 표현을 확인합니다.

In the archived 1.125 examples, both language defaults display 1.12 at two places; the declared exact-decimal live rule gives 1.13. Because 1.125 is exactly representable in binary, this example isolates the tie choice.

Also inspect a non-tie example such as 107.766625 displayed as 107.77. These examples do not establish that Python and R agree for every decimal input. Check actual code, version and input representation.

기초Foundations

12. 표시 오차 상계는 표본오차 상계가 아니다12. A rounding-error bound is not a sampling-error bound

가장 가까운 소수 d자리로 반올림하면 입력 정확값 x와 표시값 r_d(x)의 거리는 반 격자폭 이하입니다. d는 0 이상의 정수입니다.

∣rd(x)−x∣≤12⋅10d\left|r_d(x)-x\right|\leq\frac{1}{2\cdot10^d}

둘째 자리에서는 최대 0.005입니다. 107.766625→107.77의 실제 표시 오차는 0.003375입니다. 이 부등식은 미지 모집단 평균이나 원측정 오차를 제한하는 식이 아닙니다.

Rounding to the nearest d decimal places, for an integer d≥0, moves the exact input by at most half a grid spacing.

∣rd(x)−x∣≤12⋅10d\left|r_d(x)-x\right|\leq\frac{1}{2\cdot10^d}

At two places the maximum is 0.005; the actual display error for 107.766625→107.77 is 0.003375. This bound does not constrain an unknown population mean or measurement error.

기초Foundations

13. 단위와 자릿수를 함께 정한다13. Choose units together with display precision

5.48달러/시간과 548센트/시간은 같은 통화 환산입니다. 소수 둘째 자리의 0.01달러는 1센트와 같지만 0.01센트와는 다릅니다. 표 머리글에 단위를 쓰고 원파일 단위도 출처에서 추적합니다.

표준편차·SE·구간 끝점은 양의 통화 배율을 따라 같은 배율로 바뀝니다. 분산은 그 배율의 제곱을 따릅니다. 단위 변경과 가격 기준연도를 바꾸는 물가 조정은 다른 작업입니다.

5.48 dollars/hour and 548 cents/hour are the same currency conversion. A 0.01-dollar display step equals one cent, not 0.01 cent. Put units in table headers and retain the original source unit.

SD, SE and interval endpoints scale with a positive currency multiplier; variance scales by its square. Unit conversion differs from a price-level adjustment across years.

기초Foundations

14. 사람 수·비율·퍼센트포인트를 나눈다14. Separate counts, proportions and percentage points

495명/3,150명=11/70≈0.157143=15.7143%입니다. 비율이 0.10에서 0.15로 바뀌면 차이는 0.05, 즉 5퍼센트포인트입니다. 출발값 대비 상대 증가는 50%로 다른 질문입니다.

비율 구간을 퍼센트로 표시할 때 끝점에 100을 곱합니다. 구간의 폭을 퍼센트포인트로 말하는 것과 성공자 수의 구간을 만드는 것은 같지 않습니다. 분모가 달라지면 원래 사람 수부터 다시 확인합니다.

495/3,150=11/70≈0.157143=15.7143%. A change from 0.10 to 0.15 is 0.05, or five percentage points; the relative increase from the starting value is 50%. These answer different questions.

Multiply interval endpoints by 100 to display percentages. Expressing interval width in percentage points does not create an interval for a success count. When the denominator changes, verify counts again.

기초Foundations

15. 읽기 쉬운 표도 미정의와 원값을 보존한다15. Readable tables retain undefined states and original values

표에는 추정치·단위·분모·구간·조건을 서로 다른 열로 둡니다. 미정의를 0으로 쓰거나 아주 작은 양수를 정확한 0이라고 쓰지 않습니다. 긴 정확 분수는 근삿값과 펼침을 함께 사용합니다.

구간을 비교할 때 같은 표적·수준·모형인지 확인합니다. 한 표에 있는 가정 미래 PI와 평균 CI를 폭만으로 우열 평가하지 않습니다. 범주별 구간 그림은 점과 양끝을 표시하고, 인접 범주 점을 시간경로처럼 잇지 않습니다.

Give estimates, units, denominators, intervals and assumptions separate columns. Do not replace an undefined value with zero or describe a rounded positive value as exact zero. Long exact fractions can accompany a readable approximation in a disclosure panel.

Before comparing intervals, check their targets, levels and models. A future-value PI and a mean CI answer different questions. For categorical interval graphics, show the point and both bounds without joining category points into a supposed time path.

기초Foundations

16. 실습 B · 입력은 보존하고 표시만 바꾼다16. Lab B · preserve input while changing its display

입력값·소수 자릿수를 바꾸고 원값, 표시값, 정확 표시 오차와 반 격자 상계를 비교합니다. 음수 동률·매우 작은 양수도 확인합니다. 여기서는 0~8자리까지 지원하며 입력 길이와 지수의 한계는 브라우저 계산 범위입니다.

실제 Python/R의 기본 반올림 기록과 선언한 half-away 예제를 구분합니다. 브라우저가 Python/R을 실행하거나 모든 언어의 반올림 규칙을 재현하는 실습이 아닙니다.

Change the input and decimal places, comparing original value, display, exact display error and the half-grid bound. Try negative ties and small positive inputs. The lab supports 0–8 places; text-length and exponent limits are browser computation bounds.

Keep actual Python/R default-rounding records separate from the declared half-away examples. The browser does not execute those languages or reproduce every language rounding rule.

기초Foundations

17. 표준편차는 관측값의 산포를 요약한다17. Standard deviation summarizes the spread of values

같은 단위의 가용값 x₁, …, xₙ이 있고 n≥1이라고 합시다. 기술분산은 평균에서 벗어난 제곱거리의 평균입니다. n=1이면 기술분산은 0입니다.

xˉ=1n∑i=1nxivn=1n∑i=1n(xi−xˉ)2\begin{gathered}\bar x=\frac{1}{n}\sum_{i=1}^n x_i\\v_n=\frac{1}{n}\sum_{i=1}^n(x_i-\bar x)^2\end{gathered}

표준편차는 분산의 제곱근이므로 원변수와 같은 단위를 갖습니다. 이 값만으로 추정 평균이 반복 표집에서 얼마나 움직이는지 알 수 있는 것은 아닙니다.

For n≥1 available values x₁, …, xₙ in the same unit, descriptive variance is the average squared departure from their mean. For n=1 it is zero.

xˉ=1n∑i=1nxivn=1n∑i=1n(xi−xˉ)2\begin{gathered}\bar x=\frac{1}{n}\sum_{i=1}^n x_i\\v_n=\frac{1}{n}\sum_{i=1}^n(x_i-\bar x)^2\end{gathered}

Its square root has the original variable’s unit. This descriptive spread alone does not identify the repeated-sampling variability of an estimated mean.

기초Foundations

18. n−1 분모를 쓰는 이유와 조건을 밝힌다18. Explain the n−1 denominator and its conditions

n≥2에서 표본분산 s²의 분모는 n−1입니다. iid이고 공통 유한 분산 σ²가 있으면 s²는 σ²에 불편입니다. iid나 표집 법칙 없이도 표본분산 통계량은 계산할 수 있지만, 그 불편성 주장은 추가 모형 아래의 성질입니다.

SS=∑i(Xi−Xˉ)2A=∑i(Xi−μ)2SS=A−n(Xˉ−μ)2s2=SS/(n−1)\begin{gathered}SS=\sum_i(X_i-\bar X)^2\\A=\sum_i(X_i-\mu)^2\\SS=A-n(\bar X-\mu)^2\\s^2=SS/(n-1)\end{gathered}

위 항등식의 기대값은 nσ²−n(σ²/n)=(n−1)σ²입니다. n=1에서는 s²가 미정의입니다. 기술분산 0과 n−1 분모 미정의를 구분합니다.

For n≥2, sample variance s² divides by n−1. Under iid observations with common finite variance σ² it is unbiased for σ². The statistic can be calculated without that design; its unbiasedness is a property under additional assumptions.

SS=∑i(Xi−Xˉ)2A=∑i(Xi−μ)2SS=A−n(Xˉ−μ)2s2=SS/(n−1)\begin{gathered}SS=\sum_i(X_i-\bar X)^2\\A=\sum_i(X_i-\mu)^2\\SS=A-n(\bar X-\mu)^2\\s^2=SS/(n-1)\end{gathered}

Taking expectations gives nσ²−n(σ²/n)=(n−1)σ². For n=1, s² is undefined. Keep that state separate from the zero descriptive variance.

기초Foundations

19. 표준오차는 추정량의 반복 변동이다19. Standard error describes repeated variation of an estimator

독립이고 공통 분산 σ²인 n개 관측의 평균은 분산 σ²/n을 갖습니다. 그 표준편차 σ/√n이 평균의 이론적 SE입니다. 모르는 σ를 s로 바꾼 s/√n은 그 SE의 추정값입니다.

Var⁡(Xˉ)=σ2nSE^(Xˉ)=sn\begin{gathered}\operatorname{Var}(\bar X)=\frac{\sigma^2}{n}\\\widehat{\mathrm{SE}}(\bar X)=\frac{s}{\sqrt n}\end{gathered}

관측 SD와 평균 SE의 차이는 단위가 아니라 대상입니다. 의존 자료에서는 서로 다른 관측의 공분산도 평균 분산에 들어갑니다. 행 수가 크다는 이유만으로 독립식 σ²/n을 적용하지 않습니다.

For n independent observations with common variance σ², the mean has variance σ²/n. Its theoretical SE is σ/√n; replacing unknown σ by s gives an estimated SE, s/√n.

Var⁡(Xˉ)=σ2nSE^(Xˉ)=sn\begin{gathered}\operatorname{Var}(\bar X)=\frac{\sigma^2}{n}\\\widehat{\mathrm{SE}}(\bar X)=\frac{s}{\sqrt n}\end{gathered}

SD and mean SE differ in target, not unit. Dependence introduces cross-observation covariance terms into the variance of the mean. A large row count does not certify the independent-observation formula.

기초Foundations

20. 네 값으로 평균·SD·SE를 손으로 구한다20. Calculate a mean, SD and SE from four values

설명용 가용값 (1, 2, 3, 4)의 평균은 2.5입니다. 제곱이탈은 2.25, 0.25, 0.25, 2.25로 합은 5입니다. 기술분산은 5/4, 표본분산은 5/3입니다.

s=5/3≈1.290994449SE^=s/2=5/12≈0.645497224\begin{gathered}s=\sqrt{5/3}\approx1.290994449\\\widehat{\mathrm{SE}}=s/2=\sqrt{5/12}\approx0.645497224\end{gathered}

모든 값에 10을 더하면 평균은 12.5가 되지만 제곱이탈·SD·SE는 보존됩니다. 모든 값에 양의 100을 곱하면 평균·SD·SE는 100배, 분산은 10,000배입니다. 아직 이 네 값의 원표집이 iid 정규라고 관측으로 입증한 것은 아닙니다.

For toy available values (1, 2, 3, 4), the mean is 2.5 and squared departures sum to 5. Descriptive variance is 5/4; sample variance is 5/3.

s=5/3≈1.290994449SE^=s/2=5/12≈0.645497224\begin{gathered}s=\sqrt{5/3}\approx1.290994449\\\widehat{\mathrm{SE}}=s/2=\sqrt{5/12}\approx0.645497224\end{gathered}

Adding 10 shifts the mean to 12.5 but preserves squared departures, SD and SE. Multiplying by positive 100 scales the mean, SD and SE by 100, and variance by 10,000. These calculations do not establish an iid-normal sampling design.

기초Foundations

21. 알려진 양의 σ의 정규 피벗을 쓴다21. Use a normal pivot with known positive sigma

추가 모형으로 X₁, …, Xₙ이 iid N(μ, σ²)이고 σ>0가 알려졌다고 가정합니다. n≥1에서 표준화 평균은 표준정규입니다. z는 표준정규의 정확한 1−α/2 분위수이고 0<α<1입니다.

Z=Xˉ−μσ/n∼N(0,1)h=zσ/nC(X)=[Xˉ−h,Xˉ+h]\begin{gathered}Z=\frac{\bar X-\mu}{\sigma/\sqrt n}\sim N(0,1)\\h=z\sigma/\sqrt n\\C(\mathbf X)=[\bar X-h,\bar X+h]\end{gathered}

이 이상적 모형과 정확 분위수 아래 Pμ(μ∈C)=1−α입니다. 실제 프로그램의 보관 R 분위수는 수치 근사입니다. σ=0에서는 이 양의 분산 피벗이 미정의이며, 퇴화법칙은 별도 분석해야 합니다.

Assume an additional model: X₁, …, Xₙ are iid N(μ, σ²), with known σ>0 and n≥1. Let z be the exact standard-normal 1−α/2 quantile, where 0<α<1.

Z=Xˉ−μσ/n∼N(0,1)h=zσ/nC(X)=[Xˉ−h,Xˉ+h]\begin{gathered}Z=\frac{\bar X-\mu}{\sigma/\sqrt n}\sim N(0,1)\\h=z\sigma/\sqrt n\\C(\mathbf X)=[\bar X-h,\bar X+h]\end{gathered}

Under this ideal model and exact quantile, Pμ(μ∈C)=1−α. Archived R quantiles are numerical approximations. At σ=0 this positive-variance pivot is undefined; a degenerate law requires separate analysis.

기초Foundations

22. 모르는 σ를 추정하면 t 피벗의 조건이 필요하다22. Estimating sigma requires the conditions for a t pivot

n≥2개의 iid N(μ, σ²), σ²>0 관측에서 σ를 표본 SD로 바꾸면 t 분포가 생깁니다. 단순히 기호 σ를 s로 교체해서 정규분포가 그대로라고 하지 않습니다.

T=Xˉ−μs/n∼tn−1h=t∗s/nCt=[Xˉ−h,Xˉ+h]\begin{gathered}T=\frac{\bar X-\mu}{s/\sqrt n}\sim t_{n-1}\\h=t_*s/\sqrt n\\C_t=[\bar X-h,\bar X+h]\end{gathered}

t*는 tₙ₋₁의 1−α/2 분위수입니다. 관측 s=0이면 이 피벗을 계산하지 않습니다. 이상적 양의 분산 연속 정규모형에서는 그 사건의 확률이 0이지만, 실제 반올림·이산 기록에서는 같은 값만 나올 수 있습니다. 표시 상태와 이상적 모형의 가정을 함께 밝힙니다.

For n≥2 iid N(μ, σ²) observations with σ²>0, replacing σ by sample SD produces a t pivot. Simply replacing the symbol does not preserve a standard-normal distribution.

T=Xˉ−μs/n∼tn−1h=t∗s/nCt=[Xˉ−h,Xˉ+h]\begin{gathered}T=\frac{\bar X-\mu}{s/\sqrt n}\sim t_{n-1}\\h=t_*s/\sqrt n\\C_t=[\bar X-h,\bar X+h]\end{gathered}

Here t* is the tₙ₋₁ 1−α/2 quantile. If the observed s is zero, the pivot is not evaluated. That event has probability zero under the ideal positive-variance continuous normal model, but repeated values occur in rounded/discrete records. Disclose both the displayed state and the model.

기초Foundations

23. 구간이 무작위이고 모수는 고정이라는 해석을 지킨다23. Keep the interval random and the parameter fixed

빈도주의 신뢰절차는 표집 전에 구간 C(X)가 무작위입니다. 같은 고정 μ와 같은 표집 법칙에서 이를 반복 적용할 때 참 μ를 포함하는 비율을 정의합니다. 이미 계산한 숫자 구간에서 μ가 무작위로 이동한다는 뜻이 아닙니다.

“이 작업모형 아래 명목 95% 평균 CI”라고 보고하고 모형·가용 집합을 적습니다. 이것만으로 개별 관측의 95%가 구간 안에 있거나 미래 한 값이 95%로 들어간다는 주장은 나오지 않습니다. 전체 과학적 불확실성이 이 구간 하나로 표현된 것도 아닙니다.

Before sampling, a frequentist interval C(X) is random. Coverage is defined over repeated samples from the same law with a fixed μ. It does not mean that μ moves randomly inside an already calculated numerical interval.

Report a “nominal 95% mean CI under this working model,” with its model and availability set. This does not say that 95% of observations or one future observation falls in it. One interval also does not capture every source of scientific uncertainty.

기초Foundations

24. 실습 C · SD·SE·평균 CI·새 값 PI를 구분한다24. Lab C · distinguish SD, SE, mean CI and new-value PI

가정값 목록에 미관측 null을 넣어 가용 분모를 확인합니다. t와 알려진 σ의 z를 바꾸고 평균·표본 SD·SE·평균 CI를 비교합니다. 같은 값만 있거나 가용값 하나인 경계도 확인합니다.

새 값 PI는 다음 절의 추가 미래 독립조건까지 포함한 별도 열입니다. exp/100 선택도 다음 절에서 다룹니다. live 입력값은 절댓값 10¹² 이하, 0이 아닌 값은 10⁻¹⁰⁰ 이상인 유한 계산 범위이며 실제 임금 표본으로 꾸미지 않습니다.

Use a toy value list, including missing null entries, to inspect the available denominator. Compare t with known-sigma z, inspecting the mean, sample SD, SE and mean CI. Test all-equal values and one available value.

The new-value PI is a separate column requiring the future-independence conditions below; exp/100 is also explained next. Live toy inputs have magnitude at most 10¹², with nonzero magnitude at least 10⁻¹⁰⁰. These are finite computation bounds, not actual wage observations.

기초Foundations

25. 새 관측과 미지 평균은 다른 표적이다25. A new observation and an unknown mean are different targets

훈련 관측 n개가 iid N(μ, σ²)이고 새 Xnew도 같은 법칙에서 훈련 전체와 독립이라고 가정합니다. 평균을 잘 추정해도 새 관측 자체의 산포 σ²는 남습니다. 독립성으로 두 오차 분산이 더해집니다.

Var⁡(Xnew−Xˉ)=σ2+σ2nSEprediction=σ1+1/n\begin{gathered}\operatorname{Var}(X_{\mathrm{new}}-\bar X)=\sigma^2+\frac{\sigma^2}{n}\\\mathrm{SE}_{\mathrm{prediction}}=\sigma\sqrt{1+1/n}\end{gathered}

σ를 알면 z, 모르면 n≥2에서 s와 tₙ₋₁를 쓰는 양의 분산 정규 PI를 얻습니다. 독립 미래가 같은 분포라는 조건은 실제 파일의 시간 순서나 변수 이름만으로 확인되지 않습니다.

Assume n iid N(μ, σ²) training observations and a new Xnew from the same law, independent of the entire training sample. Estimating the mean accurately leaves the new observation’s own variance σ². Independence makes the two error variances add.

Var⁡(Xnew−Xˉ)=σ2+σ2nSEprediction=σ1+1/n\begin{gathered}\operatorname{Var}(X_{\mathrm{new}}-\bar X)=\sigma^2+\frac{\sigma^2}{n}\\\mathrm{SE}_{\mathrm{prediction}}=\sigma\sqrt{1+1/n}\end{gathered}

Known σ gives a z PI; estimated positive s with n≥2 gives a tₙ₋₁ PI under the normal model. A time order or variable name alone does not certify a future independent draw from the same law.

기초Foundations

26. 같은 수준의 PI가 더 넓은 이유를 계산한다26. Calculate why a same-level PI is wider

같은 훈련 자료·정규 피벗·명목 수준을 써 평균 CI와 독립 새 값 PI를 비교합니다. 공통 양의 spread와 임계값이면 반폭의 비는 √(n+1)입니다.

hmean=c spreadnhnew=c spread1+1/nhnewhmean=n+1\begin{gathered}h_{\mathrm{mean}}=c\,\frac{\mathrm{spread}}{\sqrt n}\\h_{\mathrm{new}}=c\,\mathrm{spread}\sqrt{1+1/n}\\\frac{h_{\mathrm{new}}}{h_{\mathrm{mean}}}=\sqrt{n+1}\end{gathered}

n=4이면 √5배입니다. n이 커질 때 평균 CI 반폭은 0으로 줄지만 새 값 PI에는 관측 자체의 산포가 남습니다. 다른 수준·모형을 섞은 임의의 두 구간에 이 폭 비를 적용하지 않습니다.

Compare a mean CI and an independent-new-value PI using the same training data, normal pivot and nominal level. With a common positive spread and critical value, their half-width ratio is √(n+1).

hmean=c spreadnhnew=c spread1+1/nhnewhmean=n+1\begin{gathered}h_{\mathrm{mean}}=c\,\frac{\mathrm{spread}}{\sqrt n}\\h_{\mathrm{new}}=c\,\mathrm{spread}\sqrt{1+1/n}\\\frac{h_{\mathrm{new}}}{h_{\mathrm{mean}}}=\sqrt{n+1}\end{gathered}

For n=4 the ratio is √5. Increasing n shrinks the mean interval but leaves new-observation variability. This ratio does not apply to arbitrary intervals with different levels or models.

선택 심화Optional extension

27. 심화 · t 구간에서 독립성이 쓰이는 곳을 찾는다27. Extension · locate the independence behind t intervals

iid 정규 관측을 표준화한 벡터에 첫 축이 상수벡터 방향인 직교변환을 적용합니다. 정규벡터의 직교 성분은 독립입니다. 첫 좌표가 표준화 평균 Z이고 나머지 제곱합은 U입니다.

Z=n(Xˉ−μ)/σ∼N(0,1)U=(n−1)s2/σ2∼χn−12Z ⊥ UT=Z/U/(n−1)\begin{gathered}Z=\sqrt n(\bar X-\mu)/\sigma\sim N(0,1)\\U=(n-1)s^2/\sigma^2\sim\chi^2_{n-1}\\Z\ \perp\ U\\T=Z/\sqrt{U/(n-1)}\end{gathered}

평균의 정규성과 잔차 제곱합의 χ², 그리고 둘의 독립성이 함께 필요합니다. 새 값 PI도 훈련 전체와 독립인 정규 새 값의 차이를 표준화하면 같은 U와 독립인 표준정규 분자를 얻습니다. 비정규 자료에서 이 유한 표본 t 결론을 자동 유지하지 않습니다.

Apply an orthogonal transform to the standardized iid-normal vector, using the constant-vector direction as the first axis. Orthogonal components of this normal vector are independent. The first coordinate is the standardized mean Z; the other squared coordinates sum to U.

Z=n(Xˉ−μ)/σ∼N(0,1)U=(n−1)s2/σ2∼χn−12Z ⊥ UT=Z/U/(n−1)\begin{gathered}Z=\sqrt n(\bar X-\mu)/\sigma\sim N(0,1)\\U=(n-1)s^2/\sigma^2\sim\chi^2_{n-1}\\Z\ \perp\ U\\T=Z/\sqrt{U/(n-1)}\end{gathered}

The normal numerator, chi-squared residual sum and their independence are all needed. For a PI, a new normal value independent of the full training sample gives a standardized difference independent of the same U. Nonnormal records do not automatically retain this finite-sample t result.

기초Foundations

28. 엄격 단조 변환은 포함 사건을 옮긴다28. Strictly monotone transformations transport inclusion events

실수 전체에서 엄격히 증가하는 g(μ)=exp(μ)/100을 씁니다. μ의 구간 [L, U]가 있으면 g(μ)의 구간은 [g(L), g(U)]입니다. 이 경우 두 포함 사건은 같은 사건입니다.

μ∈[L,U] ⟺ g(μ)∈[g(L),g(U)]\mu\in[L,U]\ \Longleftrightarrow\ g(\mu)\in[g(L),g(U)]

새 log 관측의 PI를 변환하면 그 새 관측의 지수값 PI가 됩니다. 평균 log의 CI를 변환한 구간과 표적이 다릅니다. 수치 overflow·underflow가 생기면 수학적 양의 유한값과 화면 표시 한계를 나눠 기록합니다.

Use g(μ)=exp(μ)/100, strictly increasing on the real line. An interval [L, U] for μ maps to [g(L), g(U)] for g(μ); the inclusion events are equivalent.

μ∈[L,U] ⟺ g(μ)∈[g(L),g(U)]\mu\in[L,U]\ \Longleftrightarrow\ g(\mu)\in[g(L),g(U)]

Transforming a new-log-value PI gives a PI for that new value’s exponential, a different target from a transformed mean-log CI. If numerical overflow/underflow occurs, separate the mathematical positive finite value from display limits.

기초Foundations

29. 지수 평균은 기하중심이며 산술평균과 다르다29. Exponentiated mean logs give a geometric center

양의 값 wᵢ의 log 평균을 지수화하면 기하평균입니다. 센트/시간 로그를 달러/시간으로 옮길 때 100으로 나눕니다. 실제 변수는 원자료의 정리 로그이므로 원 raw 임금과 가용 행이 같다고 가정하지 않습니다.

exp⁡(1n∑ilog⁡wi)=(∏iwi)1/n\exp\left(\frac1n\sum_i\log w_i\right)=\left(\prod_iw_i\right)^{1/n}

설명용 (1, 9)의 기하평균은 3, 산술평균은 5입니다. 실제 Card 3,010개 log의 exp 평균/100은 약 5.241783달러/시간입니다. 이 값을 1976년 원임금의 가용 3,017행 산술평균이나 현재 임금으로 바꾸어 부르지 않습니다.

Exponentiating the mean logs of positive values gives their geometric mean. Divide a cents/hour result by 100 for dollars/hour. The actual variable is source-trimmed log wage; its available rows need not equal the raw-wage rows.

exp⁡(1n∑ilog⁡wi)=(∏iwi)1/n\exp\left(\frac1n\sum_i\log w_i\right)=\left(\prod_iw_i\right)^{1/n}

Toy values (1, 9) have geometric mean 3 and arithmetic mean 5. For the 3,010 available Card logs, exp(mean)/100 is about 5.241783 dollars/hour. This is neither the 3,017-available-row raw-wage arithmetic mean nor a current wage.

선택 심화Optional extension

30. 심화 · 정규 log 모형의 두 평균을 구분한다30. Extension · distinguish two centers under a normal-log model

별도 모형 Y∼N(μ, σ²), σ²>0에서 W=exp(Y)/100이라고 정의합니다. 기하중심은 exp(μ)/100, 산술 기대값은 분산항도 포함합니다. 정규 적률생성함수를 t=1에 대입해 얻습니다.

E[etY]=etμ+t2σ2/2E[W]=eμ+σ2/2100eE[Y]/100=eμ100\begin{gathered}E[e^{tY}]=e^{t\mu+t^2\sigma^2/2}\\E[W]=\frac{e^{\mu+\sigma^2/2}}{100}\\e^{E[Y]}/100=\frac{e^\mu}{100}\end{gathered}

이항의 차이는 Jensen 부등식과도 맞습니다. 산술 기대값의 구간에는 μ뿐 아니라 σ²의 불확실성도 관련됩니다. μ의 t 구간 끝점을 지수화한 구간을 산술 기대임금의 CI라고 부를 수 없습니다.

In a separate model Y∼N(μ, σ²), σ²>0, define W=exp(Y)/100. The geometric center is exp(μ)/100, while the arithmetic expectation includes a variance term, obtained from the normal moment-generating function at t=1.

E[etY]=etμ+t2σ2/2E[W]=eμ+σ2/2100eE[Y]/100=eμ100\begin{gathered}E[e^{tY}]=e^{t\mu+t^2\sigma^2/2}\\E[W]=\frac{e^{\mu+\sigma^2/2}}{100}\\e^{E[Y]}/100=\frac{e^\mu}{100}\end{gathered}

The difference agrees with Jensen’s inequality. An interval for the arithmetic expectation also involves uncertainty about σ². Exponentiating a t interval for μ does not produce a CI for arithmetic expected wages.

기초Foundations

31. 계산이 맞아도 대표성은 별도로 검토한다31. Correct arithmetic leaves representation to be examined

실제 Card의 추가 iid 정규 t 구간은 약 [6.245971, 6.277693]입니다. 원자료의 603개 미관측이나 의존·표집 설계를 이 숫자가 제거하지 않습니다. 포함률 정리는 선언한 반복 법칙의 조건부 주장입니다.

실제 고객의 조건부 집단 비율 차이도 관찰 관계입니다. 그룹마다 별도 구간을 붙였다는 사실만으로 두 그룹 차이의 검정이나 동시 95% 포함, 불만 처리의 인과효과가 입증되는 것은 아닙니다.

The added iid-normal t interval for available Card logs is approximately [6.245971, 6.277693]. It does not remove 603 missing values, dependence or sampling-design concerns. The coverage theorem is conditional on the declared repeated law.

Customer group-rate differences are observational. Separate intervals do not automatically constitute a test of their difference, simultaneous 95% coverage or an identified causal effect of complaint treatment.

기초Foundations

32. 한 문장에서도 대상과 구간 종류를 밝힌다32. Name the target and interval type even in a short sentence

좋은 짧은 문장은 “가용 3,010개 정리 log의 기술 평균은 6.261832이며, 가용 기록을 iid 정규로 취급하는 추가 모형의 명목 95% 평균 CI는 약 [6.245971, 6.277693]이다”처럼 씁니다. 이어 전체 3,613·미관측 603과 한계를 적습니다.

“임금의 95%는 [5.1593, 5.3256]달러다”로 줄이면 표적을 바꿉니다. 그 변환 구간은 log 모집단 평균의 지수인 기하중심에 대한 것입니다. 개별 임금의 95% 구간이나 원 raw 임금 산술평균 구간이 아닙니다.

A concise report can say: “The descriptive mean of 3,010 available trimmed logs is 6.261832; an added iid-normal working model gives a nominal 95% mean CI of approximately [6.245971, 6.277693].” Then disclose 3,613 source rows, 603 missing values and scope limits.

Shortening this to “95% of wages lie in [5.1593, 5.3256] dollars” changes the target. That transformed interval concerns the geometric center exp(population mean log)/100. It is neither an individual-wage 95% interval nor a raw-wage arithmetic-mean interval.

기초Foundations

33. 비율 구간에는 이진 반복 법칙이 추가된다33. A proportion interval adds a binary repeated law

추가 모형으로 독립인 Xᵢ∼Bernoulli(p), i=1, …, n을 가정하고 n≥1, 0≤p≤1이라고 둡니다. 성공수 K는 이항분포이고 비율 추정량은 K/n입니다.

K=∑iXi∼Bin⁡(n,p)p^=K/nE[p^]=pVar⁡(p^)=p(1−p)/n\begin{gathered}K=\sum_iX_i\sim\operatorname{Bin}(n,p)\\\hat p=K/n\\E[\hat p]=p\\\operatorname{Var}(\hat p)=p(1-p)/n\end{gathered}

실제 파일의 495개 이탈 표시는 이 수업 모형을 인증하지 않습니다. 모든 행을 보관했는지 확인하는 작업과 iid Bernoulli 추론의 타당성을 확인하는 작업을 구분합니다.

Add a model of independent Xᵢ∼Bernoulli(p), i=1, …, n, with n≥1 and 0≤p≤1. The success count K is binomial and the proportion estimator is K/n.

K=∑iXi∼Bin⁡(n,p)p^=K/nE[p^]=pVar⁡(p^)=p(1−p)/n\begin{gathered}K=\sum_iX_i\sim\operatorname{Bin}(n,p)\\\hat p=K/n\\E[\hat p]=p\\\operatorname{Var}(\hat p)=p(1-p)/n\end{gathered}

The actual 495 churn indicators do not certify this teaching model. Verifying complete retention of source rows differs from establishing iid-Bernoulli inference.

기초Foundations

34. Wald는 관측 비율의 분산을 대입한다34. Wald substitutes the observed proportion into its variance

z>0를 선언한 정규 임계값이라고 합시다. Wald 구간은 p(1−p)에 관측 비율을 대입합니다. 계산은 간단하지만 경계와 작은 n에서 좋은 포함률을 보증하지 않습니다.

hW=zp^(1−p^)/nCW=[p^−hW,p^+hW]\begin{gathered}h_W=z\sqrt{\hat p(1-\hat p)/n}\\C_W=[\hat p-h_W,\hat p+h_W]\end{gathered}

k=0이면 [0, 0], k=n이면 [1, 1]이 됩니다. 성공 0개를 관측했다고 미지 p가 정확히 0인 것은 아닙니다. 원 Wald 끝점이 [0, 1] 밖으로 나가면 그대로인 값과 잘라 표시한 값을 구분합니다. 자르는 것만으로 보편적인 명목 포함률이 생기지는 않습니다.

Let z>0 be a declared normal critical value. Wald substitutes the observed proportion for p in p(1−p). Its simple calculation does not guarantee good coverage near boundaries or at small n.

hW=zp^(1−p^)/nCW=[p^−hW,p^+hW]\begin{gathered}h_W=z\sqrt{\hat p(1-\hat p)/n}\\C_W=[\hat p-h_W,\hat p+h_W]\end{gathered}

For k=0 it becomes [0, 0]; for k=n it becomes [1, 1]. Zero observed successes do not establish p=0. Distinguish raw endpoints outside [0, 1] from clipped display values; clipping alone does not create universal nominal coverage.

기초Foundations

35. Wilson은 후보 p의 score 부등식을 푼다35. Wilson solves the score inequality for candidate p

후보 p마다 표준화한 이항 평균 오차의 제곱이 z² 이하인지를 확인합니다. 0<p<1에서 시작한 score 조건을 분모가 없는 다항 부등식으로 옮기면 p=0, 1의 경계도 명시할 수 있습니다.

n(p^−p)2≤z2p(1−p)Ap2−Bp+C≤0A=n+z2B=2k+z2C=k2/n\begin{gathered}n(\hat p-p)^2\leq z^2p(1-p)\\Ap^2-Bp+C\leq0\\A=n+z^2\\B=2k+z^2\\C=k^2/n\end{gathered}

이 이차식의 두 근 사이가 Wilson 구간입니다. score의 대수적 반전이 정확하다는 말과 모든 유한 n, p에서 포함률이 명목값과 같다는 말은 다릅니다. 프로그램의 z도 실제 R에서 얻은 수치 근사입니다.

For each candidate p, compare the squared standardized binomial-mean error with z². Starting with the score condition on 0<p<1, a denominator-free polynomial also specifies the endpoint behavior at p=0 and p=1.

n(p^−p)2≤z2p(1−p)Ap2−Bp+C≤0A=n+z2B=2k+z2C=k2/n\begin{gathered}n(\hat p-p)^2\leq z^2p(1-p)\\Ap^2-Bp+C\leq0\\A=n+z^2\\B=2k+z^2\\C=k^2/n\end{gathered}

The interval between these quadratic roots is Wilson’s interval. Exact algebraic inversion differs from coverage equal to nominal at every finite n, p. The program’s z is also a numerical approximation obtained from actual R.

기초Foundations

36. 실습 D · 0·중간·전부 성공의 구간을 비교한다36. Lab D · compare zero, intermediate and all-success intervals

n과 k, 수준을 바꾸어 원 Wald·잘라 표시한 Wald·Wilson을 비교합니다. k=0, n=10의 Wilson 상한은 z²/(10+z²)>0입니다. k=n의 경우는 대칭으로 아래쪽 여유가 남습니다.

모든 점과 구간은 같은 선언 이진 모형의 계산입니다. 실제 고객 집단 보고로 바꾸려면 실습 A를 씁니다. 실습의 n 범위 1~10,000은 계산 범위이며 n=10,000이 독립성과 대표성을 보장하는 기준은 아닙니다.

Change n, k and level to compare raw Wald, clipped Wald and Wilson. For k=0, n=10, Wilson’s upper bound is z²/(10+z²)>0. At k=n, the lower-bound behavior is symmetric.

These calculations use an explicitly declared binary model; use Lab A for actual customer-group reports. The supported n range 1–10,000 is computational, not a rule certifying independence or representation.

기초Foundations

37. 구간 끝점 대신 정확한 포함 사건을 판정한다37. Classify inclusion without comparing rounded endpoints

참 p를 고정하고 가능한 k=0, …, n마다 구간이 그 p를 포함하는지 확인합니다. Wilson은 다음 첫 부등식, Wald는 둘째 부등식입니다. 등호를 포함하는 닫힌 구간 관례를 씁니다.

u=k/nd=n(u−p)2Wilson: d≤z2p(1−p)Wald: d≤z2u(1−u)\begin{gathered}u=k/n\\d=n(u-p)^2\\\text{Wilson: }d\leq z^2p(1-p)\\\text{Wald: }d\leq z^2u(1-u)\end{gathered}

p와 선언 z의 십진 상수를 유리수로 보관하면 이 비교를 정수 교차곱으로 정확히 할 수 있습니다. 화면에 0.50으로 반올림한 끝점과 p를 비교하는 방식은 경계에서 다른 사건을 만들 수 있습니다.

Fix true p and classify inclusion for every possible k=0, …, n. The first squared inequality below gives Wilson inclusion; the second gives Wald inclusion. Equality is included under the closed-interval convention.

u=k/nd=n(u−p)2Wilson: d≤z2p(1−p)Wald: d≤z2u(1−u)\begin{gathered}u=k/n\\d=n(u-p)^2\\\text{Wilson: }d\leq z^2p(1-p)\\\text{Wald: }d\leq z^2u(1-u)\end{gathered}

Represent p and the declared z decimal constant as rational numbers to compare exact integer cross-products. Comparing p with an endpoint rounded to 0.50 can define a different boundary event.

기초Foundations

38. 정확 합과 근사 임계값을 같은 이름으로 부르지 않는다38. Separate an exact sum from a numerical critical value

보관 임계값 표는 실제 R 4.5.1의 qnorm·qt를 실행한 603행입니다. 90·95·99% 수준, 정규 3값과 t 자유도 1~199 및 3009의 값을 담습니다. 이 소수 문자열은 수학적 분위수 그 자체가 아니라 수치 근사입니다.

포함률 실습은 그 소수 문자열을 정확 유한 상수로 정한 뒤 사건을 정확히 분류합니다. 따라서 “선언 수치 상수 아래 이항 포함률 합이 정확하다”와 “이상적 정규 분위수를 썼을 때의 포함률이 정확히 같음”을 구분합니다. 수치값의 표시 자릿수를 바꾸는 조절기는 선언 상수 자체를 바꾸지 않습니다.

The 603-row critical table comes from an actual R 4.5.1 qnorm/qt execution: three normal values and t values at df 1–199 plus 3009, each for 90%, 95% and 99%. Decimal strings are numerical approximations to mathematical quantiles.

The coverage lab treats those strings as declared exact finite constants before classifying events. An exact binomial sum under the declared constant differs from a claim of identical coverage under the ideal normal quantile. Changing display precision does not change the declared constant.

기초Foundations

39. 모든 이항 결과를 더해 포함률을 구한다39. Sum all binomial outcomes to obtain coverage

Iₖ를 “k에서 구간이 고정 p를 포함함”의 0·1 표시라고 합시다. iid 이항 법칙에서 포함률은 해당 질량의 합입니다. 비포함률도 별도로 합하면 작은 양수 꼬리를 1−큰수의 상쇄로 잃는 문제를 피할 수 있습니다.

wk=(nk)pk(1−p)n−kC(p)=∑k=0nIkwk1−C(p)=∑k=0n(1−Ik)wk\begin{gathered}w_k={n\choose k}p^k(1-p)^{n-k}\\C(p)=\sum_{k=0}^n I_kw_k\\1-C(p)=\sum_{k=0}^n(1-I_k)w_k\end{gathered}

n=10, p=1/2, 보관된 95% z 상수에서 Wilson 포함률은 501/512≈0.978516, Wald는 57/64=0.890625입니다. 두 방법 모두 명목 95%가 실제 모든 이산 법칙에서 정확히 95%라는 주장을 반박하는 계산입니다.

Let Iₖ indicate whether the interval at k contains the fixed p. Under the iid-binomial law, coverage is the sum of selected masses. Sum noncoverage separately to avoid losing a small positive complement by subtracting a large number from one.

wk=(nk)pk(1−p)n−kC(p)=∑k=0nIkwk1−C(p)=∑k=0n(1−Ik)wk\begin{gathered}w_k={n\choose k}p^k(1-p)^{n-k}\\C(p)=\sum_{k=0}^n I_kw_k\\1-C(p)=\sum_{k=0}^n(1-I_k)w_k\end{gathered}

For n=10, p=1/2 and the archived nominal-95% z constant, Wilson coverage is 501/512≈0.978516 and Wald coverage is 57/64=0.890625. Nominal 95% therefore does not mean exactly 95% for every finite discrete law.

기초Foundations

40. 실습 E · 가정 반복 법칙의 포함률을 전수 계산한다40. Lab E · enumerate coverage under a hypothetical repeated law

가정 n, p와 구간 방법을 바꾸어 모든 성공수·질량·포함 판정을 읽습니다. 막대는 이항 결과의 질량이며 실제 고객 파일을 반복 관측한 데이터가 아닙니다. p=0·1에서의 퇴화 이항 법칙도 구분합니다.

n은 1~60입니다. n과 기약분모 자릿수의 곱 예산을 넘으면 입력을 거부합니다. 이는 수학적 확률의 미정의가 아니라 브라우저 정확 계산 한계입니다. 아주 작은 양수 질량의 화면 0과 정확 0도 따로 표시합니다.

Change assumed n, p and interval method to inspect every success count, mass and inclusion decision. Bars represent binomial outcomes, not repeated observations of the customer file. Inspect degenerate laws at p=0 and p=1 as well.

Supported n is 1–60. A bound on n times reduced-denominator digits limits exact computation. Rejection indicates a browser budget, not an undefined mathematical probability. A displayed zero from a positive tiny mass is distinguished from exact zero.

기초Foundations

41. 표의 주석이 수치와 같은 중요도를 가진다41. Table notes carry substantive information

최소한 각 행에 대상·n·추정치·구간 종류·수준을 둡니다. 공통 주석에는 자료 기간·단위·미관측 처리·추가 모형을 적습니다. 국가 고정평균 행의 구간 칸은 0폭 CI가 아니라 “이 고정 표적에 표본 CI 적용 안 함”으로 표시합니다.

범주별 실제 보고 그림은 추정점과 세로 구간의 양끝을 함께 읽습니다. 전체·불만 없음·불만 있음은 시간순서가 아니므로 점을 이어 변화 경로처럼 그리지 않습니다. 표의 원수치와 그림의 짧은 눈금 자릿수는 역할이 다를 수 있습니다.

At minimum, each row should identify the target, n, estimate, interval type and level. Notes state period, units, missingness treatment and added assumptions. For the fixed country target, label sampling CI as inapplicable rather than drawing a zero-width CI.

For categorical actual reports, read the estimate and both vertical interval bounds. All/no-complaint/complaint are not chronological stages; do not connect them into a change path. Original table precision can differ from compact graphic tick labels.

기초Foundations

42. 여러 구간과 선택한 결과의 해석 범위를 적는다42. State the scope of multiple and selected intervals

각각 95%인 m개 구간이 모두 참값을 포함할 확률이 자동 95%인 것은 아닙니다. 각 비포함률이 최대 α라면 합집합 상계로 동시 포함률은 적어도 1−mα입니다. m≥1이며 이 상계가 음수이면 자명한 0 상계를 씁니다.

P(all cover)≥max⁡(0,1−mα)P(\text{all cover})\geq\max(0,1-m\alpha)

탐색 후 가장 극단적인 집단이나 가장 좁은 구간만 고른 경우에도 선택 규칙을 보고합니다. 이 장의 구간 계산기는 다중·선택후 추론을 자동 수행하지 않습니다.

m individually 95% intervals do not automatically give 95% simultaneous coverage. If each noncoverage probability is at most α and m≥1, the union bound gives the following, with a trivial zero bound if needed.

P(all cover)≥max⁡(0,1−mα)P(\text{all cover})\geq\max(0,1-m\alpha)

Report any rule selecting the most extreme group or narrowest interval after exploration. This interval calculator does not automatically perform simultaneous or post-selection inference.

기초Foundations

43. 짧은 코드에서 분모와 함수를 읽는다43. Read denominators and functions in short code

아래 두 코드는 같은 가정 네 값의 평균·표본 SD·추정 SE를 구하는 짧은 학습 예제입니다. 실제 자료 파일을 읽는 보관 프로그램의 완전 소스와는 구별합니다. stdev·sd는 여기서 n−1 분모 표본 SD를 사용합니다.

Python

from statistics import mean, stdev
from math import sqrt
x = [1, 2, 3, 4]
n = len(x)
s = stdev(x)
print(mean(x), s, s / sqrt(n))

R

options(digits=17)
x <- c(1, 2, 3, 4)
n <- length(x)
s <- sd(x)
print(c(mean=mean(x), SD=s, SE=s/sqrt(n)))

출력은 평균 2.5, SD 약 1.290994449, SE 약 0.645497224입니다. 이 코드가 계산한 산포와 SE는 표집 설계를 입증하지 않습니다. 실제 파일 보고서는 분모와 미관측 처리·모형을 추가로 확인합니다.

These short teaching programs calculate a mean, sample SD and estimated SE for four toy values. They differ from the complete archived source-file programs. Here stdev and sd use the n−1 sample-SD denominator.

Python

from statistics import mean, stdev
from math import sqrt
x = [1, 2, 3, 4]
n = len(x)
s = stdev(x)
print(mean(x), s, s / sqrt(n))

R

options(digits=17)
x <- c(1, 2, 3, 4)
n <- length(x)
s <- sd(x)
print(c(mean=mean(x), SD=s, SE=s/sqrt(n)))

The values are mean 2.5, SD about 1.290994449 and SE about 0.645497224. Computing them does not establish a sampling design; actual-file reports also require denominator, missingness and model checks.

기초Foundations

44. 코드·입력·환경과 계산 주장을 함께 보관한다44. Archive code, inputs, environment and the calculation claim

고정 프로그램 26개는 실제 Python/R 새 프로세스에서 실행됐습니다. 별도 R 1회가 임계값 표 603행을 만들었고, 고정 프로그램 중 22개가 SVG를 저장했습니다. 새 live 설정은 이 프로그램의 새 실행이 아니라 JavaScript 재계산입니다.

환경에는 Python 3.11.8·Matplotlib 3.10.0/Agg와 R 4.5.1을 기록합니다. 코드의 글꼴·장치·SVG 메타데이터·R digits=17/warn=1·LC_ALL=C/LANG=C/TZ=UTC도 출력 차이와 관련합니다. 입력 해시는 원CSV뿐 아니라 필요한 임계값 파일도 포함합니다.

해시 동일성·숫자 일치·그림의 실제 의미·원측정 진실성은 다른 검토입니다. 같은 바이트가 올바른 표적이나 통계 모형을 자동 증명하지 않으며, 다른 글꼴의 SVG 해시 차이만으로 계산 오류를 단정하지 않습니다.

The 26 fixed programs ran in actual fresh Python/R processes. A separate R execution produced 603 critical-value rows, and 22 fixed programs saved SVGs. A new live setting is JavaScript recalculation, not a fresh execution of these programs.

The archive records Python 3.11.8/Matplotlib 3.10.0/Agg and R 4.5.1. Font/device/SVG metadata, R digits=17/warn=1 and LC_ALL=C/LANG=C/TZ=UTC affect output. Input hashes include the critical-value file when used, as well as source CSVs.

Byte equality, numerical agreement, actual visual meaning and measurement truth are different checks. Matching hashes do not establish a target or model; differing font-dependent SVG bytes alone do not establish a numerical error.

기초Foundations

45. 보고를 읽고 빠진 조건을 찾아 고친다45. Repair a report by locating missing conditions

“3,613명의 평균 log 6.261832, 정확 95% CI이므로 모든 사람 임금도 이 범위이며 불만이 이탈을 일으킨다”에는 여러 오류가 섞여 있습니다. 평균의 분모는 가용 3,010이며 구간은 추가 iid 정규 작업모형 아래 수치 근사입니다.

개별 값 PI·기하중심 CI·원임금 산술평균·인과효과는 각각 다른 표적입니다. 한 문장을 고칠 때는 숫자를 지우기보다 각 숫자가 답하는 질문·단위·가용 집합·가정을 정확히 붙입니다. 추가 자료가 없으면 알 수 없는 부분도 남겨 둡니다.

“The mean log for 3,613 people is 6.261832; its exact 95% CI also contains every person’s wage and proves that complaints cause churn” combines several errors. The mean uses 3,010 available logs, and its numerical interval adds an iid-normal working model.

An individual-value PI, geometric-center CI, raw-wage arithmetic mean and causal effect are different targets. Repair the report by attaching each number to its question, units, availability set and assumptions; leave unidentified quantities unresolved.

기초Foundations

46. 실습 F · 보고값에서 원행으로 돌아간다46. Lab F · trace a reported value to original rows

국가 네 분기·사람 3,613행·고객 3,150행을 원위치로 조회합니다. 사람의 미관측 log는 0으로 바뀌지 않으며 원행 키와 원 인원 코드를 따로 표시합니다. 고객 원행 번호가 영구 개인 식별자라고 가정하지 않습니다.

한 행 확인만으로 전체합이 검증되지는 않습니다. 내려받는 CSV·실제 코드의 전체 가용 분모·합을 확인하고, 구간에는 해당 추가 모형을 따로 적습니다.

Inspect the four quarters, 3,613 person rows or 3,150 customer rows by retained position. Missing person logs remain unavailable rather than zero. Display original row keys separately from source person codes; do not assume a customer row number is a permanent personal identifier.

Inspecting one row does not verify a total. Check complete CSV denominators/sums and actual source code; declare interval assumptions separately.

기초Foundations

47. 실제 국가·사람·고객 보고서를 검토한다47. Review actual country, person and customer reports

국가 보고서 · 네 분기를 모두 읽은 평균에 표본오차를 만들어 붙이지 않는다

BIS 한국 전국 실질 주거용 부동산 가격지수의 실제 2024년 네 분기를 사용합니다. 단위는 2010년 평균=100인 지수이며 원화 가격·서울 아파트 평균 거래가격이 아닙니다. 실질 지수는 소비자물가로 조정된 계열이고 이 보관본의 각 분기 발표값을 사용합니다. 네 분기의 산술평균이라는 고정된 기록 표적을 먼저 적습니다. 미래 분기, 미관측 주택의 가격, 다른 개정본의 값은 이 표적에 포함하지 않습니다.

실제 네 분기 · 원 발표 소수 보존
분기실질 지수
2024-Q1108.3502
2024-Q2107.7932
2024-Q3107.4475
2024-Q4107.4756

보고서 문장: “2024년 네 분기의 이 보관본 산술평균은 107.766625이며, 가용 4/4분기·미가용 0개이다. 분기 간 범위는 0.9027 지수 포인트이다. 이 고정 표적의 값을 계산하는 데 표본추출 신뢰구간을 붙이지 않았다.” 화면을 107.77처럼 반올림하더라도 CSV의 원값과 정확 분수는 남깁니다.

먼저 생각한 뒤 풀이 보기: 구간을 붙이지 않으면 이 지수가 오차 없이 현실을 완벽하게 측정한다는 뜻인가요?

아닙니다. 지금 말한 것은 고정된 네 발표값의 평균을 정확히 계산했다는 뜻입니다. 지수의 구성·범위·측정·개정 불확실성은 남을 수 있고 별도 근거가 필요합니다. 분기 간 흩어짐이나 범위를 자동으로 평균의 표본오차로 부르지 않습니다. 미래 예측에는 별도의 시계열 모형과 검증이 필요합니다.

사람 보고서 · 로그 임금의 요약, 모형 구간, 달러 변환을 따로 적는다

Card 원 3,613행 중 1976년 시간당 임금(센트)의 원자료 극단값 정리 로그는 3,010개 가용·603개 미가용입니다. 알려진 가용 로그 평균과 SD를 먼저 기술합니다. 그 다음, 가용 기록이 공통 모수의 iid 정규 로그임금 표본이라는 추가 작동모형 아래 평균 μ의 t 구간을 계산합니다. 원자료가 이 독립성·정규성·대표성 가정을 보증하지 않으므로 그 조건을 계산 옆에 둡니다. 정규모형이 정확하지 않다면 큰 표본 근사를 쓰려는 추가 논증이 필요하며 선택·결측 편향을 자동 해결하지 않습니다.

SE=s/3010,[L,U]=yˉ±t.975,3009SE,g^=eyˉ/100,CIg=[eL/100,eU/100].\begin{aligned}\mathrm{SE}&=s/\sqrt{3010},\\\left[L,U\right]&=\bar y\pm t_{.975,3009}\mathrm{SE},\\\hat g&=e^{\bar y}/100,\\\mathrm{CI}_g&=[e^L/100,e^U/100].\end{aligned}
실제 요약과 명시적 작동모형 · 모든 소수 반올림
항목값해석
가용 로그 평균6.261832고정 기록 요약
로그 SD0.443798개별 값 흩어짐
평균 SE0.008089iid 작동모형
95% μ 구간6.245971 ~ 6.277693iid 정규 t 모형
달러 기하중심5.24181976 USD/시간
95% 기하중심 구간5.1593 ~ 5.3256단조 변환된 μ 구간
먼저 생각한 뒤 풀이 보기: 여섯 자리 소수를 보고하면 추론이 더 확실해지나요?

계산 표시 자릿수와 통계적 불확실성은 다릅니다. 원값·정확 계산을 보존하되 독자 표에는 단위와 구간에 어울리는 자릿수를 씁니다. SD는 개별 로그의 흩어짐이고 SE는 작동모형 아래 평균 추정의 변동을 나타냅니다. 표준오차를 개인 임금의 95% 예측범위로 읽지 않습니다.

먼저 생각한 뒤 풀이 보기: exp(로그 평균)/100은 사람들의 평균 달러 임금인가요?

이 표의 값은 로그에서 변환한 기하중심입니다. 센트 단위를 달러로 바꾸기 위해 100으로 나눕니다. 원임금의 산술평균이 아닙니다. 정규 로그임금 모형에서 산술 모평균은 exp(μ+σ²/2)/100 USD/시간이며 다른 모수가 필요합니다. 또한 가용 로그의 선택된 분포를 모든 1976년 남성의 분포로 일반화하는 근거가 이 구간에서 생기지 않습니다.

고객 보고서 · 실제 비율과 가정한 모집단의 구간을 구분한다

UCI 실제 고객 3,150행 중 이탈 495건이라 이 파일의 비율은 정확히 495/3150=11/70입니다. 첫 9개월의 불만 기록으로 집단을 나누면 불만 없음은 295/2909, 있음은 200/241입니다. 회사명·달력상의 관측 연도·표집 설계는 자료만으로 확정하지 않습니다. 2020년은 공개 연도이며 관측 연도라고 쓰지 않습니다. 모든 실제 고객 행과 원 위치 키를 보존했습니다.

추가 연습으로, 각 집단 안에서 독립 Bernoulli 공통 확률 p를 갖는 표집을 가정한 95% Wilson 구간을 계산합니다. 이는 알려진 파일 비율 자체의 모호함을 뜻하지 않습니다. 그런 반복 모형의 p에 대한 명목 신뢰 절차이며 유한 표본에서 항상 정확히 95% 포괄하는 정리가 아닙니다. 집단별 관측 연관을 불만 해결 개입의 효과로 바꾸지도 않습니다.

분자·분모·실제 비율과 가정 구간 · %는 반올림
집단이탈/가용파일 비율 %작동모형 Wilson95%
전체495/315015.71414.485 ~ 17.027
불만 없음295/290910.1419.096 ~ 11.291
불만 있음200/24182.98877.735 ~ 87.205
먼저 생각한 뒤 풀이 보기: 95% 구간 안에 고객의 95%가 들어간다는 뜻인가요?

아닙니다. p는 반복 모형의 집단 확률이며 각 고객의 실제 이탈값 0/1이나 개인별 미래 확률이 아닙니다. 구간은 그 모수에 관한 절차입니다. 빈도주의 모형에서 이미 고정된 이 구간이 모수를 포함할 사후확률 95%라고 읽지도 않습니다. 적용 가능한 표집·모형 아래 절차의 반복 성질을 말합니다.

먼저 생각한 뒤 풀이 보기: 실무 보고서 한 페이지에 무엇을 반드시 남겨야 하나요?

질문과 관측 단위, 분자·가용 분모·미가용 수, 단위·기간, 실제 요약과 가정 구간의 구분, 계산법, 자료 출처·사본·해시, 주요 한계를 함께 둡니다. 비율을 막대나 점으로 보여도 숫자 표를 제공하고 색만으로 집단을 구분하지 않습니다. 결론은 자료가 지지하는 범위로 쓰며 원자료 다운로드 없이도 독자가 핵심을 읽을 수 있게 합니다.

Country report · Do not invent sampling error for a fully observed four-quarter target

Use the four actual 2024 periods of the BIS nationwide Korean real residential-property-price index. Units are index points with 2010 average=100, not KRW prices or mean Seoul apartment transaction prices. The real series is CPI-deflated. Define the target as the arithmetic mean of all four reported quarters in this retained snapshot, excluding future quarters, unobserved properties and other revisions.

All four actual quarters · retained source decimals
QuarterReal index
2024-Q1108.3502
2024-Q2107.7932
2024-Q3107.4475
2024-Q4107.4756

Report: “The retained-snapshot arithmetic mean of all four 2024 quarters is 107.766625; availability is 4/4 with no unavailable quarter. The between-quarter range is 0.9027 index points. No sampling confidence interval is attached to calculating this fixed target.” A rounded display does not replace source decimals and exact fractions in the CSV.

Think first, then reveal: Does omitting a sampling interval claim perfect measurement of reality?

No. It says only that the mean of these four fixed reported values is known from the file. Index construction, coverage, measurement and revision uncertainty require separate evidence. Quarter-to-quarter spread is not automatically sampling error of this target. Future prediction requires a separate time-series model and validation.

Person report · Separate the log summary, a model interval and a dollar transformation

Among 3,613 original Card records, 3,010 source-trimmed logs of 1976 hourly wages in cents are available and 603 unavailable. First describe the known available-log mean and SD. Then calculate a t interval for μ under an additional working model of iid normal log wages with a common parameter. The source does not establish independence, normality or representative sampling. Without exact normality, a large-sample justification is needed; it does not automatically repair selection or missingness bias.

SE=s/3010,[L,U]=yˉ±t.975,3009SE,g^=eyˉ/100,CIg=[eL/100,eU/100].\begin{aligned}\mathrm{SE}&=s/\sqrt{3010},\\\left[L,U\right]&=\bar y\pm t_{.975,3009}\mathrm{SE},\\\hat g&=e^{\bar y}/100,\\\mathrm{CI}_g&=[e^L/100,e^U/100].\end{aligned}
Actual summary and explicit working model · decimals rounded
QuantityValueMeaning
Available log mean6.261832Fixed-file summary
Log SD0.443798Dispersion of values
Mean SE0.008089Working iid model
95% μ interval6.245971 ~ 6.277693Working iid-normal t model
USD geometric center5.24181976 USD/hour
95% geometric-center interval5.1593 ~ 5.3256Monotone transform of μ interval
Think first, then reveal: Do six displayed decimals make the inference more certain?

Numerical display precision differs from statistical uncertainty. Preserve source values/exact calculations while choosing readable report precision. SD describes individual log spread; SE describes mean-estimation variability under the working model. It is not an individual wage prediction interval.

Think first, then reveal: Is exp(mean log)/100 the arithmetic average dollar wage?

It is a geometric center transformed from logs, divided by 100 to convert cents to dollars. Under a normal-log model the arithmetic population mean is exp(μ+σ²/2)/100 USD/hour, requiring another parameter. The interval does not make the selected available-log distribution representative of all 1976 men.

Customer report · Distinguish a known file proportion from a model-population interval

The UCI file contains 495 churn records among 3,150 actual customers, so its proportion is exactly 495/3150=11/70. First-nine-month complaint groups give 295/2909 without complaints and 200/241 with complaints. Company identity, calendar observation year and sampling design are not established. Release year 2020 is not the observation year. Preserve all source records and positional keys.

As an additional exercise, compute a nominal 95% Wilson interval under an assumed independent common-p Bernoulli sampling model within each group. This is not ambiguity about the known file proportion. It targets p under that repetition model, without guaranteeing exactly 95% coverage for every finite n/p. Group association is not the effect of an intervention removing complaints.

Numerators, denominators, file fractions and assumed intervals · % rounded
GroupChurn/availableFile share %Working-model Wilson 95%
All495/315015.71414.485 ~ 17.027
No complaint295/290910.1419.096 ~ 11.291
Complaint200/24182.98877.735 ~ 87.205
Think first, then reveal: Does the interval contain 95% of customers?

No. Here p is a model group probability, not each customer’s binary label or personalized forecast. Frequentist confidence refers to a procedure’s repetition properties under its sampling/model assumptions, not a 95% posterior probability for this already-fixed interval.

Think first, then reveal: What belongs on a one-page analytical report?

Keep the question/unit, numerator/available denominator/missing count, units/period, observed-summary versus assumed-interval distinction, method, source/snapshot/hash and main limitations. Supply a numeric table and labels alongside the chart. State conclusions within the evidence so readers can understand the result without downloading the raw file.

기초Foundations

48. 공식 원문을 좁은 범위로 읽고 다음 평가로 연결한다48. Read specified official passages and connect to evaluation

사례 뒤의 공식 MIT 신뢰구간 영상을 본문 재생기로 조절하며 평균의 구간과 관측값 산포를 구분해 보세요. Neyman 소개는 신뢰절차의 역사적 맥락이며 실제 표집 설계의 인증이 아닙니다.

NIST Confidence Limits for the Mean의 Purpose와 Definition: Confidence Interval만 읽고, 수학적 유한 표본 t 조건은 이 장의 명시된 정규 가정으로 확인합니다. NIST proportion intervals는 Wilson 반전·공식과 명칭 주의 범위만 읽습니다. 인접 exact interval 수치 예제나 보편적 bootstrap 타당성을 이 장의 근거로 삼지 않습니다.

Python 3.11 round의 동률·부동소수점 설명과 R round의 Details/Warning을 비교합니다. 현재 온라인 문서 버전과 보관 실행 버전은 각각 기록합니다. 다음 장에서는 새 자료에서의 예측 평가·기준선을 다루며, 이 장의 같은 파일 요약을 시험 성능으로 바꾸어 부르지 않습니다.

Python · R · 원자료·단위·가공·출처

Use the embedded official MIT confidence-interval video after the cases to distinguish mean intervals from observed-value spread. The Neyman introduction gives historical context, not certification of an actual sampling design.

Read only Purpose and Definition: Confidence Interval in NIST Confidence Limits for the Mean; the finite-sample t conditions are the normal assumptions stated here. In NIST proportion intervals, focus on Wilson inversion/formulas and terminology. Adjacent exact-interval numerical examples and blanket bootstrap-validity claims are outside this recommended scope.

Compare the tie/floating-point discussion in Python 3.11 round with Details/Warning in R round. Record online documentation versions separately from archived execution versions. The next chapter addresses prediction metrics and baselines; same-file descriptive summaries here are not held-out performance.

Python · R · Inputs, units, transformations and sources

Python·R 코드 실행 방법Run the Python/R companions

자료 묶음을 풀고 코드와 실제데이터 폴더를 함께 두세요. 터미널에서 코드 파일이 있는 폴더로 이동해 아래 명령을 실행합니다. 코딩이 처음이라면 손계산과 웹 실습을 먼저 하고, 데이터 사이언스 입문에서 코드를 배운 뒤 돌아와도 됩니다.Extract the bundle, keeping the scripts beside the data folder. In a terminal, enter the script folder and run the commands below. Beginners can complete hand calculations and browser labs first, returning to code after studying introductory data science.

python data09-reproduce.py
Rscript --vanilla --encoding=UTF-8 data09-reproduce.R

결과 파일은 각 코드에 지정된 결과 폴더에 저장됩니다. CSV 원자료는 덮어쓰지 않습니다.Result files are saved in the result directory specified by each script; the input CSVs are not overwritten.

영상·학자·함께 읽기Videos, thinkers and guided reading

본문의 질문을 넓히는 선택 학습입니다. 영상을 보기 전 질문을 먼저 읽고, 자신의 답을 쓴 뒤 해설과 비교하세요. 자료의 언어·선수 지식은 각 항목에 표시했습니다.Optional extensions to the chapter. Read the question first, write your answer, then compare with the explanation. Language and prerequisites are indicated below.

MIT · 분산을 모를 때 평균의 표준오차MIT · Mean standard error when variance is unknown

MIT OCW · John Tsitsiklis, RES.6-012, 20.7

알려진 모분산과 표본으로 계산한 s를 구별하고 본문의 SD·SE·가정 모형을 다시 읽습니다. 영상의 근사 설명과 iid 정규 모형에서의 정확 t 정리를 구분하세요.Separate known population variance from estimated s. Revisit SD, SE and working assumptions; distinguish approximate arguments from the exact iid-normal t theorem.

교재 안의 YouTube 플레이어에서 재생합니다. 원영상에서 제공하는 자막은 플레이어의 CC·설정에서 선택할 수 있습니다.Playback stays in this chapter’s YouTube player. Available captions can be selected through CC/settings.

보고 읽은 뒤 답하기Respond after watching/reading s/√n이 계산되면 대표성이 입증되나요?Does calculating s/√n establish representative sampling?

생각을 점검하는 해설Check your reasoning

아닙니다. 계산 공식과 실제 표집 설계·결측 과정의 타당성은 다른 질문입니다.No. Formula evaluation and validity of the sampling/missingness process are different questions.

예지 네이만 · 한 구간과 반복 절차의 구별Jerzy Neyman · A realized interval versus a repeated procedure

UC Berkeley Department of Statistics official history

대학 공식 소개의 신뢰구간·표본 설계 연구와 1938년 버클리 도착 부분을 읽습니다. 보고서에서는 한 번 나온 숫자와 절차의 반복 보장 조건을 함께 설명합니다.Read the official history’s confidence-interval/sampling-design context and 1938 Berkeley arrival. Explain both a realized result and conditions behind repeated-procedure guarantees.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 관측 뒤의 한 구간만으로 95% 반복 포괄률을 증명하나요?Can one realized interval prove 95% repeated coverage?

생각을 점검하는 해설Check your reasoning

아닙니다. 포괄률은 명시한 표집·모형 아래 절차를 반복한 성질입니다.No. Coverage is a property of a procedure under a specified repetition law.

NIST · 평균 신뢰구간의 정의와 해석NIST · Definition and interpretation of a mean confidence interval

NIST/SEMATECH e-Handbook · 1.3.5.2 purpose/definition

Purpose와 Definition만 읽고 표본마다 변하는 추정량과 이미 알려진 파일 평균을 구별합니다. 공식 적용에 필요한 표집·정규성/근사 조건은 본문과 함께 확인합니다.Read Purpose and Definition. Distinguish a sampling estimator from a known file mean, and check the required sampling and normality/approximation conditions alongside the chapter.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 보고 자릿수와 구간 폭은 같은 정밀도인가요?Are display decimals and interval width the same precision?

생각을 점검하는 해설Check your reasoning

계산 표시의 자릿수와 모형 아래 통계적 변동은 다릅니다.Numerical display precision differs from model-based statistical variability.

NIST · 비율의 Wilson 구간과 분모NIST · Wilson intervals and their denominators

NIST/SEMATECH e-Handbook · 7.2.4.1 Wilson formula/terminology

Wilson 식과 마지막 Terminology Note를 읽습니다. Wilson과 비슷하지만 다른 adjusted Wald를 섞지 않고, 근사 신뢰구간을 유한 표본의 항상 정확95% 보장으로 쓰지 않습니다.Read the Wilson formula and Terminology Note. Separate it from adjusted Wald and do not claim exact 95% coverage for every finite sample.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 분자를 고정하고 다른 집단 분모로 나누면 같은 추정 대상인가요?Does changing the group denominator preserve the target?

생각을 점검하는 해설Check your reasoning

아닙니다. 표적 확률·가용 집단·표집 가정을 함께 다시 정의해야 합니다.No. Redefine the target probability, available group and sampling assumptions.

연습문제 · 계산에서 설명과 증명까지Exercises: calculation, explanation and proof

먼저 혼자 풀고 풀이를 여세요. 숫자와 함께 단위·포함 기준·계산 이유를 확인하세요.Attempt each problem before opening its solution. Check units, inclusion rules and the reason for the calculation.

1. 네 분기 고정평균Fixed four-quarter mean

보관된 네 2024년 지수는 108.3502, 107.7932, 107.4475, 107.4756입니다. 네 값 전체의 평균과 소수 둘째 자리 표시를 구하세요.

The four archived 2024 index values are 108.3502, 107.7932, 107.4475, 107.4756. Find their fixed mean and its two-place display.

풀이와 확인할 이유Solution and explanation

합은 431.0665, 분모는 4이므로 평균은 107.766625=862133/8000입니다. 둘째 자리 표시는 107.77입니다. 이 고정 네 값의 표적에 표본 CI가 자동으로 필요한 것은 아닙니다.

The sum is 431.0665; dividing by four gives 107.766625=862133/8000, displayed as 107.77. A sampling CI is not automatically required for this fixed four-record target.

2. 가용 분모Available denominator

원파일 3,613행 중 정리 log 가용은 3,010행입니다. 미관측 수와 가용합 S의 평균 분모를 쓰세요. S/3613과 무엇이 다른가요?

A source has 3,613 rows and 3,010 available trimmed logs with sum S. Give the missing count and available-mean denominator. How does S/3613 differ?

풀이와 확인할 이유Solution and explanation

미관측은 603개이고 가용 평균은 S/3010입니다. S/3613은 미관측 log를 0으로 채운 계산과 같습니다. 같은 가용 평균이 아니며 원자료 결측을 없앴다는 뜻도 아닙니다.

There are 603 missing values; the available mean is S/3010. S/3613 equals zero-filling missing logs, a different calculation that does not recover unavailable source values.

3. 기간과 내려받기Period and download date

1976년 센트/시간 임금의 log를 2026년에 내려받았습니다. exp(log)/100의 통화·기간을 보고하세요.

A log of 1976 cents/hour wage is downloaded in 2026. Report the unit/period of exp(log)/100.

풀이와 확인할 이유Solution and explanation

1976년 달러/시간 눈금입니다. 센트→달러 환산은 100으로 나눈 것이며, 물가 조정을 하지 않았으므로 현재 달러 임금이 아닙니다. 원 log의 정리·가용성 처리도 보존합니다.

The scale is 1976 dollars/hour. Dividing by 100 converts cents to dollars; without a price adjustment it does not produce current dollars. Retain source trimming and availability distinctions.

4. 관측 범위와 표본오차Range versus sampling error

고정 네 분기 값을 모두 알고 그 범위가 0.9027 지수점입니다. 이를 네 값 고정평균의 SE라고 보고해도 되나요?

All four fixed quarterly values are known, with range 0.9027 index points. May that range be reported as the SE of their fixed mean?

풀이와 확인할 이유Solution and explanation

아닙니다. 범위는 알려진 네 값의 최댓값−최솟값입니다. 고정 네 값의 표집 불확실성과 다른 수량이며, 원측정·개정 한계가 없다는 주장도 아닙니다.

No. It is the observed maximum minus minimum, a different quantity from sampling uncertainty of the fixed mean. This does not deny possible measurement or revision limits.

5. 가정한 결측 평균Assumed missing mean

가정 원기록 N=10, 가용 r=8, 가용합 S=40입니다. 나머지 두 값의 평균을 m=2로 가정할 때 전체평균을 구하고 가정 부분을 밝히세요.

A toy frame has N=10, r=8 available values with sum 40. Assume missing-group mean m=2. Find the full mean and identify the assumption.

풀이와 확인할 이유Solution and explanation

(40+2×2)/10=4.4입니다. m=2는 미관측 집단에 대한 가정이며 관측값이 아닙니다. 가용평균 5와 전체평균은 표적이 다릅니다.

The full mean under that assumption is (40+2×2)/10=4.4. The missing mean 2 is assumed, not observed. The available mean 5 has a different target.

6. log의 0채움Zero-filling a log

미관측 센트/시간 임금 log를 0으로 채웠습니다. 원 임금 눈금에서 무엇을 주장한 셈인가요?

A missing log of cents/hour wage is filled with 0. What value does that imply on the wage scale?

풀이와 확인할 이유Solution and explanation

exp(0)=1이므로 1센트/시간, 즉 0.01달러/시간을 넣은 셈입니다. “모른다”를 임금 0으로 처리한 것도 아니며, 미관측을 중립적으로 처리한 것이 아닙니다.

exp(0)=1 cent/hour, or 0.01 dollar/hour. This is neither an unknown value nor zero wage; it is a substantive imputation.

7. 선택과 결측Selection versus missingness

전체 고객 3,150행에서 불만 집단 241행만 골랐고 그 집단 이탈값은 모두 있습니다. 선택 밖 수·가용 분모·결측 수를 구분하세요.

Select 241 complaint-group records from 3,150 customer rows; all selected churn values are available. State excluded, available and missing counts.

풀이와 확인할 이유Solution and explanation

선택 밖은 2,909행, 선택 집단의 가용 분모는 241, 그 집단 이탈 결측은 0입니다. 전체 3,150행과 선택 241행을 따로 적고 선택 밖을 결측이라고 부르지 않습니다.

There are 2,909 outside the group, 241 selected available outcomes and 0 selected missing churn values. Group exclusion is not missingness.

8. 고정 비율과 모수File fraction versus parameter

파일 전체 3,150행 중 이탈 495행입니다. 파일 비율과 별도 Bernoulli 모형의 p를 각각 설명하세요.

All 3,150 file rows contain 495 churn events. Distinguish the file fraction from p in an additional Bernoulli model.

풀이와 확인할 이유Solution and explanation

파일 비율은 알려진 495/3150=11/70입니다. p는 추가 반복 법칙의 공통 확률로, 같은 수치를 추정치로 쓸 수 있지만 실제 iid나 미래 적합성은 별도로 확인해야 합니다.

The fixed file fraction is known: 495/3150=11/70. The common repeated-law probability p is a model parameter. Using the same value as its estimate does not validate iid sampling or future applicability.

9. 짧은 보고 고치기Repair a short report

“평균 6.261832, 95% CI”라는 문구에 실제 Card를 보고할 때 필요한 정보를 네 가지 이상 더하세요.

Add at least four necessary items to “Mean 6.261832, 95% CI” when reporting the actual Card logs.

풀이와 확인할 이유Solution and explanation

정리 log라는 변수·1976 센트/시간 원단위·전체 3,613/가용 3,010/미관측 603·추가 iid 정규 작업모형·평균 CI라는 표적·표시 근사와 출처를 붙입니다. 현재 임금이나 개인 PI라고 바꾸지 않습니다.

State the trimmed-log variable, 1976 cents/hour source scale, 3,613 source/3,010 available/603 missing, added iid-normal model, mean-CI target, numerical approximation and provenance. It is not a current wage or individual PI.

10. 불확실성의 종류Kinds of uncertainty

더 많은 소수, 더 많은 iid 관측, 결측 평균에 대한 더 좋은 근거는 각각 무엇을 바꿀 수 있나요?

What can more decimal places, more iid observations and better missing-mean evidence change, respectively?

풀이와 확인할 이유Solution and explanation

더 많은 소수는 표시 반올림 오차를 줄일 수 있습니다. 같은 분산의 iid 관측을 늘리면 평균 SE를 줄일 수 있습니다. 결측 평균 근거는 전체 표적 식별의 가정 범위를 줄일 수 있습니다. 한 조치가 다른 문제를 자동 해결하지 않습니다.

They can reduce display-rounding error, mean SE under the same iid law, and uncertainty about a full target’s missing-group assumptions, respectively. None automatically solves the other problems.

11. 표시 오차Display error

정확 입력 107.766625를 둘째 자리까지 가장 가까운 값으로 반올림할 때 표시와 절대 오차를 구하세요.

Round exact input 107.766625 to two places. Find the display and absolute error.

풀이와 확인할 이유Solution and explanation

표시는 107.77이고 절대 오차는 0.003375=27/8000입니다. 둘째 자리의 반 격자 상계 0.005 이하입니다. 이는 원측정 오차나 평균 SE가 아닙니다.

The display is 107.77; error is 0.003375=27/8000, below the half-grid bound 0.005. It is not measurement error or a mean SE.

12. 음수 동률Negative tie

정확 십진 −1.125를 둘째 자리까지, 동률은 0에서 먼 쪽으로 반올림하세요. 절대 오차도 구하세요.

Round exact decimal −1.125 to two places, with ties away from zero. Find absolute error.

풀이와 확인할 이유Solution and explanation

−1.13이며 오차는 0.005입니다. 음수에서 항상 floor를 취하는 규칙이 아니라 가장 가까운 두 값의 동률만 0에서 먼 쪽으로 고른 것입니다.

The result is −1.13 with error 0.005. This does not mean always applying floor to negative inputs; it specifies an exact nearest-grid tie.

13. 실제 round와 선언 규칙Actual round versus declared rule

입력 1.125, d=2에서 보관 Python/R 기본 round는 1.12, live exact half-away는 1.13입니다. 어느 쪽을 계산 오류라고 해야 하나요?

For 1.125, d=2, archived Python/R default round gives 1.12; live exact half-away gives 1.13. Which must be called an error?

풀이와 확인할 이유Solution and explanation

둘 다 선언한 규칙 아래 맞을 수 있습니다. 1.125는 이진으로도 정확하므로 이 예에서는 ties-even과 ties-away의 차이입니다. 실제 코드·규칙·입력 표현을 함께 보고합니다.

Neither must be. The input is exactly binary-representable, so this example isolates ties-to-even versus ties-away. Report the code, rule and input representation.

14. 오차 상계Rounding bound

정확값을 가장 가까운 소수 셋째 자리로 반올림할 때 최대 절대 표시 오차를 쓰세요.

Give the maximum absolute display error when rounding an exact value to three decimal places.

풀이와 확인할 이유Solution and explanation

격자는 0.001이고 그 절반인 0.0005입니다. 동률도 포함하므로 ≤0.0005이며, 모집단 추정오차에 대한 상계는 아닙니다.

The grid spacing is 0.001, so the maximum is 0.0005, including ties. This is not a population-estimation error bound.

15. 필요 표시 자릿수Required decimal places

가장 가까운 d자리 반올림의 최대 표시 오차를 0.0001 이하로 만들 최소 비음 정수 d를 구하세요.

Find the least nonnegative integer d giving maximum nearest-rounding error at most 0.0001.

풀이와 확인할 이유Solution and explanation

1/(2×10ᵈ)≤0.0001을 풉니다. d=3에서는 0.0005, d=4에서는 0.00005이므로 최소 d=4입니다.

Solve 1/(2×10ᵈ)≤0.0001. At d=3 the bound is 0.0005; at d=4 it is 0.00005, so the minimum is 4.

16. 먼저 반올림하면 다른 계산Rounding before averaging

가정 두 정확값 1.244, 1.245를 둘째 자리 half-away로 먼저 반올림해 평균 후 다시 둘째 자리로 쓰는 값과, 원값 평균을 마지막에만 반올림한 값을 비교하세요.

For exact toy values 1.244, 1.245, compare two-place half-away rounding before averaging and again afterward with rounding the original mean only once.

풀이와 확인할 이유Solution and explanation

먼저 반올림하면 1.24, 1.25의 평균 1.245를 다시 반올림해 1.25입니다. 원평균은 1.2445라 마지막 반올림은 1.24입니다. 중간 반올림이 같은 계산을 보존한다고 가정하지 않습니다.

Rounding first gives 1.24, 1.25, whose mean 1.245 displays as 1.25. The original mean 1.2445 displays as 1.24. Intermediate rounding can change the calculation.

17. 분산의 통화 단위Currency units of variance

가정 센트/시간 값의 SD가 2, 분산이 4입니다. 달러/시간으로 바꾼 SD·분산을 구하세요.

A toy cents/hour variable has SD 2 and variance 4. Convert both to dollars/hour units.

풀이와 확인할 이유Solution and explanation

SD는 2/100=0.02달러/시간, 분산은 4/10000=0.0004(달러/시간)²입니다. 분산에 100만 나누면 단위가 맞지 않습니다.

SD becomes 0.02 dollars/hour; variance becomes 0.0004 (dollars/hour)². Variance divides by 10,000, not merely 100.

18. 퍼센트포인트Percentage points

가정 비율이 0.10에서 0.15로 변했습니다. 비율 차이·퍼센트포인트 차이·상대 증가율을 구하세요.

A toy proportion changes from 0.10 to 0.15. Find the proportion difference, percentage-point difference and relative increase.

풀이와 확인할 이유Solution and explanation

각각 0.05, 5퍼센트포인트, (0.15−0.10)/0.10=50%입니다. 세 표현은 같은 수치 단위를 가진 것이 아닙니다.

They are 0.05, five percentage points, and 50%, respectively. Keep their different numerical units and denominators.

19. 아주 작은 양수A tiny positive input

정확 입력 10⁻⁴⁰⁰을 소수 8자리로 표시하면 0.00000000입니다. 입력이 정확한 0이라고 결론낼 수 있나요?

Exact input 10⁻⁴⁰⁰ displays as 0.00000000 at eight places. Does that establish exact zero?

풀이와 확인할 이유Solution and explanation

없습니다. 양수 원분수를 보존하고 표시 반올림·부동소수점 underflow를 따로 기록합니다. 0처럼 보이는 표시값과 정확 0은 다릅니다.

No. Retain the positive rational value and distinguish display rounding from floating-point underflow. A zero-looking display differs from exact zero.

20. 평균의 표시 오차 증명Bound the mean display error

같은 n≥1 정확값 xᵢ를 각기 반올림한 rᵢ가 |rᵢ−xᵢ|≤h를 만족한다고 합시다. 두 평균의 절대 차이 상계를 증명하세요.

For n≥1 exact values xᵢ, rounded rᵢ satisfy |rᵢ−xᵢ|≤h. Prove a bound on the difference of their means.

풀이와 확인할 이유Solution and explanation

삼각부등식과 같은 양의 분모 n을 씁니다.

∣rˉ−xˉ∣≤1n∑i∣ri−xi∣∣rˉ−xˉ∣≤h\begin{gathered}\left|\bar r-\bar x\right|\leq\frac1n\sum_i|r_i-x_i|\\\left|\bar r-\bar x\right|\leq h\end{gathered}

합의 차이 상계는 nh지만 평균에서는 n으로 다시 나눕니다. 이는 같은 원값들의 표시 오차이며 표집 오차가 아닙니다.

Use the triangle inequality and common positive denominator n.

∣rˉ−xˉ∣≤1n∑i∣ri−xi∣∣rˉ−xˉ∣≤h\begin{gathered}\left|\bar r-\bar x\right|\leq\frac1n\sum_i|r_i-x_i|\\\left|\bar r-\bar x\right|\leq h\end{gathered}

The sum error is bounded by nh; division by n gives the mean bound. This concerns display, not sampling error.

21. 네 값의 세 산포Three spreads for four values

가정 가용값 (1, 2, 3, 4)에서 평균·중심 제곱합·n분모 기술분산·n−1 표본분산·표본 SD와 평균 추정 SE를 구하세요.

For toy available values (1, 2, 3, 4), find the mean, centered SS, descriptive variance, sample variance, SD and estimated mean SE.

풀이와 확인할 이유Solution and explanation

평균은 5/2, 제곱이탈합은 5입니다. 기술분산은 5/4, 표본분산은 5/3, SD는 √(5/3), 추정 SE는 √(5/12)입니다. 마지막 SE 해석은 독립·공통 분산의 추가 모형을 필요로 합니다.

The mean is 5/2 and centered SS is 5. The two variances are 5/4 and 5/3, sample SD is √(5/3), and estimated SE is √(5/12). Interpreting the latter as a mean SE requires independent common-variance observations.

22. 한 값의 상태A singleton

가용값이 7 하나뿐일 때 기술 평균·n분모 기술분산·n−1 표본분산·t 평균 구간의 상태를 쓰세요.

Only one available value, 7, remains. State its mean, descriptive variance, sample variance and t-mean interval status.

풀이와 확인할 이유Solution and explanation

평균 7, 기술분산 0입니다. n−1=0이므로 표본분산과 그 s를 쓰는 t 구간은 미정의입니다. 알려진 양의 σ의 z 모형은 별도 조건에서 n=1도 쓸 수 있습니다.

Mean 7 and descriptive variance 0 are defined. The n−1 sample variance and its t pivot are undefined. A separate known-positive-sigma normal model can support a z interval at n=1.

23. 모두 같은 값All equal values

가용값 (5, 5, 5)에서 s와 평균 t 피벗은 어떻게 표시하나요? 이것이 모든 모집단의 불확실성 0을 뜻하나요?

For (5, 5, 5), how should s and the t pivot be displayed? Does this prove zero population uncertainty?

풀이와 확인할 이유Solution and explanation

s=0이며 양의 spread로 나누는 t 피벗은 미정의라고 표시합니다. 이상적 양의 분산 연속 정규모형에서 이 사건은 확률 0이지만 실제 반올림·이산 자료에서는 생길 수 있습니다. 모집단 분산이 0이라고 자동 결론내리지 않습니다.

s=0, and the positive-spread t pivot is undefined. This is a probability-zero event under an ideal positive-variance continuous normal model, but can occur in rounded/discrete records. It does not automatically establish zero population variance.

24. SE를 절반으로Halve the SE

독립·같은 양의 분산 σ²를 유지할 때 평균 SE를 절반으로 줄이려면 n을 몇 배로 해야 하나요?

Under independent observations with the same positive variance, by what factor must n increase to halve the mean SE?

풀이와 확인할 이유Solution and explanation

SE=σ/√n이므로 n을 4배로 해야 합니다. σ와 독립 표집 조건을 유지한 비교입니다. 같은 행을 네 번 복제하면 이 독립 표본 수 증가가 아닙니다.

Because SE=σ/√n, n must increase fourfold. This keeps variance and independence fixed; copying each row four times does not supply four times as many independent observations.

25. 복제 의존Copied dependence

평균 μ·분산 v>0인 하나의 확률변수 Z를 X₁=…=Xₙ=Z로 복사합니다. 평균의 분산을 구하고 v/n과 비교하세요.

Let X₁=…=Xₙ=Z, where Z has mean μ and variance v>0. Find the mean variance and compare it with v/n.

풀이와 확인할 이유Solution and explanation

평균이 Z 그 자체이므로 분산은 v입니다. 모든 다른 쌍의 공분산도 v여서 n²개 항을 n²로 나누면 v가 남습니다. 독립식 v/n을 쓸 수 없습니다.

The mean equals Z, so its variance is v. All n² covariance terms equal v; division by n² leaves v. The independent formula v/n does not apply.

26. 알려진 σ 구간Known-sigma interval

iid N(μ, 4) 모형에서 n=25, 관측평균 10입니다. 선언 z=1.96인 평균 구간을 구하세요.

In an iid N(μ, 4) model, n=25 and the observed mean is 10. Construct the mean interval using declared z=1.96.

풀이와 확인할 이유Solution and explanation

알려진 σ=2이므로 SE=2/5=0.4, 반폭은 1.96×0.4=0.784입니다. 구간은 [9.216, 10.784]입니다. 1.96은 선언한 수치 상수이며 무한 자릿수 정규 분위수와 구분합니다.

Known σ=2 gives SE=0.4 and half-width 0.784. The interval is [9.216, 10.784]. The finite constant 1.96 is distinct from an ideal normal quantile with infinitely many digits.

27. 네 값 t 구간Four-value t interval

iid 양의 분산 정규 작업모형에서 관측 (1, 2, 3, 4)를 얻었습니다. t₃ 임계 근삿값 3.1824463052837078을 주면 평균 CI를 구하세요.

An iid positive-variance normal working model yields (1, 2, 3, 4). Given t₃ critical approximation 3.1824463052837078, calculate the mean CI.

풀이와 확인할 이유Solution and explanation

평균 2.5와 SE=√(5/12)를 사용합니다.

h=3.18244630528370785/12C≈[0.4457397432,4.5542602568]\begin{gathered}h=3.1824463052837078\sqrt{5/12}\\C\approx[0.4457397432,4.5542602568]\end{gathered}

관측값의 범위 [1, 4]와 다른 구간이며 명시한 평균 모수의 작업 CI입니다.

Use mean 2.5 and SE=√(5/12).

h=3.18244630528370785/12C≈[0.4457397432,4.5542602568]\begin{gathered}h=3.1824463052837078\sqrt{5/12}\\C\approx[0.4457397432,4.5542602568]\end{gathered}

It differs from the observed range [1, 4] and concerns the model’s mean parameter.

28. 관측 SD와 평균 SEObservation SD versus mean SE

가정 같은 양의 모 SD σ=8을 쓰는 독립 표본에서 n=16과 n=64의 평균 SE를 구하세요. 개별 관측의 SD도 줄어드나요?

For independent samples with the same positive population SD σ=8, calculate mean SE at n=16 and n=64. Does individual-value SD shrink?

풀이와 확인할 이유Solution and explanation

SE는 각각 8/4=2와 8/8=1입니다. 같은 모형의 개별 관측 SD는 여전히 8입니다. 평균을 더 정밀하게 추정하는 것과 개별 값 산포를 줄이는 것은 다릅니다.

The SEs are 2 and 1. Individual-value SD remains 8 under the same model; improved precision of an average differs from reduced individual spread.

29. 높은 수준과 폭Higher level and width

같은 자료·양의 spread·피벗에서 90%보다 99% 평균 구간이 넓어지는 이유를 설명하세요. 이것만으로 추정 편향이 줄어드나요?

With the same data, positive spread and pivot, why is a 99% mean interval wider than a 90% interval? Does this alone reduce bias?

풀이와 확인할 이유Solution and explanation

중앙 포함확률을 높이려면 더 큰 양의 임계값이 필요해 반폭이 커집니다. 추정치·자료·선택 편향을 바꾼 것은 아닙니다. 서로 다른 모형의 임의 두 구간에 폭 순서를 일반화하지 않습니다.

A higher central coverage target requires a larger positive critical value and hence greater half-width. It does not change the estimate, records or selection bias; arbitrary intervals from different models need not share this ordering.

30. 95% 문장 해석Interpret 95%

고정 모수 μ에 대한 빈도주의 95% 절차에서 구간을 한 번 계산했습니다. “μ가 이 수치 구간 안에서 95% 확률로 움직인다”를 고치세요.

After calculating one frequentist interval for fixed μ, repair: “μ moves inside this numerical interval with 95% probability.”

풀이와 확인할 이유Solution and explanation

고정 μ와 같은 표집 법칙에서 자료를 다시 뽑아 구간을 만드는 절차의 포함확률을 말합니다. 이미 계산한 수치 구간은 고정되어 참 μ를 포함하거나 포함하지 않습니다. 사후확률 문장을 쓰려면 별도의 사전·우도 모형이 필요합니다.

The probability describes a repeated procedure under fixed μ and the same sampling law. The observed numerical interval either contains μ or does not. A posterior-probability statement requires a separate prior/likelihood model.

31. PI와 CI 폭의 비PI-to-CI width ratio

같은 iid 정규 훈련 자료 n=4·양의 spread·공통 임계값을 쓰고, 같은 법칙의 새 관측은 훈련 전체와 독립입니다. 새 값 PI와 평균 CI의 반폭 비를 구하세요.

Use the same iid-normal n=4 training data, positive spread and critical value. A new observation is independent of the whole training sample under the same law. Find the PI/mean-CI half-width ratio.

풀이와 확인할 이유Solution and explanation

평균 CI의 spread 배율은 1/√n, PI는 √(1+1/n)입니다. 비는 √(n+1)=√5≈2.236068입니다. 같은 조건과 같은 수준을 유지한 비교입니다.

The spread multipliers are √(1+1/n) and 1/√n, so the ratio is √(n+1)=√5≈2.236068. The comparison keeps the model and level fixed.

32. 표본이 커져도 새 값 산포New-value spread at large n

같은 알려진 σ>0와 정규 임계값 z>0를 쓰는 iid 모형에서 n→∞일 때 평균 CI·독립 새 값 PI 반폭의 극한을 구하세요.

For an iid model with fixed known σ>0 and normal critical value z>0, find the large-n limits of mean-CI and independent-new-value-PI half-widths.

풀이와 확인할 이유Solution and explanation

평균 CI 반폭 zσ/√n은 0으로 갑니다. PI 반폭 zσ√(1+1/n)은 zσ로 갑니다. 새 값 자체의 산포는 훈련평균을 잘 안다고 사라지지 않습니다.

The mean half-width tends to zero; the new-value half-width tends to zσ. Knowing the mean accurately does not remove a new observation’s own variability.

33. 미래 독립을 빼면Removing future independence

훈련평균의 분산이 σ²/n이고 새 값 분산은 σ²이지만 Cov(Xnew, X̄)=c입니다. 새 값−훈련평균의 분산을 구하세요.

Training mean variance is σ²/n, new-value variance is σ², and Cov(Xnew, X̄)=c. Find Var(Xnew−X̄).

풀이와 확인할 이유Solution and explanation

분산 항등식으로 σ²+σ²/n−2c입니다. 독립 새 값이면 c=0이지만 c≠0이면 표준 독립 PI 배율을 그대로 쓸 수 없습니다. 분산식만으로 오차가 정규라는 결론도 나오지 않습니다.

It is σ²+σ²/n−2c. Independence gives c=0; if c≠0, the standard independent PI multiplier changes. This variance identity alone does not establish a normal prediction-error law.

34. 알려진 σ의 새 값 PIKnown-sigma new-value PI

훈련은 iid N(μ, 4), n=25, 평균 10이고 새 값은 같은 법칙에서 훈련 전체와 독립입니다. z=1.96으로 평균 CI와 새 값 PI의 반폭을 각각 구하세요.

Training data are iid N(μ, 4), with n=25 and mean 10; a new value is independent of the entire training sample under the same law. Use z=1.96 to find both half-widths.

풀이와 확인할 이유Solution and explanation

평균 반폭은 0.784입니다. 새 값 반폭은 1.96×2√(26/25)=98√26/125입니다. 각각 중심 10의 양옆에 붙이되, 평균과 새 관측이라는 표적을 구분합니다.

Mean half-width is 0.784. New-value half-width is 1.96×2√(26/25)=98√26/125. Center both at 10, while retaining their different targets.

35. 기하와 산술Geometric versus arithmetic

설명용 양의 임금 (1, 9)의 log 평균을 지수화한 값과 원임금 평균을 구하세요.

For toy positive wages (1, 9), find the exponentiated mean log and the arithmetic mean.

풀이와 확인할 이유Solution and explanation

지수 log 평균은 exp((ln1+ln9)/2)=3입니다. 원 산술평균은 (1+9)/2=5입니다. 같은 두 원값이어도 표적이 다릅니다.

They are exp((ln 1+ln 9)/2)=3 and (1+9)/2=5. The targets differ even for the same original values.

36. 엄격 증가 변환Strictly increasing transformation

모집단 log 평균 μ의 구간이 [ln400, ln900]이라고 가정합니다. g(μ)=exp(μ)/100의 구간과 포함 사건의 관계를 쓰세요.

An interval for population mean log μ is [ln 400, ln 900]. Transform it by g(μ)=exp(μ)/100 and state the inclusion-event relation.

풀이와 확인할 이유Solution and explanation

g가 엄격 증가하므로 변환 구간은 [4, 9]달러/시간입니다. μ∈[ln400, ln900]와 g(μ)∈[4, 9]는 동치입니다. 이것은 기하중심의 구간이며 개인 임금 PI라고 바꾸지 않습니다.

The transformed interval is [4, 9] dollars/hour. Strict increase makes the two inclusion events equivalent. The target is the geometric center, not an individual wage PI.

37. lognormal의 두 모평균Two population centers in a lognormal model

별도 모형 Y∼N(ln500, 1), W=exp(Y)/100에서 기하중심과 산술 기대임금을 구하세요.

In a separate model Y∼N(ln 500, 1), W=exp(Y)/100. Find its geometric center and arithmetic expectation.

풀이와 확인할 이유Solution and explanation

기하중심은 5달러/시간입니다. 정규 MGF로 산술 기대값은 exp(ln500+1/2)/100=5√e달러/시간입니다. 실제 임금 자료가 이 모형이라고 입증한 것은 아닙니다.

The geometric center is 5 dollars/hour. The normal MGF gives E[W]=5√e dollars/hour. This does not establish that actual wage observations follow that model.

38. 변환 평균 CI가 놓친 모수A parameter omitted by a transformed mean CI

Y∼N(μ, v), v>0에서 exp(μ)/100과 E[exp(Y)/100]를 비교하고, μ의 CI 끝점만 지수화하면 뒤 표적의 CI인지 설명하세요.

For Y∼N(μ, v), v>0, compare exp(μ)/100 with E[exp(Y)/100]. Does exponentiating only μ-CI endpoints give an interval for the latter?

풀이와 확인할 이유Solution and explanation

뒤 표적은 exp(μ+v/2)/100이므로 μ와 v에 모두 의존합니다. μ 구간의 단조 변환은 exp(μ)/100의 구간일 뿐, 미지 v의 불확실성까지 전파한 산술 기대값 구간이 아닙니다.

The latter is exp(μ+v/2)/100 and depends on both parameters. Transforming a μ interval concerns exp(μ)/100; it does not propagate unknown-v uncertainty for the arithmetic expectation.

39. t 정당화의 세 조건Three ingredients for t

n≥2개의 iid N(μ, σ²), σ²>0 표본에서 Z=√n(X̄−μ)/σ, U=(n−1)s²/σ²라고 합니다. t 피벗의 분포를 얻는 세 성질을 쓰세요.

For n≥2 iid N(μ, σ²) observations with σ²>0, define Z=√n(X̄−μ)/σ and U=(n−1) s²/σ². Give three facts yielding the t pivot.

풀이와 확인할 이유Solution and explanation

Z∼N(0, 1), U∼χ²ₙ₋₁, 그리고 Z와 U의 독립입니다. 정규벡터의 직교 성분에서 이를 얻으며 T=Z/√(U/(n−1))가 tₙ₋₁입니다. 단순 무상관만으로 임의 변수의 독립을 결론내린 것이 아닙니다.

Z is standard normal, U is chi-squared with n−1 df, and they are independent. Orthogonal components of the Gaussian vector give these facts. Then Z/√(U/(n−1)) has tₙ₋₁; uncorrelated arbitrary variables need not be independent.

40. 좁은 구간과 결측A narrow interval with missing data

가용 3,010개 log에 대한 작업 CI가 매우 좁습니다. 나머지 603개의 평균을 모르는데 전체 3,613개 평균도 그 CI로 식별되나요?

A working CI from 3,010 available logs is narrow, but the mean of 603 missing logs is unknown. Does it identify the full 3,613-record mean?

풀이와 확인할 이유Solution and explanation

아닙니다. 가용 집합의 반복 변동과 미관측 집단으로의 확장 문제는 다릅니다. 전체평균은 (3010×가용평균+603m)/3613로 가정 m에 의존합니다. 표본이 크다는 이유만으로 선택 편향을 제거하지 않습니다.

No. Variation within the available set differs from extending to a missing group. The full mean depends on m through (3010×available mean+603m)/3613. A large available count does not remove selection bias.

41. 이항 평균의 분산Variance of the binomial proportion

독립 Xᵢ∼Bernoulli(p), i=1, …, n, n≥1에서 p̂=ΣXᵢ/n의 기대값과 분산을 유도하세요.

For independent Xᵢ∼Bernoulli(p), i=1, …, n, n≥1, derive the expectation and variance of p̂=ΣXᵢ/n.

풀이와 확인할 이유Solution and explanation

각 기대값 p, 분산 p(1−p)이며 다른 쌍의 공분산은 0입니다.

E[p^]=np/n=pVar⁡(p^)=np(1−p)/n2Var⁡(p^)=p(1−p)/n\begin{gathered}E[\hat p]=np/n=p\\\operatorname{Var}(\hat p)=np(1-p)/n^2\\\operatorname{Var}(\hat p)=p(1-p)/n\end{gathered}

공통 p와 독립성은 주어진 가정이며 실제 고객 파일이 보장한 사실이 아닙니다.

Each expectation is p, each variance is p(1−p), and cross-covariances vanish.

E[p^]=np/n=pVar⁡(p^)=np(1−p)/n2Var⁡(p^)=p(1−p)/n\begin{gathered}E[\hat p]=np/n=p\\\operatorname{Var}(\hat p)=np(1-p)/n^2\\\operatorname{Var}(\hat p)=p(1-p)/n\end{gathered}

Shared p and independence are assumptions, not facts established by the customer file.

42. Wald의 0성공Zero successes and Wald

추가 iid Bernoulli 모형의 n=10에서 k=0입니다. Wald 구간을 구하고 p=0.1일 때 이 결과가 생길 확률을 쓰세요.

In an iid-Bernoulli model n=10, k=0, find the Wald interval and the probability of this outcome when p=0.1.

풀이와 확인할 이유Solution and explanation

관측 비율과 대입 분산이 0이므로 원 Wald 구간은 [0, 0]입니다. p=0.1에서도 K=0 확률은 (0.9)¹⁰>0입니다. 따라서 이 결과 하나로 미지 p=0을 확정할 수 없습니다.

The substituted variance is zero, giving [0, 0]. Yet K=0 has probability 0.9¹⁰>0 at p=0.1. This outcome does not establish p=0.

43. Wilson 경계 유도Derive a Wilson boundary

n=10, k=0, 선언 z=1.96에서 Wilson 부등식 10p²≤z²p(1−p)를 0≤p≤1에서 풀어 구간을 구하세요.

For n=10, k=0 and declared z=1.96, solve 10p²≤z²p(1−p) on 0≤p≤1.

풀이와 확인할 이유Solution and explanation

p=0을 먼저 포함하고 p>0에서는 (10+z²)p≤z²로 나눕니다. 따라서 [0, z²/(10+z²)]=[0, 2401/8651]입니다. p로 먼저 나누고 p=0을 잊으면 경계 해를 잃습니다.

Include p=0 first. For positive p, divide to get p≤z²/(10+z²). The interval is [0, 2401/8651]. Dividing by p without retaining its zero case loses a boundary solution.

44. n=1의 포함률 반례A coverage counterexample at n=1

가정 K∼Bin(1, 1/2), 선언 z=1.96입니다. 가능한 k=0, 1에서 Wald와 Wilson의 고정 p=1/2 포함 여부를 판정하고 두 포함률을 구하세요.

Let K∼Bin(1, 1/2), with declared z=1.96. Classify p=1/2 inclusion for k=0, 1 under Wald and Wilson, and find both coverages.

풀이와 확인할 이유Solution and explanation

Wald는 각각 [0, 0], [1, 1]로 어느 쪽도 1/2를 포함하지 않아 포함률 0입니다. Wilson의 0성공 상한 z²/(1+z²)는 1/2보다 크고 1성공은 대칭이므로 둘 다 포함해 포함률 1입니다. 어느 쪽도 이 유한 법칙에서 정확히 95%가 아닙니다.

Wald gives [0, 0] or [1, 1], so coverage is 0. Wilson includes 1/2 in both cases because z²/(1+z²)>1/2 and symmetry applies; its coverage is 1. Neither is exactly 95% for this finite law.

45. Wilson 이차식Wilson quadratic

n≥1, k∈{0, …, n}, p̂=k/n, z>0에서 n(p̂−p)²≤z²p(1−p)를 p의 이차 부등식으로 바꾸세요.

For n≥1, k∈{0, …, n}, p̂=k/n and z>0, rewrite n(p̂−p)²≤z²p(1−p) as a quadratic inequality in p.

풀이와 확인할 이유Solution and explanation

양변을 전개하고 같은 쪽으로 옮깁니다.

A=n+z2,B=2k+z2C=k2/nAp2−Bp+C≤0\begin{gathered}A=n+z^2,\qquad B=2k+z^2\\C=k^2/n\\Ap^2-Bp+C\leq0\end{gathered}

A>0이므로 두 실근 사이를 취하며, 이항 성공수 범위에서 Wilson 근은 [0, 1]에 있습니다. score 반전의 대수와 실제 포함률을 구분합니다.

Expand and collect terms.

A=n+z2,B=2k+z2C=k2/nAp2−Bp+C≤0\begin{gathered}A=n+z^2,\qquad B=2k+z^2\\C=k^2/n\\Ap^2-Bp+C\leq0\end{gathered}

Since A>0, the interval is between the real roots, which lie in [0, 1] for binomial counts. Exact algebraic inversion differs from an exact-coverage claim.

46. 이항 포함률 손계산Hand calculation of coverage

가정 K∼Bin(10, 1/2)와 보관된 95% z 상수를 씁니다. 포함 판정 결과가 Wilson k=2, …, 8, Wald k=3, …, 7이라고 주어졌습니다. 두 포함률을 정확히 구하세요.

Let K∼Bin(10, 1/2) and use the archived nominal-95% z constant. Wilson includes p for k=2, …, 8; Wald for k=3, …, 7. Calculate exact coverage.

풀이와 확인할 이유Solution and explanation

각 질량은 C(10, k)/1024입니다. Wilson 제외 질량은 2(1+10)/1024라 포함률 501/512입니다. Wald 포함 계수합은 120+210+252+210+120=912라 912/1024=57/64입니다. 명목 0.95와 각각 다릅니다.

Masses are C(10, k)/1024. Wilson excludes 2(1+10)/1024, giving 501/512. Wald’s coefficient sum is 912, giving 57/64. Both differ from nominal 0.95.

47. 반올림 끝점의 함정Rounded endpoint trap

원 수치 구간 [0.2, 0.500004]와 고정 후보 p=0.500003을 비교합니다. 상한을 둘째 자리 0.50으로 표시한 값과 비교하면 포함 판정이 어떻게 달라지나요?

Compare fixed p=0.500003 with original interval [0.2, 0.500004]. What happens if inclusion uses its two-place displayed upper bound 0.50?

풀이와 확인할 이유Solution and explanation

원구간에는 p가 포함되지만 표시 상한 0.50과 비교하면 제외됩니다. 포함 사건은 원 계산·선언한 대수 부등식으로 판정하고 표시값은 읽기용으로 둡니다.

The original interval includes p; the displayed-bound comparison excludes it. Classify using the underlying calculation or declared exact inequality, while treating rounded endpoints as presentation.

48. 표시 0인 이항 질량Binomial masses displayed as zero

가정 K∼Bin(2, p), p=10⁻⁴⁰⁰에서 K=1과 K=2의 질량을 정확식으로 쓰고, 화면 값이 0이어도 정확 0인지 판정하세요.

Let K∼Bin(2, p), with p=10⁻⁴⁰⁰. Write exact masses at K=1 and K=2. Are they exact zero if the display is 0?

풀이와 확인할 이유Solution and explanation

질량은 각각 2p(1−p)와 p²이며 모두 엄격히 양수입니다. Number 표시 underflow로 0이 될 수 있어도 exactZero는 false입니다. 원분수와 표시 상태를 함께 둡니다.

They are 2p(1−p) and p², both strictly positive. Number display underflow does not make exactZero true; retain exact fractions and display flags.

49. 퇴화 이항 법칙Degenerate binomial law

가정 K∼Bin(n, 0), n≥1에서 닫힌 Wald·Wilson 구간의 고정 p=0 포함률을 구하세요.

For K∼Bin(n, 0), n≥1, find fixed-p=0 coverage of the closed Wald and Wilson intervals.

풀이와 확인할 이유Solution and explanation

K=0에 질량 1이고 두 구간 모두 0을 포함하므로 포함률은 1입니다. 내부 p에서 근사가 어떠한지와 별개로 이 경계 법칙은 직접 계산합니다.

K=0 has mass one and both intervals include zero, so coverage is one. Treat this boundary law directly rather than importing an interior approximation.

50. 정확 계산 예산Exact computation budget

실습 예산이 n×(기약분모 십진 자릿수−1)≤4000입니다. n=60, p=10⁻¹⁰⁰와 n=2, p=10⁻⁴⁰⁰를 비교하세요. 거부된 확률은 미정의인가요?

The lab requires n×(reduced-denominator decimal digits−1)≤4000. Compare n=60, p=10⁻¹⁰⁰ with n=2, p=10⁻⁴⁰⁰. Is the rejected law undefined?

풀이와 확인할 이유Solution and explanation

첫 기약분모는 10¹⁰⁰이므로 예산값은 6000, 둘째는 10⁴⁰⁰이므로 800입니다. 전자는 거부, 후자는 허용합니다. 거부는 유한 브라우저 계산 예산의 문제이며 두 수학적 이항 법칙은 모두 정의됩니다.

The budget values are 6000 and 800, respectively. The first is rejected and the second allowed. Both mathematical binomial laws exist; rejection is a finite browser computation limit.

51. 세 구간의 동시 포함Simultaneous coverage of three intervals

세 구간의 각 비포함 확률이 최대 0.05입니다. 의존성 가정 없이 모두 포함할 확률의 하한을 구하세요. 서로 독립이고 각각 정확 0.95 포함이면 얼마인가요?

Each of three intervals has noncoverage probability at most 0.05. Give a simultaneous bound without independence. What if all three inclusion events are independent with probability 0.95?

풀이와 확인할 이유Solution and explanation

합집합 상계로 적어도 1−3×0.05=0.85입니다. 독립이고 각 포함률이 정확 0.95이면 0.95³=0.857375입니다. 개별 95%가 동시 95%라는 뜻은 아닙니다.

The union bound gives at least 0.85. Under the stated independence and exact individual coverage, the value is 0.95³=0.857375, not 0.95.

52. 선택한 집단만 보고Reporting only a selected group

같은 자료에서 20개 집단 구간을 탐색한 뒤 가장 극단적인 평균 하나만 보고했습니다. 모든 개별 계산이 맞아도 보고에 무엇을 더 밝혀야 하나요?

After examining 20 group intervals on the same data, you report only the most extreme mean. What must be disclosed even if each arithmetic calculation is correct?

풀이와 확인할 이유Solution and explanation

검토한 20개 집단·선택 규칙·탐색 여부를 기록합니다. 개별 구간의 조건부 모형 타당성도 확인하고, 선택후·동시 추론을 계산기가 자동 수행한 것처럼 쓰지 않습니다.

Disclose the 20 examined groups, selection rule and exploratory status. Assess individual-model conditions and avoid claiming automatic post-selection or simultaneous inference.

53. 평균은 항상 구간 중심The mean is at the interval center

대칭 평균 구간 [x̄−h, x̄+h], h≥0이 관측평균 x̄를 포함합니다. 이것이 명목 수준이 검증됐다는 증거인가요?

A symmetric interval [x̄−h, x̄+h], h≥0, contains observed x̄. Does that validate its nominal confidence level?

풀이와 확인할 이유Solution and explanation

아닙니다. 중심 포함은 구성상 자명합니다. 신뢰절차는 고정된 미지 모수 μ가 무작위 구간에 포함될 확률을 말하며, 관측평균 자체를 덮는 사건과 다릅니다.

No. Containing its own center is true by construction. Confidence coverage concerns a fixed unknown μ inside a random interval, a different event.

54. 아핀 변환과 구간Affine transformation of an interval

모수 θ의 구간이 [L, U], L≤U입니다. g(θ)=aθ+b, a≠0의 구간을 a의 부호별로 쓰고, SD·분산 변환도 쓰세요.

A parameter θ has interval [L, U], L≤U. Transform by g(θ)=aθ+b, a≠0. Give endpoints by sign of a, and the SD/variance transformations.

풀이와 확인할 이유Solution and explanation

a>0이면 [aL+b, aU+b], a<0이면 [aU+b, aL+b]입니다. SD는 |a|배, 분산은 a²배입니다. 끝점 순서를 뒤집을 필요와 불확실성 단위를 함께 확인합니다.

For a>0, use [aL+b, aU+b]; for a<0, use [aU+b, aL+b]. SD scales by |a| and variance by a². Preserve endpoint order and units.

55. 세 분모를 다시 합치기Recombine the group denominators

실제 불만 집단은 이탈 200/241, 불만 없음은 295/2909입니다. 전체 비율을 집단 비율의 가중합으로 쓰고 단순 반반 평균이 아닌 이유를 설명하세요.

Actual rates are 200/241 for complaints and 295/2909 without complaints. Write the pooled rate as a weighted sum, and explain why equal half weights are different.

풀이와 확인할 이유Solution and explanation

가용 고객 균등 표적의 무게는 241/3150과 2909/3150입니다.

A=2413150200241B=290931502952909A+B=1170\begin{gathered}A=\frac{241}{3150}\frac{200}{241}\\B=\frac{2909}{3150}\frac{295}{2909}\\A+B=\frac{11}{70}\end{gathered}

반반 평균은 집단 크기를 무시한 집단 균등이라는 다른 표적입니다.

Equal retained-customer weights give group weights 241/3150 and 2909/3150.

A=2413150200241B=290931502952909A+B=1170\begin{gathered}A=\frac{241}{3150}\frac{200}{241}\\B=\frac{2909}{3150}\frac{295}{2909}\\A+B=\frac{11}{70}\end{gathered}

Equal half weights target equal groups rather than equal customers.

56. 실제 자료 구간 설명Describe the actual interval

실제 Card 가용 log 3,010개의 추가 iid 정규 평균 CI를 [6.245971, 6.277693]이라고 보고했습니다. 단위·모형·빠진 기록·변환 표적을 한 문단으로 정리하세요.

Report [6.245971, 6.277693] as an added iid-normal mean CI from 3,010 available Card logs. State units, assumptions, missing records and transformation target.

풀이와 확인할 이유Solution and explanation

1976년 센트/시간 임금의 원 정리 log 눈금에서 가용 기록의 평균을 보고합니다. 전체 3,613행 중 603개 미관측은 유지하며 iid 정규는 추가 작업모형입니다. exp/100 끝점 변환은 기하중심의 구간이며 원임금 산술평균·새 개인 PI·현재 달러 임금이 아닙니다.

The scale is source-trimmed log of 1976 cents/hour wage. Preserve 603 missing values among 3,613 source rows; iid normality is an added working assumption. Exponentiating endpoints and dividing by 100 gives a geometric-center interval, not a raw-wage arithmetic mean, new-person PI or current-dollar wage.

57. 범주별 그림A categorical graphic

전체·불만 없음·불만 있음의 세 이탈 비율에 Wilson 구간을 그립니다. 점들을 선으로 잇고 “시간에 따른 변화”라 설명한 것을 고치세요.

Wilson intervals are drawn for all, no-complaint and complaint churn rates. Repair a connected line labeled “change over time.”

풀이와 확인할 이유Solution and explanation

세 범주는 시간 순서가 아닙니다. 각 추정점·세로 구간 양끝과 분모를 표시하고 점 사이 연결은 제거합니다. 구간은 추가 독립 Bernoulli 작업모형의 명목 구간이며 실제 집단의 인과 비교가 아닙니다.

These categories are not a chronology. Show each point, vertical bounds and denominator without connecting category points. Intervals add an independent-Bernoulli working model; they do not identify a causal group comparison.

58. 실제 실행 수Count actual executions

보관 프로그램은 report 3×2언어, mean 3×2, proportion 3×2, coverage 2×2, precision 2×2이며 별도 R 임계값 실행 1개가 있습니다. 고정 프로그램·총 프로세스 수와 SVG 22개가 실행 수와 다른 이유를 쓰세요.

There are report 3×2 languages, mean 3×2, proportion 3×2, coverage 2×2 and precision 2×2 fixed programs, plus one R critical-grid execution. Count programs/processes and explain the 22 SVGs.

풀이와 확인할 이유Solution and explanation

고정 프로그램은 6+6+6+4+4=26개, 임계값 포함 실제 프로세스는 27개입니다. precision 4개는 그림을 만들지 않아 SVG는 22개입니다. 새 브라우저 조절은 이 프로세스를 다시 실행하지 않습니다. 본문의 짧은 설명용 코드 검사는 별도 범위로 기록합니다.

There are 26 fixed programs and 27 processes including the grid. Four precision programs produce no plot, leaving 22 SVGs. Browser controls do not rerun those processes; short manuscript-code checks are a separate scope.

59. 해시와 타당성Hashes and validity

프로그램·CSV 해시가 일치하고 실행 숫자도 같습니다. 이것만으로 원측정 진실성·iid·대표성·시각적 접근성까지 통과했다고 해도 되나요?

Program/CSV hashes match and numerical executions agree. Does that alone certify measurement truth, iid sampling, representation and visual accessibility?

풀이와 확인할 이유Solution and explanation

그렇지 않습니다. 바이트 보존·숫자 재현과 측정·설계·시각 의미·실제 사용자 검증은 다른 범위입니다. 확인한 증거만 보고하고 실제 브라우저·재생·접근성이나 통계 가정은 별도로 점검합니다.

No. Byte preservation and numerical reproduction differ from measurement, design, visual meaning and actual-user validation. Report the established scope and check remaining assumptions separately.

60. 작은 보고서 완성Complete a small report

설명용 iid N(μ, σ²), σ²>0 모형에서 가용값 (1, 2, 3, 4), 미관측 0개를 얻었습니다. 명목 95% 수준의 t₃ 근삿값 c=3.1824463052837078로 평균·SD·SE·평균 CI·훈련 전체와 독립인 같은 법칙의 새 값 PI를 보고하세요.

In a toy iid N(μ, σ²) model with σ²>0, observe (1, 2, 3, 4), with no missing values. Given the nominal 95% critical value c=3.1824463052837078 from t₃, report mean, SD, SE, mean CI and a PI for a new same-law value independent of all training observations.

풀이와 확인할 이유Solution and explanation

자료는 가정 네 값이며 평균 2.5, SD=√(5/3), SE=√(5/12)입니다. 명목 95% 평균 CI는 약 [0.4457397432, 4.5542602568], 새 값 PI는 약 [−2.0934655776, 7.0934655776]입니다. 후자는 새 관측 자체의 분산을 더합니다. 두 구간의 단위는 가정 원변수 단위이고, 명목 95% 수준·정규 iid·미래 전체 독립·수치 임계값을 함께 적습니다. 실제 파일이나 인과 검증으로 부르지 않습니다.

These are four assumed values. Mean is 2.5, SD=√(5/3), SE=√(5/12). The nominal 95% mean CI is approximately [0.4457397432, 4.5542602568]; the new-value PI is [−2.0934655776, 7.0934655776]. The latter includes the new observation’s variance. State original units, the nominal 95% level, iid normality, future independence and the numerical critical value. This is not actual-file or causal validation.

자료와 출처Data and sources

실습에 추가한 실제 입력과 출처Additional observed lab inputs and provenance

실제 자료 사례Actual-data cases · 원자료·단위·결측·변환·출처Inputs, units, missingness, transformations and sources

자료별 확보일·원행 식별·단위·이용 조건은 출처 기록을 확인하세요. 학습 사본은 제공처의 현재 최신 자료와 다를 수 있습니다.Consult each source record for retrieval dates, row identifiers, units and terms. Teaching copies can differ from current provider releases.

자료사전·출처·이용 조건Data dictionary, sources and terms