DATA Sample1 /**/ INPUT Price /* */ DATALINES

Size: px
Start display at page:

Download "DATA Sample1 /**/ INPUT Price /* */ DATALINES"

Transcription

1 3180, 3599, 3280, 2980, 3500, 3099, 3200, 2980, 3380, 3780, 3199, 2979, 3680, 2780, 2950, 3180, 3200, 3100, 3780, 3200

2 DATA Sample1 /**/ INPUT Price /* */ DATALINES /* TTEST*/ PROC TTEST DATA=Sample1 H0=3000 ALPHA=0.10 /* VAR*/ VAR Price TTEST Price N Price Price t t Pr > t Price /* SAS*/ DATA Stat_for_Sample1 INPUT _STAT_$ Price DATALINES N 20 MEAN STD /* TTEST*/ PROC TTEST DATA=Stat_for_Sample1 H0=3000 ALPHA=0.10 VAR Price

3 /* SAS*/ PROC UNIVARIATE DATA=Sample1 MU0=3000 VAR Price H0: Mu0= p Student t t Pr > t M 5 Pr >= M S 82 Pr >= S DATA Sample2 /* */ INPUT Before After DATALINES /* TTESTt*/ PROC TTEST DATA=Sample2 /* PAIRED2*/ PAIRED After*Before TTEST After - Before After - Before After - Before After - Before N t t Pr > t

4 DATA Sample2_Diff SET Sample2 Difference=Before-After /* */ /* UNIVARIATE*/ PROC UNIVARIATE DATA=Sample2_Diff VAR Difference DATA Sample3 /* SASSample3*/ INPUT Method$ DATALINES A 66 A 64 A 63 A 74 A 60 A 58 A 75 A 48 A 80 A 75 A 51 A 48 A 69 A 45 A 75 B 84 B 90 B 67 B 91 B 72 B 68 B 86 B 50 B 61 B 65 B 96 B 89 B 83 B 78 B 71 B 65 /* BOXPLOT*/ PROC BOXPLOT DATA=Sample3 PLOT *Method / BOXSTYLE=SCHEMATIC /* TTEST*/ PROC TTEST DATA=Sample3 /* CLASS*/ CLASS Method VAR /* VAR*/ Method N A B Diff (1-2) Method A B Diff(1-2) Method A B Diff(1-2)

5 t Pooled Equal 29 Satterthwaite Unequal 28.9 Folded F t Pr > t F Pr > F DATA Stat_for_Sample3 INPUT Method$ _STAT_$ DATALINES A N 15 A MEAN 63.4 A STD B N 16 B MEAN 76 B STD /* TTEST*/ PROC TTEST DATA=Stat_for_Sample3 CLASS Method VAR

6 DATA Sample4 /* */ INPUT Event$ DATALINES Head Tail Head Head Tail Tail Tail Head Tail Tail Tail Tail Head Head Tail Head Tail Tail Head Tail PROC FREQ DATA=Sample4 /* FREQ*/ TABLES Event /BINOMIAL(LEVEL="Head" P=0.5) FREQ Event Head Tail Event = Head % 95% % % H0: = Z Pr < Z Pr > Z = 20 PROC FREQ DATA=Sample4 TABLES Event /BINOMIAL(LEVEL="Head" P=0.5) EXACT BINOMIAL /* EXACT*/

7 H0: = Z Pr < Z Pr > Z Pr <= P = 2 * = 20 DATA Sample5 /* */ INPUT Event$ Frequency DATALINES Head 8 Tail 12 PROC FREQ DATA=Sample5 TABLES Event /BINOMIAL(LEVEL="Head" P=0.5) EXACT BINOMIAL WEIGHT Frequency /* WEIGHT*/ PROC FORMAT /* FORMAT*/ VALUE Approve 1="" 2="" DATA Sample6 INPUT Last_Year This_Year Freq FORMAT Last_Year This_Year Approve. DATALINES PROC FREQ DATA=Sample6 /* AGREE*/ TABLES Last_Year*This_Year / AGREE EXACT MCNEM WEIGHT Freq Last_Year * This_Year McNemar (S) Pr > S Pr >= S

8 DATA Sample7 /* */ INPUT Sex$ Answer$ Cnt DATALINES Female Yes 18 Female _No 12 Male Yes 14 Male _No 16 PROC FREQ DATA=Sample7 TABLES Sex*Answer / CHISQ /* CHISQ*/ WEIGHT Cnt Sex * Answer Mantel-Haenszel Cramer V

9

10 /* MAUTOLOCDISPLAY */ OPTIONS MAUTOLOCDISPLAY %LET x=%trim(abc) 1 OPTIONS MAUTOLOCDISPLAY 2 %LET x=%trim(abc) MAUTOLOCDISPLAY(TRIM): C: Program Files SAS SAS 9.1 core sasmacro trim.sas =0 >0 <0 FILENAME myfile "C: myfile.txt" %MACRO chk(filenm) %IF %SYSFUNC(FILEREF(&filenm))=0 %THEN %PUT "FILENAME &filenm " %ELSE %IF %sysfunc(fileref(&filenm))>0 %THEN %PUT "FILENAME &filenm " %ELSE %IF %SYSFUNC(FILEREF(&filenm))<0 %THEN %PUT "FILENAME &filenm " %MEND %chk(myfile) LEFTMARGIN : RIGHTMARGIN : TOPMARGIN : BOTTOMMARGIN : PROC TEMPLATE DEFINE STYLE styles.test PARENT=styles.rtf STYLE BODY FROM DOCUMENT/ LEFTMARGIN=3in/**/ RIGHTMARGIN=2.5in /**/ TOPMARGIN=2.5in/**/ BOTTOMMARGIN=2.5in/**/ END /*TEMPLATE*/ ODS RTF FILE="c: temp test.rtf" STYLE=styles.test

