mosaic Daniel Kaplan * 1 Nicholas J. Horton * 2 Randall Pruim * 3 Macalester College Amherst College Calvin College St. Paul, MN Amherst, MA Grand Rap
|
|
- かおり つまがみ
- 4 years ago
- Views:
Transcription
1 mosaic Daniel Kaplan * 1 Nicholas J. Horton * 2 Randall Pruim * 3 Macalester College Amherst College Calvin College St. Paul, MN Amherst, MA Grand Rapids, MI R RStudio Lock mosaic R mosaic *1 dtkaplan@gmail.com *2 rpruim@calvin.edu *3 nhorton@amherst.edu 1
2 ˆ ˆ ˆ ˆ ˆ George Cobb 3 Rs Randomization Replication Rejection Cobb R Terry Speed 2001 Robin Lock USCOTS United States Conference on Teaching Statistics) uscots/breakout/breakout3_6.php mosaic 1 MOSAIC Efron and Tibshirani, 1993; Hesterberg et al Lock mosaic Lock 2
3 mosaic R RStudio R R RStudio R 2.2 mosaic R install.packages("mosaic") require(mosaic) options(digits = 3) R mosaic R R read.csv() R URL URL mosaic fetchdata() fetchdata() Lock Lock 1 mustangs <- fetchdata("mustangprice.csv") 3
4 3 Lock Lock Robin Lock 2011 Lock 1 Mustang MustangPrice.csv % R 2 lattice 1. mosaic 2. histogram(~price, data = mustangs) lattice ~ data= mosaic mean(~price, data = mustangs) [1] 16 R 4
5 mean(mustangs$price) mean(~price, data = mustangs) redample() simple = c(1,2,3,4,5) resample(simple) [1] resample(simple) [1] resample(simple) [1] resample() resample(mustangs) Age Miles Price orig.ids and so on
6 mean(~price, data=resample(mustangs)) [1] mean(~price, data = resample(mustangs)) [1] do(5) * mean(~price, data = resample(mustangs)) $result [1] attr(,"row.names") [1] attr(,"class") [1] "do.data.frame" 1000 trials trials <- do(1000) * mean(~price, data = resample(mustangs)) histogram(~ result, data = trials, xlab = " ") confint(trials, level = 0.90, method = "quantile") name 5 % 95 % 1 result
7 confint(trials, level = 0.90, method = "stderr") name lower upper 1 result confint() confint() 2 ˆ 90% qdata(c(.05,.95), result, data = trials) 5% 95% ˆ t t z 90% 0.95 tstar <- qt(.95 df = 24) zstar <- qnorm(0.95) tstar * sd(~result, data = trials) [1] 3.68 zstar * sd(~result, data = trials) [1]
8 confint() level method quantile stderr R mosaic Lock 2 NFL National Football League NFL NFL /2= prop(rbinom(100000, prob=0.5, size=428) >= 240) TRUE prop(rbinom(100000, prob=0.5, size=428) >= 240) TRUE
9 pbinom(239, prob=0.5, size=428) [1] mosaic do(1) * rflip(428) $n [1] 428 $heads [1] 206 $tails [1] 222 attr(, "row.names") [1] attr(,"class") [1] "do.data.frame" trials <- do(1000) * rflip(428) prop(trials$heads >= 240, data=trials) TRUE histogram(~heads, groups = (heads >= 240), data = trials) 240 groups = Lock 3 2 Mednicj et al,
10 2 sleep <- fetchdata("sleepcaffeine.csv") The Sleep group seems to have remembered somewhat more words on average: mean(words ~ Group, data=sleep) Caffeine Sleep obs <- diff(mean(words ~ Group, data=sleep)) obs Sleep 3 bwplot(words ~ Group, data=sleep) Words Group 10
11 diff(mean(words ~ shuffle(group), data = sleep)) Sleep diff(mean(words ~ shuffle(group), data=sleep)) Sleep Lock % cor(price, Miles, data = mustangs) [1] trials <- do(1000) * cor(price, Miles, data = mustangs) quantiles <- qdata(c(.025,.975), result, data = trials) 2.5% 97.5% histogram(~result, data = trials, groups=cut(result, c(-inf, quantiles, Inf)), nbin = 30) trials <- do(1000) * diff(mean(words ~ shuffle(group), data = sleep)) histogram(~ Sleep, groups=(sleep >= obs), data=trials, xlab=" \n ") p p
12 35 p Lock Lock Mustang xyplot(price ~ Miles, data = mustangs) Lock 12
13 R lm() lm(price ~ Miles, data = mustangs) Call: lm(formula = Price ~ Miles, data = mustangs) Coefficients: (Intercept) Miles Mustang Mustang mean(price, data = mustangs ) [1] 16 lm(price ~ 1, data = mustangs) Call: lm(formula = Price ~ 1, data = mustangs) Coefficients: (Intercept) 16 lm() ~ Price ~ Miles Price Miles Price ~ 1 1 mean() 13
14 mean(price ~ 1, data = mustangs) 1 16 Lock sleep mean(words ~ 1, data=sleep ) mean(words ~ Group, data = sleep ) Caffeine Sleep Mustang Miles sleep Group lm(words ~ Group, data = sleep ) Call: lm(formula = Words ~ Group, data = sleep) Coefficients: (Intercept) GroupSleep mean() lm() lm() GroupSleep 2 14
15 diff(mean(words ~ Group, data = sleep )) Sleep 3 lm() 1 HELPrct prop(homeless ~ 1, data = HELPrct) homeless: prop(homeless ~ sex, data = HELPrct ) homeless:female homeless:male diff(prop(homeless ~ sex, data = HELPrct )) homeless:male lm() homeless housed lm(homeless == "homeless" ~ 1, data = HELPrct ) Call: lm(formula = homeless == "homeless" ~ 1, data = HELPrct) Coefficients: (Intercept) 15
16 0.461 mean() prop() diff() lm() lm() lm() lm() mean() prop() ~1 lm(homeless == "homeless" ~ sex, data = HELPrct) Call: lm(formula = homeless == "homeless" ~ sex, data = HELPrct) Coefficients: (Intercept) sexmale lm() mean() prop() Mustang trials <- do(1000) * lm(price ~ Miles, data = resample(mustangs)) confint(trials) name lower upper 1 Intercept Miles Sigma r.squared HELPrct nulldist <- do(1000) * lm(homeless == "homeless" ~ shuffle(sex), data=helprct) prop(~ abs(sexmale) > , data = nulldist) TRUE
17 4.2 Mustangs Age Miles trialsmod1 <- do(1000) * lm(price ~ Age, data = resample(mustangs)) trialsmod2 <- do(1000) * lm(price ~ Miles, data = resample(mustangs)) trialsmod3 <- do(1000) * lm(price ~ Miles + Age, data = resample(mustangs)) 1 Price confint(trialsmod1) name lower upper 1 Intercept Age Sigma r.squared confint(trialsmod2) name lower upper 1 Intercept Miles Sigma r.squared Age Miles confint(trialsmod3) name lower upper 1 Intercept Miles Age Sigma r.squared
18 1 Miles Age Miles Age Mustangs Price Miles Age 1 anova(lm(price ~ Miles + Age, data = mustangs)) Analysis of Variance Table Response: Price Df Sum Sq Mean Sq F value Pr(>F) Miles e-07 *** Age Residuals Signif. codes: 0 *** ** 0.01 * Age p Age anova(lm(price ~ Age + Miles, data = mustangs)) Analysis of Variance Table Response: Price Df Sum Sq Mean Sq F value Pr(>F) Age e-06 *** Miles ** Residuals Signif. codes: 0 *** ** 0.01 * ANOVA R 2 Age Miles 18
19 do(1) * lm(price ~ Miles, data = mustangs) $Intercept [1] 30.5 $Miles [1] $Sigma [1] 6.42 $r.squared [1] 0.68 attr(,"row.names") [1] 1 attr(,"class") [1] "do.data.frame" do(1) * lm(price ~ Miles + Age, data = mustangs) $Intercept [1] 30.9 $Miles [1] $Age [1] $Sigma [1] 6.55 $r.squared [1] 0.68 attr(,"row.names") [1] 1 attr(,"class") [1] "do.data.frame" do() Age R Age R 2 19
20 trials1 <- do(1000) * lm(price ~ Miles + shuffle(age), data = mustangs ) confint(trials1) name lower upper 1 Intercept Miles Age Sigma r.squared Price ~ Miles + Age R 2 Age Miles trials2 <- do(1000) * lm(price ~ shuffle(miles) + Age, data = mustangs ) confint(trials2) name lower upper 1 Intercept Miles Age Sigma r.squared R 2 = Miles 5 p t F HELPrct homeless sex χ 2 p 1. chisq.test(tally( ~ homeless + sex, data = HELPrct, margins = FALSE)) Yates Pearson data: tally(~homeless + sex, data = HELPrct, margins = FALSE) X-squared = 3.87, df = 1, p-value =
21 2. p pval(chisq.test(tally( ~ homeless + sex, data = HELPrct, margins = FALSE))) p.value p pval(chisq.test(tally( ~ shuffle(homeless) + sex, data=helprct, margins=false))) p.value p trials = do(1000)* pval(chisq.test( tally( ~ shuffle(homeless) + sex, data=helprct, margins=false))) p 0.05 p 0 1 p < % prop(~(p.value < 0.05), data=trials) TRUE histogram( ~p.value, data=trials, width = 0.05) 21
22 χ 2 age trials = do(1000) * glm(homeless=="homeless" ~ age + sex, data = resample(helprct), family = "binomial") confint(trials) name lower upper 1 Intercept age sexmale Sarah Anoke USCOTS St. Lawrence Robin Lock MOSAIC US National Science Foundation DUE MOSAIC 7 ˆ G. W. Cobb, The introductory statistics course: a Ptolemaic curriculum?, Technology Innovations in Statistics Education, 2007, 1(1). ˆ B. Efron & R. J. Tibshirani, An Introduction to the Bootstrap, 1993, Chapman & Hall, New York. ˆ T. Hesterberg, D. S. Moore, S. Monaghan, A. Clipson & R. Epstein. Bootstrap Methods and Permutation Tests (2nd edition), (2005), W.H. Freeman, New York. ˆ D.T. Kaplan, Statistical Modeling: A Fresh Approach, 2nd edition, mosaic-web.org/statisticalmodeling. ˆ S.C. Mednicj, D. J. Cai, J. Kanady, S. P. Drummond. Comparing the benefits of caffeine, naps and placebo on verbal, motor and perceptual memory, Behavioural Brain Research, 2008, 193(1): ˆ T. Speed, Simulation, IMS Bulletin, 2011, 40(3):18. 22
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) jfox@mcmaster.ca
More informationR Console >R ˆ 2 ˆ 2 ˆ Graphics Device 1 Rcmdr R Console R R Rcmdr Rcmdr Fox, 2007 Fox and Carvalho, 2012 R R 2
R John Fox Version 1.9-1 2012 9 4 2012 10 9 1 R R Windows R Rcmdr Mac OS X Linux R OS R R , R R Console library(rcmdr)
More information(lm) lm AIC 2 / 1
W707 s-taiji@is.titech.ac.jp 1 / 1 (lm) lm AIC 2 / 1 : y = β 1 x 1 + β 2 x 2 + + β d x d + β d+1 + ϵ (ϵ N(0, σ 2 )) y R: x R d : β i (i = 1,..., d):, β d+1 : ( ) (d = 1) y = β 1 x 1 + β 2 + ϵ (d > 1) y
More informationDAA09
> 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 informationUse R
Use R! 2008/05/23( ) Index Introduction (GLM) ( ) R. Introduction R,, PLS,,, etc. 2. Correlation coefficient (Pearson s product moment correlation) r = Sxy Sxx Syy :, Sxy, Sxx= X, Syy Y 1.96 95% R cor(x,
More informationk2 ( :35 ) ( k2) (GLM) web web 1 :
2012 11 01 k2 (2012-10-26 16:35 ) 1 6 2 (2012 11 01 k2) (GLM) kubo@ees.hokudai.ac.jp web http://goo.gl/wijx2 web http://goo.gl/ufq2 1 : 2 2 4 3 7 4 9 5 : 11 5.1................... 13 6 14 6.1......................
More information33312004_先端融合開発専攻_観音0314PDF用
Advanced Course for Interdisciplinary Technology Development National Institute of Technology, Gifu College Advanced Course for Interdisciplinary Technology Development 1 5 Curriculum National Institute
More information1 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 informationBMIdata.txt DT DT <- read.table("bmidata.txt") DT head(dt) names(dt) str(dt)
?read.table read.table(file, header = FALSE, sep = "", quote = "\" ", dec = ".", numerals = c("allow.loss", "warn.loss", "no.loss"), row.names, col.names, as.is =!stringsasfactors, na.strings = "NA", colclasses
More informationuntitled
2011/6/22 M2 1*1+2*2 79 2F Y YY 0.0 0.2 0.4 0.6 0.8 0.000 0.002 0.004 0.006 0.008 0.010 0.012 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Y 0 50 100 150 200 250 YY A (Y = X + e A ) B (YY = X + e B ) X 0.00 0.05 0.10
More information1 Stata SEM LightStone 4 SEM 4.. Alan C. Acock, Discovering Structural Equation Modeling Using Stata, Revised Edition, Stata Press 3.
1 Stata SEM LightStone 4 SEM 4.. Alan C. Acock, 2013. Discovering Structural Equation Modeling Using Stata, Revised Edition, Stata Press 3. 2 4, 2. 1 2 2 Depress Conservative. 3., 3,. SES66 Alien67 Alien71,
More information1 15 R Part : website:
1 15 R Part 4 2017 7 24 4 : website: email: http://www3.u-toyama.ac.jp/kkarato/ kkarato@eco.u-toyama.ac.jp 1 2 2 3 2.1............................... 3 2.2 2................................. 4 2.3................................
More informationk3 ( :07 ) 2 (A) k = 1 (B) k = 7 y x x 1 (k2)?? x y (A) GLM (k
2012 11 01 k3 (2012-10-24 14:07 ) 1 6 3 (2012 11 01 k3) kubo@ees.hokudai.ac.jp web http://goo.gl/wijx2 web http://goo.gl/ufq2 1 3 2 : 4 3 AIC 6 4 7 5 8 6 : 9 7 11 8 12 8.1 (1)........ 13 8.2 (2) χ 2....................
More information講義のーと : データ解析のための統計モデリング. 第5回
Title 講義のーと : データ解析のための統計モデリング Author(s) 久保, 拓弥 Issue Date 2008 Doc URL http://hdl.handle.net/2115/49477 Type learningobject Note この講義資料は, 著者のホームページ http://hosho.ees.hokudai.ac.jp/~kub ードできます Note(URL)http://hosho.ees.hokudai.ac.jp/~kubo/ce/EesLecture20
More information201711grade2.pdf
2017 11 26 1 2 28 3 90 4 5 A 1 2 3 4 Web Web 6 B 10 3 10 3 7 34 8 23 9 10 1 2 3 1 (A) 3 32.14 0.65 2.82 0.93 7.48 (B) 4 6 61.30 54.68 34.86 5.25 19.07 (C) 7 13 5.89 42.18 56.51 35.80 50.28 (D) 14 20 0.35
More information1 Stata SEM LightStone 3 2 SEM. 2., 2,. Alan C. Acock, Discovering Structural Equation Modeling Using Stata, Revised Edition, Stata Press.
1 Stata SEM LightStone 3 2 SEM. 2., 2,. Alan C. Acock, 2013. Discovering Structural Equation Modeling Using Stata, Revised Edition, Stata Press. 2 3 2 Conservative Depress. 3.1 2. SEM. 1. x SEM. Depress.
More information²¾ÁÛ¾õ¶·É¾²ÁË¡¤Î¤¿¤á¤Î¥Ñ¥Ã¥±¡¼¥¸DCchoice ¡Ê»ÃÄêÈÇ¡Ë
DCchoice ( ) R 2013 2013 11 30 DCchoice package R 2013/11/30 1 / 19 1 (CV) CV 2 DCchoice WTP 3 DCchoice package R 2013/11/30 2 / 19 (Contingent Valuation; CV) WTP CV WTP WTP 1 1989 2 DCchoice package R
More informationインターネットを活用した経済分析 - フリーソフト 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講義のーと : データ解析のための統計モデリング. 第3回
Title 講義のーと : データ解析のための統計モデリング Author(s) 久保, 拓弥 Issue Date 2008 Doc URL http://hdl.handle.net/2115/49477 Type learningobject Note この講義資料は, 著者のホームページ http://hosho.ees.hokudai.ac.jp/~kub ードできます Note(URL)http://hosho.ees.hokudai.ac.jp/~kubo/ce/EesLecture20
More information統計研修R分散分析(追加).indd
http://cse.niaes.affrc.go.jp/minaka/r/r-top.html > mm mm TRT DATA 1 DM1 2537 2 DM1 2069 3 DM1 2104 4 DM1 1797 5 DM2 3366 6 DM2 2591 7 DM2 2211 8
More informationこんにちは由美子です
Analysis of Variance 2 two sample t test analysis of variance (ANOVA) CO 3 3 1 EFV1 µ 1 µ 2 µ 3 H 0 H 0 : µ 1 = µ 2 = µ 3 H A : Group 1 Group 2.. Group k population mean µ 1 µ µ κ SD σ 1 σ σ κ sample mean
More information!!! 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 informationuntitled
17 5 13 1 2 1.1... 2 1.2... 2 1.3... 3 2 3 2.1... 3 2.2... 5 3 6 3.1... 6 3.2... 7 3.3 t... 7 3.4 BC a... 9 3.5... 10 4 11 1 1 θ n ˆθ. ˆθ, ˆθ, ˆθ.,, ˆθ.,.,,,. 1.1 ˆθ σ 2 = E(ˆθ E ˆθ) 2 b = E(ˆθ θ). Y 1,,Y
More information012 27-28 29 3 3 2 2 19 29 3 1 2 27-28,, 5 19 5 1 275 7,643 1 1 2 3 1 2 Class size Motivation -0.016 p =.036 1 0 2 Student level (Level 1) Class level (Level 2) Item 3 Item 13 Item 23 Item 33 Item 43
More informationkubostat2018d p.2 :? bod size x and fertilization f change seed number? : a statistical model for this example? i response variable seed number : { i
kubostat2018d p.1 I 2018 (d) model selection and kubo@ees.hokudai.ac.jp http://goo.gl/76c4i 2018 06 25 : 2018 06 21 17:45 1 2 3 4 :? AIC : deviance model selection misunderstanding kubostat2018d (http://goo.gl/76c4i)
More information情報管理学科で学ぶ
1/17 ` http://www.biwako.shiga-u.ac.jp/sensei/kumazawa/ 6............................................ 5 1............................... 1 1.1 I II III 1 1.2 2 1.3 2 2......................................
More information> usdata01 と打ち込んでエンター キーを押すと V1 V2 V : : : : のように表示され 読み込まれていることがわかる ここで V1, V2, V3 は R が列のデータに自 動的につけた変数名である ( variable
R による回帰分析 ( 最小二乗法 ) この資料では 1. データを読み込む 2. 最小二乗法によってパラメーターを推定する 3. データをプロットし 回帰直線を書き込む 4. いろいろなデータの読み込み方について簡単に説明する 1. データを読み込む 以下では read.table( ) 関数を使ってテキストファイル ( 拡張子が.txt のファイル ) のデー タの読み込み方を説明する 1.1
More informationA comparative study of the team strengths calculated by mathematical and statistical methods and points and winning rate of the Tokyo Big6 Baseball Le
Powered by TCPDF (www.tcpdf.org) Title 東京六大学野球リーグ戦において勝敗結果から計算する優勝チームと勝点 勝率との比較研究 Sub Title A comparative study of the team strengths calculated by mathematical and statistical methods and points and winning
More informationR分散分析06.indd
http://cse.niaes.affrc.go.jp/minaka/r/r-top.html > mm mm TRT DATA 1 DM1 2537 2 DM1 2069 3 DM1 2104 4 DM1 1797 5 DM2 3366 6 DM2 2591 7 DM2 2211 8 DM2
More informationx y 1 x 1 y 1 2 x 2 y 2 3 x 3 y 3... x ( ) 2
1 1 1.1 1.1.1 1 168 75 2 170 65 3 156 50... x y 1 x 1 y 1 2 x 2 y 2 3 x 3 y 3... x ( ) 2 1 1 0 1 0 0 2 1 0 0 1 0 3 0 1 0 0 1...... 1.1.2 x = 1 n x (average, mean) x i s 2 x = 1 n (x i x) 2 3 x (variance)
More informationuntitled
R kiyo@affrc.go.jp 1 Excel 1, 2.6, 2/3, 105.2, 0.0043 1, 3, 0, 245 A, B, C... ; 0 1 0.2, 3/4, 0.99 MS Excel»» R Macintosh MS Excel Excel Excel MS Excel MS Access Excel R R R R.Data win Mac ctrl + R Win,
More informationMeas- urement Angoff, W. H. 19654 Equating non-parallel tests. Journal of Educational Measurement, 1, 11-14. Angoff, W. H. 1971a Scales, norms and equivalent scores. In R. L. Thorndike (Ed.) Educational
More informationKobe University Repository : Kernel タイトル Title 著者 Author(s) 掲載誌 巻号 ページ Citation 刊行日 Issue date 資源タイプ Resource Type 版区分 Resource Version 権利 Rights DOI
Kobe University Repository : Kernel タイトル Title 著者 Author(s) 掲載誌 巻号 ページ Citation 刊行日 Issue date 資源タイプ Resource Type 版区分 Resource Version 権利 Rights DOI 平均に対する平滑化ブートストラップ法におけるバンド幅の選択に関する一考察 (A Study about
More informationkubostat2015e p.2 how to specify Poisson regression model, a GLM GLM how to specify model, a GLM GLM logistic probability distribution Poisson distrib
kubostat2015e p.1 I 2015 (e) GLM kubo@ees.hokudai.ac.jp http://goo.gl/76c4i 2015 07 22 2015 07 21 16:26 kubostat2015e (http://goo.gl/76c4i) 2015 (e) 2015 07 22 1 / 42 1 N k 2 binomial distribution logit
More informationkubostat2017c p (c) Poisson regression, a generalized linear model (GLM) : :
kubostat2017c p.1 2017 (c), a generalized linear model (GLM) : kubo@ees.hokudai.ac.jp http://goo.gl/76c4i 2017 11 14 : 2017 11 07 15:43 kubostat2017c (http://goo.gl/76c4i) 2017 (c) 2017 11 14 1 / 47 agenda
More information10
z c j = N 1 N t= j1 [ ( z t z ) ( )] z t j z q 2 1 2 r j /N j=1 1/ N J Q = N(N 2) 1 N j j=1 r j 2 2 χ J B d z t = z t d (1 B) 2 z t = (z t z t 1 ) (z t 1 z t 2 ) (1 B s )z t = z t z t s _ARIMA CONSUME
More informationuntitled
R 8 2 6 24 M1 M2 1 8 Takahashi, Y., Roberts, B.W., Yamagata, S., & Kijima, N. (in press). Personality traits show differential relations with anxiety and depression in a non-clinical sample. Psychologia:
More informationStata 11 Stata ROC whitepaper mwp anova/oneway 3 mwp-042 kwallis Kruskal Wallis 28 mwp-045 ranksum/median / 31 mwp-047 roctab/roccomp ROC 34 mwp-050 s
BR003 Stata 11 Stata ROC whitepaper mwp anova/oneway 3 mwp-042 kwallis Kruskal Wallis 28 mwp-045 ranksum/median / 31 mwp-047 roctab/roccomp ROC 34 mwp-050 sampsi 47 mwp-044 sdtest 54 mwp-043 signrank/signtest
More information八戸大学紀要_45_表1pdf
1 2 189 43 35 19 7 2 2000 60 2007 Key words : ICD - 10 I. 1. 1 1 2 2 4 4 1 2 2. 105 45 II. 1. 2011 MMA Mixed Martial Arts : 2. 1 1 189 2 ICD - 10 2.0 3 2000 2007 CDC Centers for Disease Control and Preven-
More informationuntitled
IT (1, horiike@ml.me.titech.ac.jp) (1, jun-jun@ms.kagu.tus.ac.jp) 1. 1-1 19802000 2000ITIT IT IT TOPIX (%) 1TOPIX 2 1-2. 80 80 ( ) 2004/11/26 S-PLUS 2 1-3. IT IT IT IT 2. 2-1. a. b. (Size) c. B/M(Book
More informationtoukei4.dvi
2005 53 1 57 81 c 2005 50 2004 10 22 2005 1 4 11 1 2 2 1 2 1. 1.1 30 106 8569 4 6 7; maeda@ism.ac.jp 58 53 1 2005 Dillman 1978 Total Design Method Mangione 1995 2004 2004 2001 2 60 1.2 2003 9 10 11 2004
More informationX X X Y R Y R Y R MCAR MAR MNAR Figure 1: MCAR, MAR, MNAR Y R X 1.2 Missing At Random (MAR) MAR MCAR MCAR Y X X Y MCAR 2 1 R X Y Table 1 3 IQ MCAR Y I
(missing data analysis) - - 1/16/2011 (missing data, missing value) (list-wise deletion) (pair-wise deletion) (full information maximum likelihood method, FIML) (multiple imputation method) 1 missing completely
More information28
y i = Z i δ i +ε i ε i δ X y i = X Z i δ i + X ε i [ ] 1 δ ˆ i = Z i X( X X) 1 X Z i [ ] 1 σ ˆ 2 Z i X( X X) 1 X Z i Z i X( X X) 1 X y i σ ˆ 2 ˆ σ 2 = [ ] y i Z ˆ [ i δ i ] 1 y N p i Z i δ ˆ i i RSTAT
More information1 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 information2. S 2 ɛ 3. ˆβ S 2 ɛ (n p 1)S 2 ɛ χ 2 n p 1 Z N(0, 1) S 2 χ 2 n T = Z/ S 2 /n n t- Z T = S2 /n t- n ( ) (n+1)/2 Γ((n + 1)/2) f(t) = 1 + t2 nπγ(n/2) n
Copright (c) 2004,2005 Hidetoshi Shimodaira 1. t- 2. 3. F 4. 1 t- 1.1 = β0 + β11 + + βpp + ɛ = Xβ + ɛ 2005-04-13 17:37:08 shimo S 2 ɛ ˆV ( ˆβi) = S 2 ɛ aii ŝe( ˆβi) = t-p- ti = ˆβi ŝe( ˆβi), ˆV ( ˆβi)
More informationdvi
2017 65 2 217 234 2017 Covariate Balancing Propensity Score 1 2 2017 1 15 4 30 8 28 Covariate Balancing Propensity Score CBPS, Imai and Ratkovic, 2014 1 0 1 2 Covariate Balancing Propensity Score CBPS
More information.3 ˆβ1 = S, S ˆβ0 = ȳ ˆβ1 S = (β0 + β1i i) β0 β1 S = (i β0 β1i) = 0 β0 S = (i β0 β1i)i = 0 β1 β0, β1 ȳ β0 β1 = 0, (i ȳ β1(i ))i = 0 {(i ȳ)(i ) β1(i ))
Copright (c) 004,005 Hidetoshi Shimodaira 1.. 3. 4. 004-10-01 16:15:07 shimo cat(" 1: "); c(mea(), mea()) cat(" : "); mmea
More information4.9 Hausman Test Time Fixed Effects Model vs Time Random Effects Model Two-way Fixed Effects Model
1 EViews 5 2007 7 11 2010 5 17 1 ( ) 3 1.1........................................... 4 1.2................................... 9 2 11 3 14 3.1 Pooled OLS.............................................. 14
More informationAttendance Demand for J-League õ Shinsuke KAWAI* and Takeo HIRATA* Abstract The purpose of this study was to clarify the variables determining the attendance in J-league matches, using the 2,699 J-league
More information最小2乗法
2 2012 4 ( ) 2 2012 4 1 / 42 X Y Y = f (X ; Z) linear regression model X Y slope X 1 Y (X, Y ) 1 (X, Y ) ( ) 2 2012 4 2 / 42 1 β = β = β (4.2) = β 0 + β (4.3) ( ) 2 2012 4 3 / 42 = β 0 + β + (4.4) ( )
More informationDAA12
Observed Data (Total variance) Predicted Data (prediction variance) Errors in Prediction (error variance) Shoesize 23 24 25 26 27 male female male mean female mean overall mean Shoesize 23 24 25 26 27
More informationaisatu.pdf
1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
More informationMicrosoft Word - 計量研修テキスト_第5版).doc
Q9-1 テキスト P166 2)VAR の推定 注 ) 各変数について ADF 検定を行った結果 和文の次数はすべて 1 である 作業手順 4 情報量基準 (AIC) によるラグ次数の選択 VAR Lag Order Selection Criteria Endogenous variables: D(IG9S) D(IP9S) D(CP9S) Exogenous variables: C Date:
More information2
fukui@econ.tohoku.ac.jp http://www.econ.tohoku.ac.jp/~fukui/site.htm 200 7 Cookbook-style . (Inference) (Population) (Sample) f(x = θ = θ ) (up to parameter values) (estimation) 2 3 (multicolinearity)
More informationINDEX
INDEX Research and Education Center for Brain Science (RECBS) 1 Research and Education Center for Brain Science 2 3 4 Research and Education Center for Brain Science 5 Graduate Course: Developmental Brain
More information1 kawaguchi p.1/81
1 kawaguchi atsushi@kurume-u.ac.jp 2005 7 2 p.1/81 2.1 2.2 2.2.3 2.3 AUC 4.4 p.2/81 X Z X = α + βz + e α : Z = 0 X ( ) β : Z X ( ) e : 0 σ 2 p.3/81 2.1 Z X 1 0.045 2 0.114 4 0.215 6 0.346 7 0.41 8 0.52
More information現代日本論演習/比較現代日本論研究演習I「統計分析の基礎」
URL: http://tsigeto.info/statg/ I ( ) 3 2017 2 ( 7F) 1 : (1) ; (2) 1998 (70 20% 6 8 ) (30%) ( 2) ( 2) 2 1. (4/13) 2. SPSS (4/20) 3. (4/27) [ ] 4. (5/11 6/1) [1, 4 ] 5. (6/8) 6. (6/15 6/29) [2, 5 ] 7. (7/6
More informationPower Transformation and Its Modifications Toshimitsu HAMASAKI, Tatsuya ISOMURA, Megu OHTAKI and Masashi GOTO Key words : identity transformation, pow
Power Transformation and Its Modifications Toshimitsu HAMASAKI, Tatsuya ISOMURA, Megu OHTAKI and Masashi GOTO Key words : identity transformation, power-normal distribution, structured data, unstructured
More information望月宏ゼミナール三年次進級論文
3 1789 1859 1860 1909 20 1910 1939 1940 1969 1970 1990 2 3 The United States of America 16 (Amerigo Vespucci) 1507 1776 13 50 937 3 361 9 19 4 1990-91 1990 2 5000 19 3000 19 20 1968 2 10 1980 3 1 WASP
More informationStata 11 Stata ts (ARMA) ARCH/GARCH whitepaper mwp 3 mwp-083 arch ARCH 11 mwp-051 arch postestimation 27 mwp-056 arima ARMA 35 mwp-003 arima postestim
TS001 Stata 11 Stata ts (ARMA) ARCH/GARCH whitepaper mwp 3 mwp-083 arch ARCH 11 mwp-051 arch postestimation 27 mwp-056 arima ARMA 35 mwp-003 arima postestimation 49 mwp-055 corrgram/ac/pac 56 mwp-009 dfgls
More information1 環境統計学ぷらす 第 5 回 一般 ( 化 ) 線形混合モデル 高木俊 2013/11/21
1 環境統計学ぷらす 第 5 回 一般 ( 化 ) 線形混合モデル 高木俊 shun.takagi@sci.toho-u.ac.jp 2013/11/21 2 予定 第 1 回 : Rの基礎と仮説検定 第 2 回 : 分散分析と回帰 第 3 回 : 一般線形モデル 交互作用 第 4.1 回 : 一般化線形モデル 第 4.2 回 : モデル選択 (11/29?) 第 5 回 : 一般化線形混合モデル
More information% 10%, 35%( 1029 ) p (a) 1 p 95% (b) 1 Std. Err. (c) p 40% 5% (d) p 1: STATA (1). prtesti One-sample test of pr
1 1. 2014 6 2014 6 10 10% 10%, 35%( 1029 ) p (a) 1 p 95% (b) 1 Std. Err. (c) p 40% 5% (d) p 1: STATA (1). prtesti 1029 0.35 0.40 One-sample test of proportion x: Number of obs = 1029 Variable Mean Std.
More informationkubostat2017e p.1 I 2017 (e) GLM logistic regression : : :02 1 N y count data or
kubostat207e p. I 207 (e) GLM kubo@ees.hokudai.ac.jp https://goo.gl/z9ycjy 207 4 207 6:02 N y 2 binomial distribution logit link function 3 4! offset kubostat207e (https://goo.gl/z9ycjy) 207 (e) 207 4
More informationStata11 whitepapers mwp-037 regress - regress regress. regress mpg weight foreign Source SS df MS Number of obs = 74 F(
mwp-037 regress - regress 1. 1.1 1.2 1.3 2. 3. 4. 5. 1. regress. regress mpg weight foreign Source SS df MS Number of obs = 74 F( 2, 71) = 69.75 Model 1619.2877 2 809.643849 Prob > F = 0.0000 Residual
More informationuntitled
c 645 2 1. GM 1959 Lindsey [1] 1960 Howard [2] Howard 1 25 (Markov Decision Process) 3 3 2 3 +1=25 9 Bellman [3] 1 Bellman 1 k 980 8576 27 1 015 0055 84 4 1977 D Esopo and Lefkowitz [4] 1 (SI) Cover and
More information要旨 1. 始めに PCA 2. 不偏分散, 分散, 共分散 N N 49
要旨 1. 始めに PCA 2. 不偏分散, 分散, 共分散 N N 49 N N Web x x y x x x y x y x y N 三井信宏 : 統計の落とし穴と蜘蛛の糸,https://www.yodosha.co.jp/jikkenigaku/statistics_pitfall/pitfall_.html 50 標本分散 不偏分散 図 1: 不偏分散のほうが母集団の分散に近付くことを示すシミュレーション
More informationValidation of a Food Frequency Questionnaire Based on Food Groups for Estimating Individual Nutrient Intake Keiko Takahashi *', Yukio Yoshimura *', Ta
Validation of a Food Frequency Questionnaire Based on Food Groups for Estimating Individual Nutrient Intake Keiko Takahashi *', Yukio Yoshimura *', Tae Kaimoto *', Daisuke Kunii *', Tatsushi Komatsu *2
More informationRによる計量分析:データ解析と可視化 - 第3回 Rの基礎とデータ操作・管理
R 3 R 2017 Email: gito@eco.u-toyama.ac.jp October 23, 2017 (Toyama/NIHU) R ( 3 ) October 23, 2017 1 / 34 Agenda 1 2 3 4 R 5 RStudio (Toyama/NIHU) R ( 3 ) October 23, 2017 2 / 34 10/30 (Mon.) 12/11 (Mon.)
More information2016 Institute of Statistical Research
2016 Institute of Statistical Research 2016 Institute of Statistical Research 2016 Institute of Statistical Research 2016 Institute of Statistical Research 2016 Institute of Statistical Research 2016 Institute
More information産業・企業レベルデータで見た日本の経済成長.pdf
2003 11 10 IT IT JIP JCER ) 2003 CD-ROM http://www.esri.go.jp/jp/archive/bun/bun170/170index. html 1 JIP Jorgenson, Mun, andstiroh (2002) GDP 2 3 1951 1954 1957 1960 1963 1966 1969 1972 1975 1978 1981
More informationkubostat2017b p.1 agenda I 2017 (b) probability distribution and maximum likelihood estimation :
kubostat2017b p.1 agenda I 2017 (b) probabilit distribution and maimum likelihood estimation kubo@ees.hokudai.ac.jp http://goo.gl/76c4i 2017 11 14 : 2017 11 07 15:43 1 : 2 3? 4 kubostat2017b (http://goo.gl/76c4i)
More informationイギリス教育改革の変遷
1944 1970 1988 1988 1 1970 2 1988 Education Reform Act National Curriculum 1990 11 1997 197919 2005 1900 3 4 5 T. 47, 1999, p.1. 2005.5.6., 2002, p.191., 2002.9, p.405. 99 2005 10 6 7 8 9 10 1944 Education
More informationchisq.test corresp plot
Research and Analysis about Study Time using R MIYOSHI Yoshihiko In Saitama W. J. College, we have implemented many surveys which are the freshman questionnaire, the graduate satisfaction questionnaire,
More informationこんにちは由美子です
Sample size power calculation Sample Size Estimation AZTPIAIDS AIDSAZT AIDSPI AIDSRNA AZTPr (S A ) = π A, PIPr (S B ) = π B AIDS (sampling)(inference) π A, π B π A - π B = 0.20 PI 20 20AZT, PI 10 6 8 HIV-RNA
More information* Meso- -scale Features of the Tokai Heavy Rainfall in September 2000 Shin-ichi SUZUKI Disaster Prevention Research Group, National R
38 2002 7 2000 9 * Meso- -scale Features of the Tokai Heavy Rainfall in September 2000 Shin-ichi SUZUKI Disaster Prevention Research Group, National Research Institute for Earth Science and Disaster Prevention,
More informationStepwise Chow Test * Chow Test Chow Test Stepwise Chow Test Stepwise Chow Test Stepwise Chow Test Riddell Riddell first step second step sub-step Step
Stepwise Chow Test * Chow Test Chow Test Stepwise Chow Test Stepwise Chow Test Stepwise Chow Test Riddell Riddell first step second step sub-step Stepwise Chow Test a Stepwise Chow Test Takeuchi 1991Nomura
More information2015-s6-4g-pocket-guidebook_H1-4.indd
56C504-01 2 47 47 32 3435 35 2124 26 26 26 424343 434446 4646 12 14 16 18 20 4 28 30 31 36 37 38 42 47 48 49 4 4 4 3 4 5 16 16 6 6 18 18 32 32 30 30 7 20 20 8 9 28 31 10 Do you have a? 36 Do you have
More informationSWU Weekend Seminar June 2018 平成 30 年度マイケル ハリントン博士公開講座のお知らせ 昭和女子大学大学院文学研究科 文学言語学専攻主任 横山紀子 オーストラリアの名門大学であるクイーンズランド大学のマイケル ハリントン博士 ( 昭和女子大学客員教授 ) による下記の
平成 30 年度マイケル ハリントン博士公開講座のお知らせ 昭和女子大学大学院文学研究科 文学言語学専攻主任 横山紀子 オーストラリアの名門大学であるクイーンズランド大学のマイケル ハリントン博士 ( 昭和女子大学客員教授 ) による下記の講座を一般に公開いたします このうち初回の 第一講時 (90 分 ) の授業は無料公開といたします 本年度は量的研究方法に焦点をおいた公開講座となります 第 1
More information一般化線形 (混合) モデル (2) - ロジスティック回帰と GLMM
.. ( ) (2) GLMM kubo@ees.hokudai.ac.jp I http://goo.gl/rrhzey 2013 08 27 : 2013 08 27 08:29 kubostat2013ou2 (http://goo.gl/rrhzey) ( ) (2) 2013 08 27 1 / 74 I.1 N k.2 binomial distribution logit link function.3.4!
More information1 2 *3 Windows 7 *4 Windows * 5 R R Console R R Console ˆ R GUI R R R *6 R 2 R R R 6.1 ˆ 2 ˆ 2 ˆ Graphics Device R R Rcmdr Rconsole R --sdi R MDI R *3
R John Fox and Milan Bouchet-Valat Version 2.2-0 2015 8 7 2015 8 19 1 R Fox 2005 R R Core Team, 2015 GUIR R R R R R R R R the Comprehensive R Archive Network (CRAN) R CRAN 6.4 R Windows R Rcmdr Mac OS
More informationヒストリカル法によるバリュー・アット・リスクの計測:市場価格変動の非定常性への実務的対応
VaR VaR VaR VaR GARCH E-mail : yoshitaka.andou@boj.or.jp VaR VaR LTCM VaR VaR VaR VaR VaR VaR VaR VaR t P(t) P(= P() P(t)) Pr[ P X] =, X t100 (1 )VaR VaR P100 P X X (1 ) VaR VaR VaR VaR VaR VaR VaR VaR
More informationudc-2.dvi
13 0.5 2 0.5 2 1 15 2001 16 2009 12 18 14 No.39, 2010 8 2009b 2009a Web Web Q&A 2006 2007a20082009 2007b200720082009 20072008 2009 2009 15 1 2 2 2.1 18 21 1 4 2 3 1(a) 1(b) 1(c) 1(d) 1) 18 16 17 21 10
More informationp.1/22
p.1/22 & & & & Excel / p.2/22 & & & & Excel / p.2/22 ( ) ( ) p.3/22 ( ) ( ) Baldi Web p.3/22 ( ) ( ) Baldi Web ( ) ( ) ( p.3/22 ) Text Mining for Clementine True Teller Text Mining Studio Text Miner Trustia
More information<4D F736F F D20939D8C7689F090CD985F93C18EEA8D758B E646F63>
Gretl OLS omitted variable omitted variable AIC,BIC a) gretl gretl sample file Greene greene8_3 Add Define new variable l_g_percapita=log(g/pop) Pg,Y,Pnc,Puc,Ppt,Pd,Pn,Ps Add logs of selected variables
More informationCharacteristics of WPPSI Intelligence Test Profiles of Hearing-Impaired Children Tsutomu Uchiyama, Ryoko Ijuin and Hiroko Tokumitsu Abstract: We analy
Characteristics of WPPSI Intelligence Test Profiles of Hearing-Impaired Children Tsutomu Uchiyama, Ryoko Ijuin and Hiroko Tokumitsu Abstract: We analyzed the WPPSI intelligence test data of 101 hearing-impaired
More information1. 2 Blank and Winnick (1953) 1 Smith (1974) Shilling et al. (1987) Shilling et al. (1987) Frew and Jud (1988) James Shilling Voith (1992) (Shilling e
Estimation of the Natural Vacancy Rate and it s Instability: Evidence from the Tokyo Office Market * ** *** Sho Kuroda*, Morito Tsutsumi**, Toyokazu Imazeki*** * ** *** rent adjustment mechanismnatural
More informationFig. 1. Example of characters superimposed on delivery slip.
Extraction of Handwritten Character String Superimposed on Delivery Slip Data Ken-ichi MATSUO, Non-member, Katsuhiko UEDA, Non-member (Nara National College of Technology), Michio UMEDA, Member (Osaka
More information(X) (Y ) Y = intercept + c X + e (1) e c c M = intercept + ax + e (2) a Y = intercept + cx + bm + e (3) (1) X c c c (3) b X M Y (indirect effect) a b
21 12 23 (mediation analysis) Figure 1 X Y M (mediator) mediation model Baron and Kenny (1986) 1 1) mediated moderation ( moderated mediation) 2) (multilevel mediation model) a M b X c (c ) Y 1: 1 1.1
More informationR による統計解析入門
R May 31, 2016 R R R R Studio GUI R Console R Studio PDF URL http://ruby.kyoto-wu.ac.jp/konami/text/r R R Console Windows, Mac GUI Unix R Studio GUI R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree"
More informationy i OLS [0, 1] OLS x i = (1, x 1,i,, x k,i ) β = (β 0, β 1,, β k ) G ( x i β) 1 G i 1 π i π i P {y i = 1 x i } = G (
7 2 2008 7 10 1 2 2 1.1 2............................................. 2 1.2 2.......................................... 2 1.3 2........................................ 3 1.4................................................
More information