1. 건강정책 연구를
위한 R 소프트
웨어 소개
2013 년 건강정책학회 봄학
술대회 워크숍
2013 년 5 월 3 일
황승식
인하대학교 의학전문대학원 사회
의학교실
2. 목차
R 소프트웨어의 역사
R 소프트웨어의 설치
R 소프트웨어의 지원
R 을 이용한 분석 사례
데이터 시각화
기초 통계 분석
다수준 분석
조사 자료 분석
시공간 분석
2013-05-03 2
3. R 소프트웨어의 역사
What is R?
R is a dialect of the S language.
R started in the early 1990's as a project by Ross Ihaka
and Robert Gentleman at the University of Auckland, New
Zealand, intended to provide a statistical environment in
their teaching lab.
2013-05-03 3
4. R 소프트웨어의 역사
What is S?
S is a language that was developed in 1976 by John
Chambers and others at Bell Labs.
S was initiated as an internal statistical analysis
environment - originally implemented as Fortran libraries,
then in C.
A commercial implementation of the S language, under the
product name S-PLUS, is available, and has built a number
of fancy features (GUIs, mostly) on top of it - hence
the PLUS".
2013-05-03 4
7. The Popularity of Data Analysis Software
From http://r4stats.com/articles/popularity/
8. Will 2015 be the Beginning of the End for SAS
and SPSS?
From http://r4stats.com/2012/05/09/beginning-of-the-end/
9. How R Grows?
From http://www.r-bloggers.com/how-r-grows/
2013-05-03 9
10. R 소프트웨어 설치
Google 에서 R 검색
The R Project for Statistical Computing 이동
Download, Packages 탭의 CRAN 클릭
CRAN Mirrors 중 Korea 미러 사이트 선택
NexR 또는 중앙대 중 택 1
Download and Install R
운영체제에 맞는 R 선택 후 다운로드
Linux, OSX, Windows 지원
서브 디렉토리에서 base 클릭
Download R 3.0.0 for Windows 클릭
2013-05-03 10
19. R 소프트웨어의 지원 ( 웹 )
한국 R 사용자 모임 KRUG: http://r-project.kr/
R 프로젝트 사이트 : http://www.r-project.org/
Rseek: http://rseek.org/
R-bloggers: http://www.r-bloggers.com/
The R Journal: http://journal.r-project.org/
Journal of Statistical Software:
http://www.jstatsoft.org/
최신 R 패키지 소개
Twotorials: http://www.twotorials.com/
주제별 2 분짜리 동영상 2013-05-03 19
40. 편리한 R 소프트웨어 사용자 환경 지원
R Studio
Deducer: Deducer 패키지
R commander: Rcmdr 패키지
R for SAS and SPSS Users, 2nd
ed.
R for Stata Users
2013-05-03 40
48. 역대 뉴잉글랜드 의학저널에 가장 흔히 사용
된 통계 기법 다섯 가지
과거 (1978-1979) 현재 (2005) 조만간
• t- 검정 (44%)
• 분할표 (27%)
• 피어슨 상관 (12%)
• 비모수 검정 (11%)
• 생존 기법 (11%)
• 생존 기법 (61%)
• 분할표 (53%)
• 다중 회귀 (51%)
• 검정력 분석 (39%)
• 역학적 통계 (35%)
• 다중 비교
• 고효율 (high-
throughput) 데이
터 분석
• 고급 실험 설계
• 베이지언 분석
• 순열 / 붓스트랩 기
법
왼쪽에서 두 컬럼은 Switzer 와 Horton 이 CHANCE 2007 년에 발표한 “당신의 의사
가 알아야 하는 ( 그러나 아마도 모를 ) 통계학”에서 인용 . 괄호 안은 해당 기법을
적용한 논문의 백분율 . 오른쪽 컬럼은 빠르게 대중화되고 있는 기법에 대한 예측 .
출처 : Brieger K and Hardin Johanna. Medicine, Statistics, and Education: The
Inextricable Link. Chance 2012;25(3):31-34