11 OPTIONS NONOTES ODS LISTING CLOSE /* */ < > ODS LISTING /* */ ODS NORESULTS /* GDEVICE0 */ LIBNAME GDEVICE0 'D: sasdev gdev' /* */ PROC CATALOG C=SASHELP.DGDEVICE /* CGMMW6C */ COPY OUT=GDEVICE0.DEVICES SELECT CGMMW6C / ET=DEV QUIT

12 PROC NLP TECH=NONE PHESSIAN PARMS x= , y= f=2*sin(x)*(cos(y)+1) MAX f PROC IML START func(x) f=2*sin(x[1])*(cos(x[2])+1) RETURN(f) FINISH x0={ } CALL NLPFDD(f,g,h,"func",x0)/* f*/ /* gh 2*/ PRINT g h QUIT

13

14

15

16

H22 BioS (i) I treat1 II treat2 data d1; input group patno treat1 treat2; cards; ; run; I

H22 BioS (i) I treat1 II treat2 data d1; input group patno treat1 treat2; cards; ; run; I H BioS (i) I treat II treat data d; input group patno treat treat; cards; 8 7 4 8 8 5 5 6 ; run; I II sum data d; set d; sum treat + treat; run; sum proc gplot data d; plot sum * group ; symbol c black

More information

Autumn 2005 1 9 13 14 16 16 DATA _null_; SET sashelp.class END=eof; FILE 'C: MyFiles class.txt'; /* */ PUT name sex age; IF eof THEN DO; FILE LOG; /* */ PUT '*** ' _n_ ' ***'; END; DATA _null_;

More information

DATA test; /** **/ INPUT score DATALINES; ; PROC MEANS DATA=test; /** DATA= **/ VAR sc

DATA test; /** **/ INPUT score DATALINES; ; PROC MEANS DATA=test; /** DATA= **/ VAR sc 70 80 43 63 20 71 77 31 24 21 DATA test; /** **/ INPUT score @@; DATALINES; 70 80 43 63 20 71 77 31 24 21 ; PROC MEANS DATA=test; /** DATA= **/ VAR score; /** **/ RUN ; MEANS : score N ------------------------------------------------------------

More information

ODS GRAPHICS ON; ODS GRAPHICS ON; PROC TTEST DATA=SASHELP.CLASS SIDE=2 DIST=NORMAL H0=58 PLOTS(ONLY SHOWH0)=(SUMMARY); VAR HEIGHT;

ODS GRAPHICS ON; ODS GRAPHICS ON; PROC TTEST DATA=SASHELP.CLASS SIDE=2 DIST=NORMAL H0=58 PLOTS(ONLY SHOWH0)=(SUMMARY); VAR HEIGHT; Summer 2009 1 8 12 14 16 16 16 ODS GRAPHICS ON; ODS GRAPHICS ON; PROC TTEST DATA=SASHELP.CLASS SIDE=2 DIST=NORMAL H0=58 PLOTS(ONLY SHOWH0)=(SUMMARY); VAR HEIGHT; PROC SGPLOT DATA=SASHELP.PRDSALE; HBAR

More information

5 Armitage x 1,, x n y i = 10x i + 3 y i = log x i {x i } {y i } 1.2 n i i x ij i j y ij, z ij i j 2 1 y = a x + b ( cm) x ij (i j )

5 Armitage x 1,, x n y i = 10x i + 3 y i = log x i {x i } {y i } 1.2 n i i x ij i j y ij, z ij i j 2 1 y = a x + b ( cm) x ij (i j ) 5 Armitage. x,, x n y i = 0x i + 3 y i = log x i x i y i.2 n i i x ij i j y ij, z ij i j 2 y = a x + b 2 2. ( cm) x ij (i j ) (i) x, x 2 σ 2 x,, σ 2 x,2 σ x,, σ x,2 t t x * (ii) (i) m y ij = x ij /00 y

More information

PROC OPTIONS; NOTE: XXXXXXXXSASV8.2 SASV9.1 SASV9.1 LIBNAME source ""; LIBNAME target V9 ""; PROC MIGRATE IN=source OUT=target ; RUN ; LIBNAME v8lib V8 "d: saslib v8lib"; LIBNAME v9lib V9 "d: saslib

More information

Dim obwsmgr As New SASWorkspaceManager. WorkspaceManager Dim errstring As String Set obws = obwsmgr.workspaces.createworkspacebyserver( _ "My workspace", VisibilityProcess, Nothing, _ "", "", errstring)

More information

technews2012autumn

