Two Categorical Variables
도입됨
7:48
이변량 데이터 탐색
한 초등학교에서 30명의 아이들을 대상으로 합니다. 각 아이마다 두 가지 숫자를 기록합니다: 신발 사이즈와 독해 테스트 점수. 아이마다 점을 하나씩 그립니다. 패턴은…하기 어렵습니다.
영어 내레이션 · 영어와 중국어 자막 전환 가능
이 수업의 내용
| English | 의미 |
|---|---|
| categories | |
| variables/ˈveərɪəblz/ | A characteristic recorded for each individual, such as height or eye colour. |
| categorical/ˌkætɪˈɡɒrɪkl/ | 분류형 |
| two-way table/tuː weɪ ˈteɪbl/ | 양방향표 |
| contingency table/kənˈtɪndʒənsi ˈteɪbl/ | 연립표 |
| cell/sel/ | 셀 |
| count/kaʊnt/ | The number of observations in a category. |
| individuals/ˌɪndɪˈvɪdʒuːəlz/ | |
| margins | |
| row and column totals | |
| marginal frequencies | |
| joint frequency/dʒɔɪnt ˈfriːkwənsi/ | |
| grand total | |
| relative frequencies/ˈrelətɪv ˈfriːkwənsiz/ | Counts divided by the total number of trials, giving proportions. |
| proportions | |
| Marginal relative frequency | A total ÷ grand total. |
| conditional relative frequency/kənˈdɪʃənl ˈrelətɪv ˈfriːkwənsi/ | 조건부 상대주파수 |
| denominator/dɪˈnɒmɪneɪtə/ | The lower part of a fraction, indicating the divisor or the number of equal parts in a whole. |
| side-by-side bar chart | |
| segmented bar chart/seɡˈmentɪd bɑː tʃɑːt/ | 분할 막대그래프 |
| conditional distributions/kənˈdɪʃənl ˌdɪstrɪˈbjuːʃnz/ |
두 범위를 동시에
- 때로는 두 변수 모두 범주형일 수 있습니다 — 예: 성별과 좋아하는 과목.
- 이를 이원표(또는 배열표)에 정리하십시오.
- 행은 한 변수의 범주이고, 열은 다른 변수의 범주입니다.
- Each cell holds the count of individuals in that row-and-column combination.
주변과 결합
- 주변(행 및 열의 총계)은 주변 빈도를 제공하며, 이는 다른 변수를 무시한 하나의 변수입니다.
- 단일 내부 셀은 결합 빈도를 제공합니다 — 두 범주를 동시에 고려합니다.
- 전체 총계로 나누어 상대 빈도(비율)를 얻으십시오.
- 주변 상대 빈도 = 총계 ÷ 전체 총계; 결합 = 셀 ÷ 전체 총계입니다.

구분 막대 그래프가 각 그룹의 조건부 분포를 비교합니다
조건부 상대 빈도
- 조건부 상대 빈도는 한 그룹에 집중하여, 그 내부에서 비율을 구합니다.
- "여학생 중 과학을 선택한 비율은 얼마인가?" — 해당 셀을 여학생의 행 총계로 나눕니다.
- 핵심은 분모입니다: 전체 총계가 아닌 행 총계(또는 열 총계)입니다.
- 조건부는 그룹 크기가 다르더라도 공평하게 비교하기 위한 방법입니다.
막대그래프로 표현
- 세로 막대그래프는 각 그룹의 막대를 옆에 배치하여 비교할 수 있게 합니다.
- 분할 막대그래프는 각 그룹 내의 비례를 하나의 전체 막대로 쌓아 올립니다.
- 분할 막대는 조건부 분포를 비교하는 데 적합하며, 각 막대의 합은 $100\%$입니다.
- 모든 막대에서 세그먼트가 동일한 위치에 정렬되어 있다면, 변수들은 무관해 보입니다.

The three "frequencies" differ only in their denominator. Joint = cell ÷ grand total. Marginal = a row/column total ÷ grand total. Conditional = cell ÷ that row (or column) total. Mixing them up is the classic two-way-table mistake — always ask "a fraction of what group?" before you divide.
$100$ 학생: $60$ 여학생 중 $36$이 과학을 선택했습니다; $40$ 남학생 중 $16$이 과학을 선했습니다.
- Joint (girl and science): $36/100 = 36\%$.
- 경계 빈도(과학 전체): $(36+16)/100 = 52\%$.
- 조건부 빈도(여자일 때 과학을 선택함): $36/60 = 60\%$ — 분모가 여학생 총임을 유의하세요.
이원 표(연성표) 는 두 범주형 변수를 교차 분류합니다. 결합 및 경계 상대 빈도는 총계로 나누며, 조건부 상대 빈도는 cell을 해당 행 또는 열의 합계로 나눕니다. 병렬 막대그래프 또는 분할 막대그래프를 사용하여 관계를 시각화하십시오.
조건부 상대 빈도 0.4에서 작성하기
- In one row of a two-way table, 12 of 30 students said yes.
- 이 수업의 조건부 상대 빈도 0.6는 또 다른 행입니다.
In one row of a two-way table, 12 of 30 students said yes. What is the conditional relative frequency of yes in this row?
A conditional relative frequency divides by the given group.
In a two-way table, a row contains 30 students, of whom 12 said yes. What is the conditional relative frequency of yes?
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
12 divided by 30 is 0.4.
A categorical breakdown
Each slice is one category's share of the whole.
A table that cross-classifies two categorical variables is a ___ table (use the hyphenated term).
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
A two-way (contingency) table.
Of 60 girls, 36 chose science. What is the conditional relative frequency of science given girl (as a decimal)?
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
36 ÷ 60 = 0.60 — divide by the girls' row total.
A joint relative frequency divides a single cell by the ___.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
Joint = cell ÷ grand total; conditional uses a row/column total.
In a segmented bar chart comparing groups, each bar sums to 100%.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
Segmented bars show conditional distributions, each totaling 100%.
Match each frequency to its denominator.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Only conditional uses a group (row/column) total as the denominator.
어떤 문제가 있었나요? 사이트 팀만 이 내용을 볼 수 있습니다.