사회 이동성 순서형 로짓 모형 (초급 STATA)

초급 정량 분석 social stata
예상 소요 시간 45분 (간소화)
사전 지식 없음. 로지스틱 회귀
표본 크기 기준 최소 300개 관측치 (최소 조건)
통계 가정 비례오즈 가정, 독립성
난이도: 초급 — 입문자를 위한 간략화된 설명입니다.

개요

부모의 교육수준과 소득이 개인의 사회계급(하/중하/중상/상)에 미치는 영향을 순서형 로짓(Ordinal Logit) 모형으로 분석한다. Stata의 ologit 명령어를 사용한다.

분석 절차

1단계: 모형 추정

ologit 명령어로 순서형 로짓 모형을 추정한다. 종속변수는 순서가 있는 범주형 변수다.

2단계: 비례오즈 가정 검정

brant 명령어로 Brant 검정을 수행한다. 유의확률이 0.05 미만이면 비례오즈 가정이 위반된다.

3단계: 부분 비례오즈 모형

비례오즈 가정이 위반되면 gologit2로 부분 비례오즈(Partial Proportional Odds) 모형을 추정한다.

4단계: 한계효과 해석

margins 명령어로 각 독립변수 수준에서 상위 계급에 속할 확률을 계산한다.

코드 예제

* 순서형 로짓 모형 추정
ologit social_class parent_education income region

* 비례오즈 가정 검정
brant, detail

* 비례오즈 위반 시 부분 비례오즈 모형
gologit2 social_class parent_education income region, autofit

* 한계효과 계산
margins, at(parent_education=(1(1)4)) predict(outcome(3))
marginsplot

참고문헌

Long, J. S., & Freese, J. (2014). Regression Models for Categorical Dependent Variables Using Stata (3rd ed.). Stata Press.

학습 팁

이 방법론은 초급 수준입니다. 먼저 기초 통계 개념을 익힌 후 진행하세요. SPSS나 R의 기본 조작법을 숙지하면 더 수월합니다.

코드 예제

STATA
* 순서형 로짓 모형 추정 ologit social_class parent_education income region * 비례오즈 가정 검정 brant, detail * 비례오즈 위반 시 부분 비례오즈 모형 gologit2 social_class parent_education income region, autofit * 한계효과 계산 margins, at(parent_education=(1(1)4)) predict(outcome(3)) marginsplot

참고문헌

Long, J. S., & Freese, J. (2014). Regression Models for Categorical Dependent Variables Using Stata (3rd ed.). Stata Press.

이 방법론과 연결된 콘텐츠