technews2012autumn For Higher Customer Satisfaction, We Bridge the SAS System Between Customer s World. SPRING 2013 L Ext SAS 9.3 for Windows 02 SPRING 2013 1 SAS terms SPRING 2013 03 2 User account net localgroup Administrators

More information

1

1 DATA temp SET sashelp.class(where=(sex='m')) FORMAT=weight 8.2 RUN 28 DATA temp 29 SET sashelp.class(where=(sex='m')) NOTE: SCL 30 FORMAT=weight 8.2 --- 22 ERROR 22-322: 1 :,!!, &, *, **, +, -, /,

More information

Autumn 2007 1 5 8 12 14 14 15 %!SASROOT/sassetup SAS Installation Setup Welcome to SAS Setup, the program used to install and maintain your SAS software. SAS Setup guides you through a series of menus

More information

untitled

untitled Summer 2008 1 7 12 14 16 16 16 SAS Academic News B-8 4 B-9 6 B-11 7 B-15 10 DATA _NULL_; dlm=","; char1="" char2="" char3="15" char4="a",,15,a results=catx(dlm, OF char1-char4); PUT results; DATA

More information

1.eps

1.eps PROC SORT DATA=SortData OUT=OutData NOEQUALS; BY DESCENDING group; /* group*/ /* */ DATA MeansData1; INPUT x y; DATALINES; 2 5 4 6 1 9 3 12 ; /* MEANS */ PROC MEANS DATA=MeansData1 MEAN MEDIAN SUM; VAR

More information

001

001 /* V8SAS*/ libname v8lib '/sasdata'; /* SASSPDSSPD Server */ /* */ libname spdlib sasspds 'tmp' server=spdsrv.5150 user='spduser' password='xxxxxx'; /* */ proc copy in=v8lib out=spdlib; run; libname=tmp

More information

3 4 2

3 4 2 A Comparison of SAS Functions Designed for Creating Excel Output in a Stand-alone Environment and a BI Environment. Koichi Satoh Takumi Information Technology Co., Ltd. ODS EXCELXP ODS HTML ODS CSVALL

More information

2 H23 BioS (i) data d1; input group patno t sex censor; cards;

2 H23 BioS (i) data d1; input group patno t sex censor; cards; H BioS (i) data d1; input group patno t sex censor; cards; 0 1 0 0 0 0 1 0 1 1 0 4 4 0 1 0 5 5 1 1 0 6 5 1 1 0 7 10 1 0 0 8 15 0 1 0 9 15 0 1 0 10 4 1 0 0 11 4 1 0 1 1 5 1 0 1 1 7 0 1 1 14 8 1 0 1 15 8

More information

SAS(Statistical Analysis System)とは

SAS(Statistical Analysis System)とは SAS 講 習 会 資 料 SAS(Statistical Analysis System)とは 1) 統 計 解 析 パッケージの1つ 他 に SPSS, BMDP など 2) 統 計 手 法 が 豊 富 で 先 進 的 医 薬 系 で 多 く 使 われている 3)データハンドリングが 柔 軟 で 容 易 4)グラフ 機 能 が 優 れている 5) 記 述 言 語 が 簡 潔 で 容 易 Page

More information

libref libref libref

libref libref libref Spring 2009 1 6 11 14 16 16 libref libref libref LIBNAME '; LIBNAME '; PROC MIGRATE IN=source OUT=target ; : c: saslib source : source : c: saslib target : target ERROR: File TARGET.XXXXX (memtype=zzzz)

More information

スライド 1

スライド 1 SAS による二項比率の差の非劣性検定の正確な方法について 武藤彬正宮島育哉榊原伊織株式会社タクミインフォメーションテクノロジー Eact method of non-inferiority test for two binomial proportions using SAS Akimasa Muto Ikuya Miyajima Iori Sakakibara Takumi Information

More information

Exam : A JPN Title : SAS Base Programming for SAS 9 Vendor : SASInstitute Version : DEMO Get Latest & Valid A JPN Exam's Question and Answ

Exam : A JPN Title : SAS Base Programming for SAS 9 Vendor : SASInstitute Version : DEMO Get Latest & Valid A JPN Exam's Question and Answ Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : A00-211-JPN Title : SAS Base Programming for SAS 9 Vendor : SASInstitute Version : DEMO Get Latest &

More information

PROC PWENCODE IN=sastrust1 ; RUN ;

PROC PWENCODE IN=sastrust1 ; RUN ; PROC PWENCODE IN=sastrust1 ; RUN ; 1 PROC PWENCODE IN="sastrust1" ; 2 RUN ; {sas001}c2fzdhj1c3qx /* */ LIBNAME audit 'Lev1 SASMain MetadataServer audit repos1'; /* ID */ PROC PRINT DATA=audit.person; VAR

More information

Presentation Title Goes Here

Presentation  Title Goes Here SAS 9: (reprise) SAS Institute Japan Copyright 2004, SAS Institute Inc. All rights reserved. Greetings, SAS 9 SAS 9.1.3 Copyright 2004, SAS Institute Inc. All rights reserved. 2 Informations of SAS 9 SAS

More information

