R Commanderを用いたデータ解析

Size: px
Start display at page:

Download "R Commanderを用いたデータ解析"

Transcription

1 1 / 82 R Commander Kengo NAGASHIMA Laboratory of Biostatistics, Department of Parmaceutical Technochemistry, Josai University

2 R R Commander 2 / 82 R, "The Comprehensive R Archive Network (CRAN)", ( ), R (2009/12/24, 2115 ) R ( )., R Commander GUI ( ), Web,,

3 R R Commander 3 / 82 R Commander Professor, John Fox (McMaster University) R R,

4 R R Commander 4 / 82 R R Commander,,,,

5 Win R R Commander 5 / 82 R (1-1) Windows R "R win32.exe", 7, 6

6 Win R R Commander 6 / 82 R (1-2) CRAN ( Windows R

7 Win R R Commander 7 / 82 R (2),,

8 Win R R Commander 8 / 82 R (3),, " " " ",

9 Win R R Commander 9 / 82 R (4),, /Quick Launch, 2,,

10 Win R R Commander 10 / 82 R "R " (R )

11 Win R R Commander 11 / 82 R Commander R, R Commander, 12, 15

12 Win R R Commander 12 / 82 R Commander (1-1)... (Rcmdr_1.5-3.zip),, car_ zip, RcmdrPlugin.EstOR_1.0-1.zip,

13 Win R R Commander 13 / 82 R Commander (1-2), "Rcmdr". R Console library(rcmdr), Rcmdr OK, OK

14 Win R R Commander R Commander (1-3),, OK, / 82

15 Win R R Commander 15 / 82 R Commander (2-1) R Console install.packages("rcmdr", dependencies = TRUE), Enter, "Rcmdr",

16 Win R R Commander 16 / 82 R Commander (2-2),, Japan,,, Rcmdr MD5

17 Win R R Commander 17 / 82 R Commander (2-3), "Rcmdr". R Console library(rcmdr), Rcmdr OK

18 Win R R Commander 18 / 82 R Commander

19 Win R R Commander 19 / 82 R Commander,,, R Console detach("package:rcmdr"), R Commander library(rcmdr)

20 Win R R Commander 20 / 82 R "Edit" "GUI preferences..." "Language for menu and message" "ja" "Save" "Rconsole" (R ), ( ) R,

21 Win R R Commander 21 / 82 " cran.r-project.org 80 ",,, ".../Rgui.exe" --internet2

22 Mac R R Commander 22 / 82 R (1-1) Macintosh R (Mac OS X ) "R dmg", 24, 23

23 Mac R R Commander 23 / 82 R (1-2) CRAN ( Macintosh R

24 Mac R R Commander 24 / 82 R (2) R,, " "

25 Mac R R Commander 25 / 82 R (3) " ", "Continue", "Agree", " "

26 Mac R R Commander 26 / 82 R (4), OK,

27 Mac R R Commander 27 / 82 R Finder "R"

28 Mac R R Commander 28 / 82 R Commander R, R Commander, 29, 34

29 Mac R R Commander 29 / 82 R Commander (1-1),,

30 Mac R R Commander 30 / 82 R Commander (1-2), "Rcmdr_1.5-3.tgz", " ", "car_ tgz", " ", "RcmdrPlugin.EstOR_1.0-1.tar.gz", " "

31 Mac R R Commander 31 / 82 R Commander (1-3), "Rcmdr". R Console library(rcmdr), Rcmdr

32 Mac R R Commander 32 / 82 R Commander (1-4), OK,, OK,

33 Mac R R Commander 33 / 82 R Commander (1-5) 37

34 Mac R R Commander 34 / 82 R Commander (2-1) R Console install.packages("rcmdr", dependencies = TRUE), Enter, "Rcmdr",

35 Mac R R Commander 35 / 82 R Commander (2-2),, Japan,,,

36 Mac R R Commander 36 / 82 R Commander (2-3), "Rcmdr". R Console library(rcmdr), Rcmdr

37 Mac R R Commander 37 / 82 R Commander

38 Mac R R Commander 38 / 82 R Commander,,, R Console detach("package:rcmdr"), R Commander library(rcmdr)

39 Mac R R Commander R " " " " defaults write org.r-project.r force.lang en_us.utf -8, R R defaults write org.r-project.r force.lang ja_jp.utf -8, R R 39 / 82

40 Mac R R Commander 40 / 82

41 Mac R R Commander 41 / 82 R Commander

42 Matsuyama Y, et al. Second cancers after adjuvant tamoxifen therapy for breast cancer in Japan. Ann Oncol. 2000; 11: ,, 1996 ( ) % 464/2549=18.2%, 424/2352=18.0% 42 / 82

43 43 / % 3.5% ( ) 368/1215=30.3%, 253/760=33.3% ( ) 464/2549=7.2%, 424/2352=10.7%

44 44 / 82 "RcmdrPlugin.EstOR" R Commander, Rcmdr "RcmdrPlugin.EstOR", OK, OK

45 45 / 82 1 (Windows ) "tamoxifen.xls" Excel...

46 46 / 82 2 (Windows ), "Dataset" OK, "tamoxifen.xls",

47 47 / 82 3 (Windows ) ( ), "data", OK, Excel, R, Access

48 48 / 82 1 (Macintosh ) "tamoxifen_utf8.csv"...

49 49 / 82 2 (Macintosh ) "Dataset", " ", " ", " " OK,, "tamoxifen_utf8.csv",

50 50 / 82,, 25%,,, 75%,.,

51 51 / 82

52 52 / 82,, 2 :, :,,, OK

53 53 / %

54 54 / 82, (α = 0.05 ) H 0 : H 1 : P-value=0.873, α = 0.05

55 1, Fisher (α = 0.05 ) H 0 : 1 H 1 : 1 P-value=0.882, α = , 95% [0.87, 1.17] 55 / 82

56 56 / 82,,, :, :, :,, OK

57 57 / % 3.5%

58 58 / 82 1,,

59 59 / 82 2,,,,, binomial, logit, OK

60 ( ) logit(p ) = β + β x , P-value=0.873, α = 0.05, 60 / 82

61 61 / 82 Estimate odds ratio, "RcmdrPlugin.EstOR"

62 62 / 82 ( ) 1.01, 95% [0.87, 1.17]

63 63 / %, 1.01, 1,,

64 64 / 82 1,,

65 65 / 82 2,,,,, +, binomial, logit, OK Estimate odds ratio

66 ( )1, logit(p ) =β + β x 1 + β x , P-value<0.01, α = 0.05, 66 / 82

67 ( )2, 0.78, 95% [0.67, 0.91] 67 / 82

68 68 / % 3.5% 3%, 0.8,,

69 69 / 82 2,,,,, (, ), ( ),,,

70 70 / 82,

71 , ( ), Ctrl+A, 71 / 82

72 72 / 82, ( ),,

73 73 / 82 [1] R +R R 6 : R Commander R [GUI R] R Commander ( ( )) [2] The R Commander: A Basic-Statistics GUI for R R Commander, [3] R-Tips ( ) [4] R ( ) [5] R Tips ( ) [6] ( )

74 74 / car Anscombe, OK

75 75 / 82 "Anscombe" 1970 (Anscombe FJ. Computing in Statistical Science Through APL. Springer-Verlag ) education ($) income ($) young 18 (1000 ) urban (1000 ); ( )

76 76 / 82,, OK

77 77 / 82

78 78 / 82, OK,

79 79 / 82

80 80 / 82 x ( ), y ( ),, OK

81 81 / 82

82 82 / 82, PDF...

SAS Enterprise Guideによるデータ解析入門

SAS Enterprise Guideによるデータ解析入門 ........ 1 / 70.... SAS Enterprise Guide Kengo NAGASHIMA Laboratory of Biostatistics, Department of Parmaceutical Technochemistry, Josai University 2010 11 16 ........ 2 / 70 (SAS / SAS Enterprise Guide

More information

7 / 70 8 / 70 SAS Enterprise Guide, Windows SAS, SAS,,,, SAS SAS Enterprise Guide SAS: SAS Enterprise Guide:, SAS SAS Enterprise Guide... 5 / 70 6 / 7

7 / 70 8 / 70 SAS Enterprise Guide, Windows SAS, SAS,,,, SAS SAS Enterprise Guide SAS: SAS Enterprise Guide:, SAS SAS Enterprise Guide... 5 / 70 6 / 7 3 / 70 4 / 70 SAS Enterprise Guide (SAS / SAS Enterprise Guide ) Kengo NAGASHIMA Laboratory of Biostatistics, Department of Parmaceutical Technochemistry, Josai University 2010 11 16 1 / 70 2 / 70 SAS

More information

R John Fox R R R Console library(rcmdr) Rcmdr R GUI Windows R R SDI *1 R Console R 1 2 Windows XP Windows * 2 R R Console R ˆ R

R John Fox R R R Console library(rcmdr) Rcmdr R GUI Windows R R SDI *1 R Console R 1 2 Windows XP Windows * 2 R R Console R ˆ R R John Fox 2006 8 26 2008 8 28 1 R R R Console library(rcmdr) Rcmdr R GUI Windows R R SDI *1 R Console R 1 2 Windows XP Windows * 2 R R Console R ˆ R GUI R R R Console > ˆ 2 ˆ Fox(2005) [email protected]

More information

SAS Enterprise Guideによるデータ解析入門

SAS Enterprise Guideによるデータ解析入門 1 / 83.. SAS Enterprise Guide.... Kengo NAGASHIMA Laboratory of Biostatistics, Department of Parmaceutical Technochemistry, Josai University 2011 11 15 2 / 83 (SAS / SAS Enterprise Guide ) SAS SAS (Statistical

More information

Rによる計量分析:データ解析と可視化 - 第2回 セットアップ

Rによる計量分析:データ解析と可視化 - 第2回 セットアップ R 2 2017 Email: [email protected] October 16, 2017 Outline 1 ( ) 2 R RStudio 3 4 R (Toyama/NIHU) R October 16, 2017 1 / 34 R RStudio, R PC ( ) ( ) (Toyama/NIHU) R October 16, 2017 2 / 34 R ( ) R

More information

1 2 Windows 7 *3 Windows * 4 R R Console R R Console ˆ R GUI R R R *5 R 2 R R R 6.1 ˆ 2 ˆ 2 ˆ Graphics Device 1 Rcmdr R Console R Rconsole R --sdi R M

1 2 Windows 7 *3 Windows * 4 R R Console R R Console ˆ R GUI R R R *5 R 2 R R R 6.1 ˆ 2 ˆ 2 ˆ Graphics Device 1 Rcmdr R Console R Rconsole R --sdi R M R John Fox and Milan Bouchet-Valat Version 2.0-1 2013 11 8 2013 11 11 1 R Fox 2005 R R Core Team, 2013 GUI R R R R R R R R R the Comprehensive R Archive Network (CRAN) R CRAN 6.4 R Windows R Rcmdr Mac

More information

2

2 2 485 1300 1 6 17 18 3 18 18 3 17 () 6 1 2 3 4 1 18 11 27 10001200 705 2 18 12 27 10001230 705 3 19 2 5 10001140 302 5 () 6 280 2 7 ACCESS WEB 8 9 10 11 12 13 14 3 A B C D E 1 Data 13 12 Data 15 9 18 2

More information

Rによるデータ解析入門

Rによるデータ解析入門 91 C R The R Project for Statistical Computing(http://www.r-project.org/) CRAN(Comprehensive R Archive Network) *1 *2 *3 OS R Mac OS X Windows Unix Linux(Debian Mandrake FedoraCore SUSE Vine) C.1 Mac OS

More information

1 911 9001030 9:00 A B C D E F G H I J K L M 1A0900 1B0900 1C0900 1D0900 1E0900 1F0900 1G0900 1H0900 1I0900 1J0900 1K0900 1L0900 1M0900 9:15 1A0915 1B0915 1C0915 1D0915 1E0915 1F0915 1G0915 1H0915 1I0915

More information

Plano-POS Ver1

Plano-POS Ver1 1 Quick Version2.0.0 Chapter1 Chapter1-1 Chapter2 Chapter2-1 Quick--------------------------------------------------------------P.7 -----------------------------------------------------------------------P.11

More information

1 ETC - 1 -

1 ETC - 1 - ******** ******** - 0 - 1 ETC - 1 - ( ) ( ) ( )( )31 ( ) ( ) - 2 - - 3 - MENU MENU Enter - 4 - 1 4 A 1 C D E J K L M - 5 - A C 1 ( ) ( ) - 6 - 1 3 A 1 C D E J K L M 1 ( ) ( ) - 7 - 1 1 1 1 1 2 1 1 2 2

More information

研修コーナー

研修コーナー l l l l l l l l l l l α α β l µ l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l l

More information

1 R Windows R 1.1 R The R project web R web Download [CRAN] CRAN Mirrors Japan Download and Install R [Windows 9

1 R Windows R 1.1 R The R project web   R web Download [CRAN] CRAN Mirrors Japan Download and Install R [Windows 9 1 R 2007 8 19 1 Windows R 1.1 R The R project web http://www.r-project.org/ R web Download [CRAN] CRAN Mirrors Japan Download and Install R [Windows 95 and later ] [base] 2.5.1 R - 2.5.1 for Windows R

More information

インターネットを活用した経済分析 - フリーソフト Rを使おう

インターネットを活用した経済分析 - フリーソフト Rを使おう R 1 1 1 2017 2 15 2017 2 15 1/64 2 R 3 R R RESAS 2017 2 15 2/64 2 R 3 R R RESAS 2017 2 15 3/64 2-4 ( ) ( (80%) (20%) 2017 2 15 4/64 PC LAN R 2017 2 15 5/64 R R 2017 2 15 6/64 3-4 R 15 + 2017 2 15 7/64

More information

untitled

untitled 1 All Rights Reserved,Copyright C (2000-2008) e-marketplace A HA e-ingbiz.com All Rights Reserved,Copyright C (2000-2008) 2 ( 3 All Rights Reserved,Copyright C (2000-2008) EXCEL BU EXCEL All Rights Reserved,Copyright

More information

山梨県ホームページ作成ガイドライン

山梨県ホームページ作成ガイドライン 17 7 ...1...4...4...4...4...5...5 W3C...5...6...6...6...7...8...8...10...10...10... 11...12...12...13...13...13...14...14...14...15...15...16...16...16...16...16...17...18 15 (2003 ) 69.7 81.1 43.6 19.6

More information

Kaplan-Meierプロットに付加情報を追加するマクロの作成

Kaplan-Meierプロットに付加情報を追加するマクロの作成 Kaplan-Meier 1, 2,3 1 2 3 A SAS macro for extended Kaplan-Meier plots Kengo Nagashima 1, Yasunori Sato 2,3 1 Department of Parmaceutical Technochemistry, Josai University 2 School of Medicine, Chiba University

More information

untitled

untitled PC Internet Explorer Windows SafariMac OS X Mozilla FireFoxWindows / Macintosh Google ChromeWindows / Macintosh IE + Google Windows 1 Internet Explorer 10.x (O)(A) Internet Explorer (O) (B) (B) (B) 2 Web

More information

KLCシリーズ インストール/セットアップ・ガイド

KLCシリーズ インストール/セットアップ・ガイド KORG Legacy Collection J 1 / 2 Windows XP Windows XP 1 2 Windows XP 3 4 5 6 3 / 7 8 4 Mac OS X Mac OS X 1 2 3 4 5 Mac OS X 6 5 / 7 8 6 USB / USB 1 2 USB 7 / 1 2 3 Windows Mac 4 1 Windows Mac 8 2 Windows

More information

1. 2. SRT100 3. QAC/TM 4. QAC/TM 5. QAC/TM 6. QAC/TM ( ) 7. [APPENDIX 1] [APPENDIX 2] QAC/TM Classification 2

1. 2. SRT100 3. QAC/TM 4. QAC/TM 5. QAC/TM 6. QAC/TM ( ) 7. [APPENDIX 1] [APPENDIX 2] QAC/TM Classification 2 SRT100 QAC/TM (Rev.10.00.49 ) 2010 1 Copyright (C) 2010 Trend Micro Incorporated. All rights reserved. TRENDMICRO 1. 2. SRT100 3. QAC/TM 4. QAC/TM 5. QAC/TM 6. QAC/TM ( ) 7. [APPENDIX 1] [APPENDIX 2] QAC/TM

More information

fiš„v8.dvi

fiš„v8.dvi (2001) 49 2 333 343 Java Jasp 1 2 3 4 2001 4 13 2001 9 17 Java Jasp (JAva based Statistical Processor) Jasp Jasp. Java. 1. Jasp CPU 1 106 8569 4 6 7; [email protected] 2 106 8569 4 6 7; [email protected]

More information

M4D6

M4D6 LYT1317-002B R 74 2 R 9 R 23 R 31 R 31 R 59 R 31 3 R 31 R 59 R 31 R 31 4 R 31 R 59 R 67 5 R 6 7 8 .................. 10...................... 11........................ 12..............................

More information

FileMaker Pro Tutorial

FileMaker Pro Tutorial FileMaker Pro 11 2007-2010 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker FileMaker, Inc. FileMaker, Inc. FileMaker FileMaker, Inc.

More information

できるん?! セキュリティ 〜ハードディスクの情報消去〜 改訂第三版

できるん?! セキュリティ 〜ハードディスクの情報消去〜 改訂第三版 Project TM R Project 1 7 1.1........................... 7 1.2.............................. 8 1.3..................... 8 1.4.............................. 9 1.5 wipe-out................... 9 2 10 2.1..............................

More information

QW-3414

QW-3414 MA1312-C P 1 2 3 A E L D E D A A E D A D D D D D E A C A C E D A A A C A C A C E E E D D D A C A C A A A A C A C A C E E C C E D D C C C E C E C C E C C C E D A C A C A C E L B B

More information

 

  21 2418:00 19:30 19 1 18 20 2 3 4 15 5 21 6 35 2006 2007 25 2008 110 1,000 30 40 19 75 100 600 7 10 37 12 55 17 55 20 70 13 1.5 9 10 14 FJ 15 18 19 20 8 24 29 9 12 23 22 23 10 24 25 14 26 2055 1.32 11

More information

Android Windows 8 AP 9 AP ios & Android 10 ST 11 ST ios 12 ST Android 13 ST Win & Mac 14 ST ios 15 ST Android

Android Windows 8 AP 9 AP ios & Android 10 ST 11 ST ios 12 ST Android 13 ST Win & Mac 14 ST ios 15 ST Android WiCounter Version 2.0 27 .. 2. 3. 2 4. 5. 6. 7 Android Windows 8 AP 9 AP ios & Android 10 ST 11 ST ios 12 ST Android 13 ST Win & Mac 14 ST ios 15 ST Android 16 17 18 19. 20 21 22 23 24 info ST 25 26 AP

More information

ソフトウェア Capture NX 2 クイックスタートガイド

ソフトウェア Capture NX 2 クイックスタートガイド Jp Capture NX 2 Capture NX 2 Capture NX 2 CD-ROM CD-ROM Windows Vista Ultimate Windows Mac OS Step1 Windows Capture NX 2 CD-ROM CD-ROM Mac OS Capture NX 2 CD-ROM CD-ROM Capture NX 2 Setup CD-ROM Capture

More information

Installation and New Features Guide for FileMaker Pro 10 and FileMaker Pro 10 Advanced

Installation and New Features Guide for FileMaker Pro 10 and FileMaker Pro 10 Advanced FileMaker FileMaker Pro 10 and FileMaker Pro 10 Advanced 2007-2009 FileMaker, Inc. All rights reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker Bento Bento FileMaker,

More information

Sequencher 4.9 Confidence score Clustal Clustal ClustalW Sequencher ClustalW Windows Macintosh motif confidence Sequencher V4.9 Trim Ends Without Prev

Sequencher 4.9 Confidence score Clustal Clustal ClustalW Sequencher ClustalW Windows Macintosh motif confidence Sequencher V4.9 Trim Ends Without Prev 2009 Gene Codes Corporation Gene Codes Corporation 775 Technology Drive, Ann Arbor, MI 48108 USA 1.800.497.4939 (USA) +1.734.769.7249 (elsewhere) +1.734.769.7074 (fax) www.genecodes.com [email protected]

More information

<30323334333697A796BD8AD991E58A77976C2D8CBE8CEA837083938374838C83628367945B956983665B835E2E706466>

<30323334333697A796BD8AD991E58A77976C2D8CBE8CEA837083938374838C83628367945B956983665B835E2E706466> 2Graduate School of Language Education and Information Science (LEIS) 3 4Graduate School of Language Education and Information Science (LEIS) 5 6Graduate School of Language Education and Information Science

More information

Microsoft PowerPoint - uniCMS操作マニュアル.ppt

Microsoft PowerPoint - uniCMS操作マニュアル.ppt -1- -2- -3- -4- -5- -6- [ ] -7- [ ] -8- [ ] [ ] 1 0 [ ] -9- [ ] -10- -11- -12- -13- -14- -15- -16- -17- -18- -19- -20- -21- ( ) -22- -23- -24- -25- -26- -27- -28- -29- -30- -31- menu menu -32- -33- -34-

More information

1...1 1...1 2...1 2.1...1 2.2...5 2.3...6 1...6 2...6 3...7 4...7 5...7 2.4...8 2...9 1...9 2... 10 2.1... 10 1... 10 2... 11 2.2... 12 1 2... 13 3... 18 4... 22 5... 23 6... 24 2.3... 34 1... 34 2...

More information

1. 2. SRT QAC/TM 4. QAC/TM 5. QAC/TM 6. QAC/TM ( ) 7. [APPENDIX 1] [APPENDIX 2] QAC/TM

1. 2. SRT QAC/TM 4. QAC/TM 5. QAC/TM 6. QAC/TM ( ) 7. [APPENDIX 1] [APPENDIX 2] QAC/TM SRT100 QAC/TM (Rev.10.00.46) 2009 8 Copyright (C) 2009 Trend Micro Incorporated. All rights reserved. TRENDMICRO 1. 2. SRT100 3. QAC/TM 4. QAC/TM 5. QAC/TM 6. QAC/TM ( ) 7. [APPENDIX 1] [APPENDIX 2] QAC/TM

More information

RubyWorld Conference 2011, Sep 5 2011 [6] 1 2 3 4-2SD -2SD -2SD -2SD [s] 56.9 68.8 33.7 36.6 27.1 29.1 22.5 24.0 21.8 20.5 22.9 22.3 24.3 24.0 24.4 24.2 [s] 101.9 115.1 85.2 92.8 57.1 62.9 42.5 46.3

More information

,, Poisson 3 3. t t y,, y n Nµ, σ 2 y i µ + ɛ i ɛ i N0, σ 2 E[y i ] µ * i y i x i y i α + βx i + ɛ i ɛ i N0, σ 2, α, β *3 y i E[y i ] α + βx i

,, Poisson 3 3. t t y,, y n Nµ, σ 2 y i µ + ɛ i ɛ i N0, σ 2 E[y i ] µ * i y i x i y i α + βx i + ɛ i ɛ i N0, σ 2, α, β *3 y i E[y i ] α + βx i Armitage.? SAS.2 µ, µ 2, µ 3 a, a 2, a 3 a µ + a 2 µ 2 + a 3 µ 3 µ, µ 2, µ 3 µ, µ 2, µ 3 log a, a 2, a 3 a µ + a 2 µ 2 + a 3 µ 3 µ, µ 2, µ 3 * 2 2. y t y y y Poisson y * ,, Poisson 3 3. t t y,, y n Nµ,

More information

オンラインによる 「電子申告・納税等開始(変更等)届出書」 提出方法

オンラインによる 「電子申告・納税等開始(変更等)届出書」 提出方法 18 2 1 OS 2 OS WWW OS Windows 2000 Professional Windows XP (Home Edition) Windows XP (Professional Edition) WWW Microsoft Internet Explorer 6.0 Windows 98 Windows Me WindowsNT OS e-tax 3 Internet Explorer

More information