SlideShare une entreprise Scribd logo
1  sur  53
건강정책 연구를
위한 R 소프트
웨어 소개
2013 년 건강정책학회 봄학
술대회 워크숍
2013 년 5 월 3 일
황승식
인하대학교 의학전문대학원 사회
의학교실
목차
 R 소프트웨어의 역사
 R 소프트웨어의 설치
 R 소프트웨어의 지원
 R 을 이용한 분석 사례
 데이터 시각화
 기초 통계 분석
 다수준 분석
 조사 자료 분석
 시공간 분석
2013-05-03 2
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
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
2013-05-03 5
2013-05-03 6
The Popularity of Data Analysis Software 
From http://r4stats.com/articles/popularity/
Will 2015 be the Beginning of the End for SAS
and SPSS?
From http://r4stats.com/2012/05/09/beginning-of-the-end/
How R Grows?
From http://www.r-bloggers.com/how-r-grows/
2013-05-03 9
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
2013-05-03 11
2013-05-03 12
2013-05-03 13
2013-05-03 14
2013-05-03 15
2013-05-03 16
2013-05-03 17
2013-05-03 18
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
2013-05-03 20
2013-05-03 21
2013-05-03 22
2013-05-03 23
2013-05-03 24
2013-05-03 25
2013-05-03 26
http://screenr.com/kzT8
2013-05-03 27
R 패키지 설치
[ 메뉴 ] 패키지들패키지 ( 들 ) 설치하기
2013-05-03 28
R 패키지 불러오기
[ 메뉴 ] 패키지들패키지 불러오기
2013-05-03 29
R 소프트웨어의 지원 ( 책자 )
2013-05-03 30
2013-05-03 31
2013-05-03 32
R 을 이용한 데이터 시각화
 Flowingdata by Nathan Yau: http://flowingdata.com/
 비주얼라이즈 디스 !
2013-05-03 33
2013-05-03 34
2013-05-03 35
http://data.huffingtonpost.com/2013/03/gun-deaths
2013-05-03 36
http://www.nytimes.com/interactive/2012/05/05/sports/b
aseball/mariano-rivera-and-his-peers.html?_r=1&
http://www.nytimes.com/video/2010/06/30/sports/12474
68158551/how-mariano-rivera-dominates-hitters.html
R 을 이용한 데이터 시각화
 ggplot2 라이브러리 by Hadley Wickam
install.packages(“ggplot2”)
2013-05-03 37
2013-05-03 38
2013-05-03 39
편리한 R 소프트웨어 사용자 환경 지원
 R Studio
 Deducer: Deducer 패키지
 R commander: Rcmdr 패키지
 R for SAS and SPSS Users, 2nd
ed.
 R for Stata Users
2013-05-03 40
2013-05-03 41
2013-05-03 42
2013-05-03 43
2013-05-03 44
2013-05-03 45
2013-05-03 46
R 을 이용한 기초 통계 분석
2013-05-03 47
역대 뉴잉글랜드 의학저널에 가장 흔히 사용
된 통계 기법 다섯 가지
과거 (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
R 을 이용한 역학 자료 분석
2013-05-03 49
R 을 이용한 조사자료 분석
2013-05-03 50
R 을 이용한 다수준 분석
2013-05-03 51
R 을 이용한 시공간 분석
2013-05-03 52
2013-05-03 53

Contenu connexe

En vedette

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

En vedette (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

건강정책 연구를 위한 R 소프트웨어 소개