(iii) x, x N(µ, ) z = x µ () N(0, ) () 0 (y,, y 0 ) (σ = 6) *3 0 y y 2 y 3 y 4 y 5 y 6 y 7 y 8 y 9 y ( ) *4 H 0 : µ

(iii) x, x N(µ, ) z = x µ () N(0, ) () 0 (y,, y 0 ) (σ = 6) *3 0 y y 2 y 3 y 4 y 5 y 6 y 7 y 8 y 9 y ( ) *4 H 0 : µ t 2 Armitage t t t χ 2 F χ 2 F 2 µ, N(µ, ) f(x µ, ) = ( ) exp (x µ)2 2πσ 2 2 0, N(0, ) (00 α) z(α) t * 2. t (i)x N(µ, ) x µ σ N(0, ) 2 (ii)x,, x N(µ, ) x = x + +x ( N µ, σ2 ) (iii) (i),(ii) x,, x N(µ,

More information

診療ガイドライン外来編2014(A4)/FUJGG2014‐01(大扉)

診療ガイドライン外来編2014(A4)/FUJGG2014‐01(大扉) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

More information

スライド 1

スライド 1 SASによる二項比率における正確な信頼区間の比較 原茂恵美子 1) 武藤彬正 1) 宮島育哉 2) 榊原伊織 2) 1) 株式会社タクミインフォメーションテクノロジーシステム開発推進部 2) 株式会社タクミインフォメーションテクノロジービジネスソリューション部 Comparison of Five Exact Confidence Intervals for the Binomial Proportion

More information

H22 BioS t (i) treat1 treat2 data d1; input patno treat1 treat2; cards; ; run; 1 (i) treat = 1 treat =

H22 BioS t (i) treat1 treat2 data d1; input patno treat1 treat2; cards; ; run; 1 (i) treat = 1 treat = H BioS t (i) treat treat data d; input patno treat treat; cards; 3 8 7 4 8 8 5 5 6 3 ; run; (i) treat treat data d; input group patno period treat y; label group patno period ; cards; 3 8 3 7 4 8 4 8 5

More information

SAS Web XML * ** * ** Web Data Analysis with SAS Input and Output of XML Data and Application to Real Estate Valuation Map Junnosuke Matsushima*, Hiro

SAS Web XML * ** * ** Web Data Analysis with SAS Input and Output of XML Data and Application to Real Estate Valuation Map Junnosuke Matsushima*, Hiro SAS Web XML * ** * ** Web Data Analysis with SAS Input and Output of XML Data and Application to Real Estate Valuation Map Junnosuke Matsushima*, Hiroshi Ishijima**, Ikue Watanabe *Clinical Research Planning

More information

スライド 1

スライド 1 61 SAS SAS LOHAS 18 18 12 01 LOHAS ( ) ( ) LOHAS 29% 35% LOHAS LOHAS 18 5 20 60 GMO 500 Yes No Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 Q19 Q20 Q21 Q22 Q23 Q24 LOHAS Q25 LOHAS / 2

More information

データ構造の作成 一時 SAS データセットと永久 SAS データセットの作成 テキストファイルから SAS データセットを作成するための DATA ステップの使用例 : Data NewData; Infile "path.rawdata"; Input <pointer-control> var

データ構造の作成 一時 SAS データセットと永久 SAS データセットの作成 テキストファイルから SAS データセットを作成するための DATA ステップの使用例 : Data NewData; Infile path.rawdata; Input <pointer-control> var SAS Base Programming for SAS 9 データへのアクセス フォーマット入力とリスト入力を使用したローデータ ファイルの読み込み 文字データと数値データ 標準と非標準の数値データの識別文字および 標準 非標準の固定長データを読み取るための フォーマット入力のINPUTステートメントの使用 :INPUT 変数名入力形式 ; 文字および 標準 非標準のフリーフォーマットデータを読み込むための

More information

t sex N y y y Diff (1-2)

t sex N y y y Diff (1-2) Armitage 1 1.1 2 t 1.2 SAS Proc GLM 2 2.1 1 1 2.1.1 50 1 1 t sex N y 50 116.45 119.6 122.75 11.071 1.5657 93.906 154.32 y 50 127.27 130.7 134.13 12.072 1.7073 102.68 163.37 y Diff (1-2) -15.7-11.1-6.504

More information

Slide 1

Slide 1 ODS 統 計 グラフ 機 能 を 用 いたグラフの 作 成 SAS Institute Japan 株 式 会 社 プロフェッショナルサービス 本 部 テクニカルサポート 部 深 澤 武 志 Copyright 2010 SAS Institute Inc. All rights reserved. 目 次 ODSとは ODS 統 計 グラフのご 紹 介 ODSテンプレートに 関 して ODS 統

More information

Microsoft Word - sample_adv-programming.docx

Microsoft Word - sample_adv-programming.docx サンプル問題 以下のサンプル問題は包括的ではなく 必ずしも試験を構成するすべての種類の問題を表すとは限りません 問題は 個人が認定試験を受ける準備ができているかどうかを評価するためのものではありません SAS Advanced Programming for SAS 9 問題 1 次の SAS データセット ONE と TWO があります proc sql; select one.*, sales

More information

1 I EViews View Proc Freeze

1 I EViews View Proc Freeze EViews 2017 9 6 1 I EViews 4 1 5 2 10 3 13 4 16 4.1 View.......................................... 17 4.2 Proc.......................................... 22 4.3 Freeze & Name....................................

More information

!!! 2!

!!! 2! 2016/5/17 (Tue) SPSS (mugiyama@l.u-tokyo.ac.jp)! !!! 2! 3! 4! !!! 5! (Population)! (Sample) 6! case, observation, individual! variable!!! 1 1 4 2 5 2 1 5 3 4 3 2 3 3 1 4 2 1 4 8 7! (1) (2) (3) (4) categorical

More information

Pinnacle 21: ADaM データセットや Define.xml の CDISC 準拠状況をチェックするツール 本発表で言及している Pinnacle: Enterprise version ( 有償版 ) Community version ( 無償版 ) 本発表で

Pinnacle 21: ADaM データセットや Define.xml の CDISC 準拠状況をチェックするツール 本発表で言及している Pinnacle: Enterprise version ( 有償版 ) Community version ( 無償版 ) 本発表で Pinnacle 21 Community の ADaM チェック機能を補完する XML Mapping を使用したプログラムの紹介 西岡宏 ( シミック株式会社 統計解析部 ) A Program with XML Mapping to Make up ADaM Checking Function of Pinnacle 21 Community Hiroshi Nishioka Statistical

More information

α β *2 α α β β α = α 1 β = 1 β 2.2 α 0 β *3 2.3 * *2 *3 *4 (µ A ) (µ P ) (µ A > µ P ) 10 (µ A = µ P + 10) 15 (µ A = µ P +

α β *2 α α β β α = α 1 β = 1 β 2.2 α 0 β *3 2.3 * *2 *3 *4 (µ A ) (µ P ) (µ A > µ P ) 10 (µ A = µ P + 10) 15 (µ A = µ P + Armitage 1 1.1 2 t *1 α β 1.2 µ x µ 2 2 2 α β 2.1 1 α β α ( ) β *1 t t 1 α β *2 α α β β α = α 1 β = 1 β 2.2 α 0 β 1 0 0 1 1 5 2.5 *3 2.3 *4 3 3.1 1 1 1 *2 *3 *4 (µ A ) (µ P ) (µ A > µ P ) 10 (µ A = µ P

More information

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó 2 2015 4 20 1 (4/13) : ruby 2 / 49 2 ( ) : gnuplot 3 / 49 1 1 2014 6 IIJ / 4 / 49 1 ( ) / 5 / 49 ( ) 6 / 49 (summary statistics) : (mean) (median) (mode) : (range) (variance) (standard deviation) 7 / 49

More information

init: /**/ call notify(., _get_widget_, graph1, graphid); return; graph1: /**/ title1=getnitemc(graphid, title1 ); /**/ call display( title.frame, tit

init: /**/ call notify(., _get_widget_, graph1, graphid); return; graph1: /**/ title1=getnitemc(graphid, title1 ); /**/ call display( title.frame, tit init: /**/ call notify(., _get_widget_, graph1, graphid); return; graph1: /**/ title1=getnitemc(graphid, title1 ); /**/ call display( title.frame, title1); /**/ call notify( graph1, _set_title_, 1, title1);

More information

ODSチュートリアルの紹介

ODSチュートリアルの紹介 ODS チュートリアルの紹介 SAS Output Delivery System[ODS ODS] ] Quick Tips Sunday,May 7,2000 8:30-12:00 三共株式会社高野浩布中外製薬株式会社辻隆信 報告内容 1. チュートリアルの紹介 SAS/Version 8 ODS についてテクニカルな話でなく 感想などを中心に 2. おまけ SAS/Version 6 ODS

More information

Proc luaを初めて使ってみた -SASでの処理を条件に応じて変える- 淺井友紀 ( エイツーヘルスケア株式会社 ) I tried PROC LUA for the first time Tomoki Asai A2 Healthcare Corporation

Proc luaを初めて使ってみた -SASでの処理を条件に応じて変える- 淺井友紀 ( エイツーヘルスケア株式会社 ) I tried PROC LUA for the first time Tomoki Asai A2 Healthcare Corporation Proc luaを初めて使ってみた -SASでの処理を条件に応じて変える- 淺井友紀 ( エイツーヘルスケア株式会社 ) I tried PROC LUA for the first time Tomoki Asai A2 Healthcare Corporation 要旨 : 実行されるコードを分岐 繰り返すためには SAS マクロが用いられてきた 本発表では SAS マクロではなく Proc Lua

More information

y = x 4 y = x 8 3 y = x 4 y = x 3. 4 f(x) = x y = f(x) 4 x =,, 3, 4, 5 5 f(x) f() = f() = 3 f(3) = 3 4 f(4) = 4 *3 S S = f() + f() + f(3) + f(4) () *4

y = x 4 y = x 8 3 y = x 4 y = x 3. 4 f(x) = x y = f(x) 4 x =,, 3, 4, 5 5 f(x) f() = f() = 3 f(3) = 3 4 f(4) = 4 *3 S S = f() + f() + f(3) + f(4) () *4 Simpson H4 BioS. Simpson 3 3 0 x. β α (β α)3 (x α)(x β)dx = () * * x * * ɛ δ y = x 4 y = x 8 3 y = x 4 y = x 3. 4 f(x) = x y = f(x) 4 x =,, 3, 4, 5 5 f(x) f() = f() = 3 f(3) = 3 4 f(4) = 4 *3 S S = f()

More information

要旨 : SAS9.4 より Output Derivery System( 以下 ODS) に追加された Report Writing Interface( 以下 RWI) を使用して HTML 形式のレポート作成の実用性と可能性について検討する なお HTML 出力には タグの綺麗さから ODS

要旨 : SAS9.4 より Output Derivery System( 以下 ODS) に追加された Report Writing Interface( 以下 RWI) を使用して HTML 形式のレポート作成の実用性と可能性について検討する なお HTML 出力には タグの綺麗さから ODS Report Writing Interface による HTML 形式レポート作成の検討 望戸遼 ( イーピーエス株式会社 ) Output HTML Report by Report Writing Interface Mouko Ryo Statistics Analysis Deportment I, EPS Corporation 要旨 : SAS9.4 より Output Derivery

More information

DAA09

DAA09 > summary(dat.lm1) Call: lm(formula = sales ~ price, data = dat) Residuals: Min 1Q Median 3Q Max -55.719-19.270 4.212 16.143 73.454 Coefficients: Estimate Std. Error t value Pr(> t ) (Intercept) 237.1326

More information

(CC Attribution) Lisp 2.1 (Gauche )

(CC Attribution) Lisp 2.1 (Gauche ) http://www.flickr.com/photos/dust/3603580129/ (CC Attribution) Lisp 2.1 (Gauche ) 2 2000EY-Office 3 4 Lisp 5 New York The lisps Sammy Tunis flickr lisp http://www.flickr.com/photos/dust/3603580129/ (CC

More information

2 3

2 3 Sample 2 3 4 5 6 7 8 9 3 18 24 32 34 40 45 55 63 70 77 82 96 118 121 123 131 143 149 158 167 173 187 192 204 217 224 231 17 285 290 292 1 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38

More information

2013.1 POINT 48% 6% 17% 19% 10% Plus ECO 11,500 59,420 70,920 ,, -- Plus Clean 1. 2. 3. Plus Comfort 60 Plus 110dB 100dB 90dB 80dB 70dB 60dB 50dB 40dB 40dB Quiet POINT 1 POINT 2 POINT 3 Plus Beauty

More information

untitled

untitled 146,650 168,577 116,665 122,915 22,420 23,100 7,564 22,562 140,317 166,252 133,581 158,677 186 376 204 257 5,594 6,167 750 775 6,333 2,325 298 88 5,358 756 1,273 1,657 - - 23,905 23,923 1,749 489 1,309

More information

Web XXX.XXX.XXX.XXX - - [02/May/2010:12:52: ] "GET /url/url2/page2.htm HTTP/1.1" "http://www.domain.co.jp/url/url2/page1.htm" "(compatibl

Web XXX.XXX.XXX.XXX - - [02/May/2010:12:52: ] GET /url/url2/page2.htm HTTP/1.1 http://www.domain.co.jp/url/url2/page1.htm (compatibl Web Web-Site Analytics Fukuoka Financial Group, Inc. Mahiru Sunaga SAS Institute Japan Ltd. Kiyoshi Murakami (Combind log format) Apache Web 2 1 Web XXX.XXX.XXX.XXX - - [02/May/2010:12:52:55 +0900] "GET

More information

UNIX版SAS/Warehouse Administrator ソフトウェア

UNIX版SAS/Warehouse Administrator ソフトウェア UNIX 版 SAS/Warehouse Administrator ソフトウェア インストレーションガイド Version 1.3 序文 UNIX SAS/Warehouse Administrator 1.3 UNIX SAS/Warehouse Administrator 1.3 1998 12 SAS SAS CPU i ii 目次 第 1 章インストールを始める前に.........1

More information

program.dvi

program.dvi 2001.06.19 1 programming semi ver.1.0 2001.06.19 1 GA SA 2 A 2.1 valuename = value value name = valuename # ; Fig. 1 #-----GA parameter popsize = 200 mutation rate = 0.01 crossover rate = 1.0 generation

More information

<4D F736F F F696E74202D204D C982E682E892B290AE82B582BD838A E8DB782CC904D978A8BE68AD482C98AD682B782E988EA8D6C8E402E >

<4D F736F F F696E74202D204D C982E682E892B290AE82B582BD838A E8DB782CC904D978A8BE68AD482C98AD682B782E988EA8D6C8E402E > SAS ユーザー総会 2017 Mantel-Haenszel 法により調整したリスク差の信頼区間に関する一考察 武田薬品工業株式会社日本開発センター生物統計室佐々木英麿 舟尾暢男 要旨 Mantel-Haenszel 法により調整したリスク差に関する以下の信頼区間の算出方法を紹介し 各信頼区間の被覆確率をシミュレーションにより確認することで性能評価を行う Greenland 信頼区間 Sato 信頼区間

More information

P-12 P-13 3 4 28 16 00 17 30 P-14 P-15 P-16 4 14 29 17 00 18 30 P-17 P-18 P-19 P-20 P-21 P-22

P-12 P-13 3 4 28 16 00 17 30 P-14 P-15 P-16 4 14 29 17 00 18 30 P-17 P-18 P-19 P-20 P-21 P-22 1 14 28 16 00 17 30 P-1 P-2 P-3 P-4 P-5 2 24 29 17 00 18 30 P-6 P-7 P-8 P-9 P-10 P-11 P-12 P-13 3 4 28 16 00 17 30 P-14 P-15 P-16 4 14 29 17 00 18 30 P-17 P-18 P-19 P-20 P-21 P-22 5 24 28 16 00 17 30 P-23

More information

Microsoft PowerPoint - SUGI2011_EPS_Konno.ppt

Microsoft PowerPoint - SUGI2011_EPS_Konno.ppt ODS RTFとREPORTプロシジャを 用 いた 一 覧 表 の 出 力 今 野 聡 イーピーエス 株 式 会 社 統 計 解 析 1 部 How to create lists by using ODS RTF / REPORT procedure. Satoshi Konno Statistics Analysis Division 1, EPS Co., Ltd. SAS9.2 ODS RTF

More information

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó 2 212 4 13 1 (4/6) : ruby 2 / 35 ( ) : gnuplot 3 / 35 ( ) 4 / 35 (summary statistics) : (mean) (median) (mode) : (range) (variance) (standard deviation) 5 / 35 (mean): x = 1 n (median): { xr+1 m, m = 2r

More information

Microsoft Word - StatsDirectMA Web ver. 2.0.doc

Microsoft Word - StatsDirectMA Web ver. 2.0.doc Web version. 2.0 15 May 2006 StatsDirect ver. 2.0 15 May 2006 2 2 2 Meta-Analysis for Beginners by using the StatsDirect ver. 2.0 15 May 2006 Yukari KAMIJIMA 1), Ataru IGARASHI 2), Kiichiro TSUTANI 2)

More information

DATA telnum INPUT telnum $12. /* - */ IF VERIFY(TRIM(telnum),'0123456789-')=0 CARDS 33-3343-4331 43-3323-1323 433-323-1323 33-3343-433X DATA telnum2 S

DATA telnum INPUT telnum $12. /* - */ IF VERIFY(TRIM(telnum),'0123456789-')=0 CARDS 33-3343-4331 43-3323-1323 433-323-1323 33-3343-433X DATA telnum2 S Autumn 2004 Autumn 2004 1 8 14 15 16 16 DATA telnum INPUT telnum $12. /* - */ IF VERIFY(TRIM(telnum),'0123456789-')=0 CARDS 33-3343-4331 43-3323-1323 433-323-1323 33-3343-433X DATA telnum2 SET telnum /*

More information

Stata User Group Meeting in Kyoto / ( / ) Stata User Group Meeting in Kyoto / 21

Stata User Group Meeting in Kyoto / ( / ) Stata User Group Meeting in Kyoto / 21 Stata User Group Meeting in Kyoto / 2017 9 16 ( / ) Stata User Group Meeting in Kyoto 2017 9 16 1 / 21 Rosenbaum and Rubin (1983) logit/probit, ATE = E [Y 1 Y 0 ] ( / ) Stata User Group Meeting in Kyoto

More information

一般演題(ポスター)

一般演題(ポスター) 6 5 13 : 00 14 : 00 A μ 13 : 00 14 : 00 A β β β 13 : 00 14 : 00 A 13 : 00 14 : 00 A 13 : 00 14 : 00 A β 13 : 00 14 : 00 A β 13 : 00 14 : 00 A 13 : 00 14 : 00 A β 13 : 00 14 : 00 A 13 : 00 14 : 00 A

More information

9 8 7 (x-1.0)*(x-1.0) *(x-1.0) (a) f(a) (b) f(a) Figure 1: f(a) a =1.0 (1) a 1.0 f(1.0)

9 8 7 (x-1.0)*(x-1.0) *(x-1.0) (a) f(a) (b) f(a) Figure 1: f(a) a =1.0 (1) a 1.0 f(1.0) E-mail: takio-kurita@aist.go.jp 1 ( ) CPU ( ) 2 1. a f(a) =(a 1.0) 2 (1) a ( ) 1(a) f(a) a (1) a f(a) a =2(a 1.0) (2) 2 0 a f(a) a =2(a 1.0) = 0 (3) 1 9 8 7 (x-1.0)*(x-1.0) 6 4 2.0*(x-1.0) 6 2 5 4 0 3-2

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

10 4 2

10 4 2 1 10 4 2 92 11 3 8 20 10 2 10 20 10 28 3 B 78 111 104 1021 95 10 2 4 10 8 95 18 10 30 11 13 104 20 105 105 105 105 107 5 1 11 26 13301500 6 GH 1 GH 34 7 11 27 9301030 8 4 9 GH 1 23 10 20 60 --------------------------------------------------------------------------------------------------------------------------

More information

Mantel-Haenszelの方法

Mantel-Haenszelの方法 Mantel-Haenszel 2008 6 12 ) 2008 6 12 1 / 39 Mantel & Haenzel 1959) Mantel N, Haenszel W. Statistical aspects of the analysis of data from retrospective studies of disease. J. Nat. Cancer Inst. 1959; 224):

More information

: (EQS) /EQUATIONS V1 = 30*V F1 + E1; V2 = 25*V *F1 + E2; V3 = 16*V *F1 + E3; V4 = 10*V F2 + E4; V5 = 19*V99

: (EQS) /EQUATIONS V1 = 30*V F1 + E1; V2 = 25*V *F1 + E2; V3 = 16*V *F1 + E3; V4 = 10*V F2 + E4; V5 = 19*V99 218 6 219 6.11: (EQS) /EQUATIONS V1 = 30*V999 + 1F1 + E1; V2 = 25*V999 +.54*F1 + E2; V3 = 16*V999 + 1.46*F1 + E3; V4 = 10*V999 + 1F2 + E4; V5 = 19*V999 + 1.29*F2 + E5; V6 = 17*V999 + 2.22*F2 + E6; CALIS.

More information

要旨 : データステップ及び SGPLOT プロシジャにおける POLYGON/TEXT ステートメントを利用した SAS プログラムステップフローチャートを生成する SAS プログラムを紹介する キーワード :SGPLOT, フローチャート, 可視化 2

要旨 : データステップ及び SGPLOT プロシジャにおける POLYGON/TEXT ステートメントを利用した SAS プログラムステップフローチャートを生成する SAS プログラムを紹介する キーワード :SGPLOT, フローチャート, 可視化 2 SAS プログラムの可視化 - SAS プログラムステップフローチャート生成プログラムの紹介 - 福田裕章 1 ( 1 MSD 株式会社 ) Visualization of SAS programs Hiroaki Fukuda MSD K.K. 要旨 : データステップ及び SGPLOT プロシジャにおける POLYGON/TEXT ステートメントを利用した SAS プログラムステップフローチャートを生成する

More information

帳票 Mockup からの RTF 用テンプレート SAS プログラム自動作成ツール Taiho TLF Automated Tool の紹介 伊藤衡気 1 栗矢芳之 2 銭本敦 2 ( 株式会社タクミインフォメーションテクノロジー 1 大鵬薬品工業株式会社 2 )

帳票 Mockup からの RTF 用テンプレート SAS プログラム自動作成ツール Taiho TLF Automated Tool の紹介 伊藤衡気 1 栗矢芳之 2 銭本敦 2 ( 株式会社タクミインフォメーションテクノロジー 1 大鵬薬品工業株式会社 2 ) 帳票 Mockup からの RTF 用テンプレート SAS プログラム自動作成ツール Taiho TLF Automated Tool の紹介 伊藤衡気 1 栗矢芳之 2 銭本敦 2 ( 株式会社タクミインフォメーションテクノロジー 1 大鵬薬品工業株式会社 2 ) 要旨 : Excelで作成したTLF Mockupから RTF 出力用のSASマクロプログラムを 自動で作成するツール Taiho TLF

More information

橡挿入法の実践

橡挿入法の実践 PAGE:1 7JFC1121 PAGE:2 7JFC1121 PAGE:3 7JFC1121 Kadai_1.pas program input_file;{7jfc1121 19 20 { type item = record id : integer; math : integer; english : integer; var wfile data flag id_no filename :

More information

スライド 1

スライド 1 Hadoop と SAS との連携テクニック 小林泉 SAS Institute Japan 株式会社 ビジネス推進本部アナリティクスプラットフォーム推進 Techniques in SAS on Hadoop Izumi Kobayashi Analytics Platform Practice, SAS Institute Japan 1 要旨 : ビッグデータ分析の基盤としての Hadoop

More information

Gray [6] cross tabulation CUBE, ROLL UP Johnson [7] pivoting SQL 3. SuperSQL SuperSQL SuperSQL SQL [1] [2] SQL SELECT GENERATE <media> <TFE> GENER- AT

Gray [6] cross tabulation CUBE, ROLL UP Johnson [7] pivoting SQL 3. SuperSQL SuperSQL SuperSQL SQL [1] [2] SQL SELECT GENERATE <media> <TFE> GENER- AT DEIM Forum 2017 E3-1 SuperSQL 223 8522 3 14 1 E-mail: {tabata,goto}@db.ics.keio.ac.jp, toyama@ics.keio.ac.jp,,,, SuperSQL SuperSQL, SuperSQL. SuperSQL 1. SuperSQL, Cross table, SQL,. 1 1 2 4. 1 SuperSQL

More information

PowerPoint プレゼンテーション

PowerPoint プレゼンテーション 40 6 Fischer 2 McNemar 2 No Yes No Yes Mann Whitney s U Wilcoxon 1 Kruskal Wallis 2 Friedman No Yes 2 Yes No Yes Bonferroni ANOVA No Scheffe Yes Student s T No Paired T Welch s T 40 6 Fischer 2 McNemar

More information

17 17 17 17 11 21 28 1 24 12 36 2,000 2 22 11 3.67 3.38 22 2.97 21 10 1.7 1.12 22 10 13 2.75 11 10 15 24 10 12 14 3 17 17 2006 4 17 10 24 12 17 5 15 17 17 11 40 6 17 40 17 11 7 24 17 24 17 8 40 17 17 9

More information