TA-research-stats.key

Similar documents
(baking powder) 1 ( ) ( ) 1 10g g (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal D

Microsoft Word doc

Microsoft Word - A doc

(Microsoft Word - 11-\261i\256m\253i.doc)

spss.doc

高中英文科教師甄試心得

864 现 代 药 物 与 临 床 Drugs & Clinic 第 31 卷 第 6 期 2016 年 6 月 of apoptosis related factors, decrease the incidence of adverse reactions, which is of great

Microsoft PowerPoint _代工實例-1

OncidiumGower Ramsey ) 2 1(CK1) 2(CK2) 1(T1) 2(T2) ( ) CK1 43 (A 44.2 ) CK2 66 (A 48.5 ) T1 40 (


untitled

Microsoft Word 谢雯雯.doc

前 言 一 場 交 換 學 生 的 夢, 夢 想 不 只 是 敢 夢, 而 是 也 要 敢 去 實 踐 為 期 一 年 的 交 換 學 生 生 涯, 說 長 不 長, 說 短 不 短 再 長 的 路, 一 步 步 也 能 走 完 ; 再 短 的 路, 不 踏 出 起 步 就 無 法 到 達 這 次

國家圖書館典藏電子全文

天 主 教 輔 仁 大 學 社 會 學 系 學 士 論 文 小 別 勝 新 婚? 久 別 要 離 婚? 影 響 遠 距 家 庭 婚 姻 感 情 因 素 之 探 討 Separate marital relations are getting better or getting worse? -Exp

08陈会广

Microsoft PowerPoint - NCBA_Cattlemens_College_Darrh_B

)

度 身 體 活 動 量 ; 芬 蘭 幼 兒 呈 現 中 度 身 體 活 動 量 之 比 例 高 於 臺 灣 幼 兒 (5) 幼 兒 在 投 入 度 方 面 亦 達 顯 著 差 異 (χ²=185.35, p <.001), 芬 蘭 與 臺 灣 幼 兒 多 半 表 現 出 中 度 投 入 與 高 度

國立中山大學學位論文典藏

99 學年度班群總介紹 第 370 期 班群總導 陳怡靜 G45 班群總導 陳怡靜(河馬) A 家 惠如 家浩 T 格 宜蓁 小 霖 怡 家 M 璇 均 蓁 雴 家 數學領域 珈玲 國燈 英領域 Kent

UDC Empirical Researches on Pricing of Corporate Bonds with Macro Factors 厦门大学博硕士论文摘要库

Microsoft Word - 論文封面 修.doc

Microsoft Word - TIP006SCH Uni-edit Writing Tip - Presentperfecttenseandpasttenseinyourintroduction readytopublish

2015年4月11日雅思阅读预测机经(新东方版)

诚 实 守 信 公 平 交 易 好 的 伦 理 为 经 营 之 道 我 们 的 价 值 观 我 们 的 日 常 工 作 让 客 户 和 消 费 者 展 露 微 笑 我 们 关 注 员 工 产 品 和 业 务 的 不 断 改 善 和 进 步 我 们 珍 视 我 能 做 到 的 态 度 和 精 神, 尝

2005 3,? :; ;, ;,,,,,,1 % %,,,,, 1 %,,,, : () ;, ;,,,,,,,,,,,,, (2004) ( GBΠT ) 16 (2004), (2004) 47

硕 士 学 位 论 文 论 文 题 目 : 北 岛 诗 歌 创 作 的 双 重 困 境 专 业 名 称 : 中 国 现 当 代 文 学 研 究 方 向 : 中 国 新 诗 研 究 论 文 作 者 : 奚 荣 荣 指 导 老 师 : 姜 玉 琴 2014 年 12 月

: 307, [], [2],,,, [3] (Response Surface Methodology, RSA),,, [4,5] Design-Expert 6.0,,,, [6] VPJ33 ph 3,, ph, OD, Design-Expert 6.0 Box-Behnken, VPJ3

可 愛 的 動 物 小 五 雷 雅 理 第 一 次 小 六 甲 黃 駿 朗 今 年 暑 假 發 生 了 一 件 令 人 非 常 難 忘 的 事 情, 我 第 一 次 參 加 宿 營, 離 開 父 母, 自 己 照 顧 自 己, 出 發 前, 我 的 心 情 十 分 緊 張 當 到 達 目 的 地 後

096STUT DOC

2005 5,,,,,,,,,,,,,,,,, , , 2174, 7014 %, % 4, 1961, ,30, 30,, 4,1976,627,,,,, 3 (1993,12 ),, 2

2-7.FIT)

问 她! 我 们 把 这 只 手 机 举 起 来 借 着 它 的 光 看 到 了 我 老 婆 正 睁 着 双 眼 你 在 干 什 么 我 问, 我 开 始 想 她 至 少 是 闭 着 眼 睛 在 yun 酿 睡 意 的 我 睡 不 着 她 很 无 辜 地 看 着 我 我 问 她 yun 酿 的 yu

影響新產品開發成效之造型要素探討

第一章 出口退税制改革的内容

TX-NR3030_BAS_Cs_ indd




國 史 館 館 刊 第 23 期 Chiang Ching-kuo s Educational Innovation in Southern Jiangxi and Its Effects ( ) Abstract Wen-yuan Chu * Chiang Ching-kuo wa

Microsoft Word - p11.doc

C doc

101 年 全 國 高 職 學 生 實 務 專 題 製 作 競 賽 暨 成 果 展 報 告 書 題 目 :Beat CNN`s Report, 驚 艷 外 國 人 的 嘴 - 皮 蛋 之 大 改 造 指 導 老 師 : 林 佩 怡 參 賽 學 生 : 胡 雅 吟 楊 椀 惇 張 毓 津 許 巧 文

(Microsoft Word - \262\263\250\245\260\ _combined version-2)

VASP应用运行优化

72 (2001) group waves. Key words: Correlation coefficient for consecutive wave heights, mean run length (1993) (1996) (1998) (1999) (1993) (

南華大學數位論文

Microsoft Word - 11月電子報1130.doc


~ 10 2 P Y i t = my i t W Y i t 1000 PY i t Y t i W Y i t t i m Y i t t i 15 ~ 49 1 Y Y Y 15 ~ j j t j t = j P i t i = 15 P n i t n Y

C o n t e n t s Acceptance Allow Love Apologize Archangel Metatron Archangel Michael Ask for

國立中山大學學位論文典藏.PDF


錫安教會2015年11月29日分享

南華大學數位論文

59-81

中國傳統醫學及養生保健學說中,與經脈及穴道有密不可分的關係

摘 要 互 联 网 的 勃 兴 为 草 根 阶 层 书 写 自 我 和 他 人 提 供 了 契 机, 通 过 网 络 自 由 开 放 的 平 台, 网 络 红 人 风 靡 于 虚 拟 世 界 近 年 来, 或 无 心 插 柳, 或 有 意 噱 头, 或 自 我 表 达, 或 幕 后 操 纵, 网 络

98性別平等.indb

ΧΧΧΧ课程教学大纲(黑体,三号,段后1行)

運動表現與媒體曝光率關聯性探討-以民生報報導中華職棒為例

(2005 (2006, (2006 ( , ( ,,,,,, ( (ASFR ASFR : x, B x x, P f x x (1 (2 4,, , 2 1 :, 1 2, 20-29

- I -

目 錄 實 施 計 畫 1 專 題 演 講 因 應 十 二 年 國 民 基 本 教 育 課 程 綱 要 學 校 本 位 課 程 的 整 體 布 局 A-1 推 動 十 二 年 國 民 基 本 教 育 課 程 綱 要 相 關 配 套 措 施 A-10 分 組 研 討 法 規 研 修 B-1 課 程 教

國家圖書館典藏電子全文

川 外 250 人, 上 外 222 人, 广 外 209 人, 西 外 195 人, 北 外 168 人, 中 南 大 学 135 人, 西 南 大 学 120 人, 湖 南 大 学 115 人, 天 外 110 人, 大 连 外 国 语 学 院 110 人, 上 海 外 事 学 院 110 人,

Microsoft Word - 09王充人性論_確定版980317_.doc

國立桃園高中96學年度新生始業輔導新生手冊目錄

Microsoft Word - 十月號.doc

9330.doc


[ 13 年 12 月 06 日, 下 午 6 点 24 分 ] Intel Hosts 新 加 入 的 同 学 们, 快 去 听 听 在 线 宣 讲 会 哦, 同 时 完 成 页 面 下 方 有 奖 调 查, 就 有 资 格 参 与 大 奖 抽 取 啦! [ 13 年 12 月 06 日, 下 午

600 现 代 药 物 与 临 床 Drugs & Clinic 第 31 卷 第 5 期 2016 年 5 月 were significantly decreased, but the levels of IL-12 in two groups were significantly increa

國家圖書館典藏電子全文

18 A B S 17.44±1() ±6.26( ) 54.23±5.5( ) 6.42±1.51() m 30m t α =.05 ( )AB 1 5 (p>.05)( )AB 1 5 (p<.05)( )A (p>.05)( )B (p<.05)( )A B

元代題畫女性詩歌研究

When the rejection rule for a test at every level α can be re-written as then xxx is the p-value of the test. xxx < α, If p-value < α, then the test c

Z-I A b Z-I A b Z Z-I A A b Z-I Miller [5] Z i I i Z-I [6] Z-I Z-I Z-I Z-I Z I Wilson [7] 1970 [8] [9] 20.32% Sasaki [10] Nino- miya [11] [12]

Microsoft Word - 24.doc

1362 A Research on the Performance of Probability Concepts on Sixth-Grade Students Hsin-Chien Tsai Chi-Tsuen Yeh National University of Tainan Abstrac

PowerPoint Presentation



国 培 简 讯 国 培 计 划 (2012) 示 范 性 集 中 培 训 项 目 国 培 计 划 (2012) 中 小 学 教 师 示 范 性 集 中 培 训 暨 中 西 部 农 村 教 师 集 中 培 训 中 小 学 骨 干 教 师 北 京 外 国 语 大 学 英 语 学 科 研 修 项 目 毕

<4D F736F F D D31332DA655B0CFB9EAAC49A5AEA8E0B942B0CAB943C0B8BDD2B57BB27BAA70A4C0AA522D2D2DBBB2A46A >

Time Estimation of Occurrence of Diabetes-Related Cardiovascular Complications by Ching-Yuan Hu A thesis submitted in partial fulfillment of the requi

Chapter 24 DC Battery Sizing

國立中山大學學位論文典藏.PDF

( 一 ) 實 習 的 時 候 就 和 讀 書 會 的 同 學 一 起 把 陳 嘉 陽 紮 實 地 讀 過 一 遍 了, 也 因 此 在 考 完 教 檢 之 後, 我 們 只 有 把 不 熟 或 是 常 考 的 章 節 再 導 讀 一 次 ( 例 如 : 統 計 行 政 法 規 ), 主 力 則 是

Microsoft Word - 第四組心得.doc

Settlement Equation " H = CrH 1+ e o log p' o + ( p' p' c o! p' o ) CcH + 1+ e o log p' c + p' f! ( p' p' c c! p' o ) where ΔH = consolidation settlem

ii

2005硕士论文模版

211 better than those in the control group, with significant difference between two groups (P < 0.05). The ocular hypertension of patients in the cont

管 理 科 学 软 科 学 2013 年 6 月 第 27 卷 第 6 期 ( 总 第 162 期 ) 变 量 选 择 1 CAR i i CSP / 2 /


論法院作成出版品禁止發行之衡量標準

Chinese Journal of Applied Probability and Statistics Vol.25 No.4 Aug (,, ;,, ) (,, ) 应用概率统计 版权所有, Zhang (2002). λ q(t)

Transcription:

Research Analysis MICHAEL BERNSTEIN CS 376

Last time What is a statistical test? Chi-square t-test Paired t-test 2

Today ANOVA Posthoc tests Two-way ANOVA Repeated measures ANOVA 3

Recall: hypothesis testing

Anatomy of a statistical test If your change had no effect, what would the world look like? No difference in means No slope in relationship This is known as the null hypothesis 5

Anatomy of a statistical test Given the difference you observed, how likely is it to have occurred by chance? Probability of seeing a mean difference at least this large, by chance, is 0.012 Probability of seeing a slope at least this large, by chance, is 0.012 6

Errors Difference exists? Y N Y True positive Type 1 error publish false findings Difference detected? N Type 2 error get more data? True negative 7

Errors 8

p-value The probability of seeing the observed difference by chance In other words, P(Type I error) Typically accepted levels: 0.05, 0.01, 0.001 9

ANOVA

t-test: compare two means Do people fix more bugs with our IDE bug suggestion callouts? 11

ANOVA: compare N means Do people fix more bugs with our IDE bug suggestion callouts, with warnings, or with nothing? 12

Rough intuition for ANOVA test How much of the total variation can be accounted for by looking at the means of each condition? Ȳ 2 Ȳ 2 Ȳ Ȳ Ȳ Ȳ 1 1 total deviation from grand mean deviation of factor mean from grand mean deviation of response from factor mean 13

ANalysis Of VAriance (ANOVA) Degrees of freedom: how many values can vary? (Using n and r) Degrees of freedom in individual data points: n - 1 Degrees of freedom in factor level averages: r - 1 Combined: n - r 14

Finally: run the test! How large is the value we constructed from the F distribution? Test if F >F(1 ; r 1,n r) factor error ( what s left ) 3 factor levels hopefully F(2,21) p <.001 24 observations top >> bottom 15

Reporting an ANOVA A one-way ANOVA revealed a significant difference in the effect of news feed source on number of likes (F(2, 21)=12.1, p<.001). 16

Posthoc tests

ANOVA! Are we done no Significant means One of the µ i are different. That s not very helpful: There is some difference between populating the Facebook news feed with friends vs. strangers vs. only Michael s status updates 18

Estimating pairwise differences Which pairs of factor levels are different from each other? 90.0 67.5 Mean likes 45.0 22.5 0.0 Friend feed Stranger feed Michael feed 19

Roughly: we do pairwise t-tests 90.0 Mean likes 67.5 45.0 t >t(1 ; n r) t >t(1 ; n r) t >t(1 ; n r) 22.5 0.0 Friend feed Stranger feed Michael feed 20

But familywise error! =.05 implies a.95 probability of being correct If we do m tests, the actual probability of being correct is now: m =.95.95.95... <.95 21

Bonferroni correction Avoid familywise error by adjusting to be more conservative Divide by the number of comparisons you make 4 tests at =.05 implies using =.0125 Conservative but accurate method of compensating for multiple tests 22

Bonferroni correction 23

Tukey test Less conservative than Bonferroni Compares all pairs of factor level means 24

Reporting Posthoc tests using Bonferroni correction revealed that friend feed and Michael feed were significantly better than a stranger feed (p<.05), but the two were not significantly different from each other (p=.32). 25

Two-way ANOVA

Crossed study designs Suppose you wanted to measure the impact of two factors on total likes on Facebook: Strong ties vs. weak ties in your news feed Presence of a reminder of the last time you liked each friend s content (e.g., You last liked a story from John Hennessy in January ) This is a 2 x 2 study: two factor levels for each factor {tie strength, reminder} 27

Interaction effects Sometimes the basic model doesn t capture subtle interactions between factors Data: People who see strong ties and have a reminder are especially active Result: Grand mean 8, strong tie mean 11, reminder mean 7, but mean in this cell is 20 28

Two-factor ANOVA test Test for main effects and interaction factor or interaction SS MS F p Main effects are significant, but interaction effect is also significant 29

Significant interaction? Significant interactions mean that you can t just report the main effects the story is more complicated Inspect to figure it out: Pen Touch Technique A 15.3 21.1 Technique B 23.9 33.1 Technique C 32.9 44.9 The slower techniques (B, C) harm Touch more than Pen 30

Repeated measures ANOVA

Within-subjects studies Control for individual variation using the mean response for each participant Before: we found the mean effect of each treatment Now: we find the mean effect of each participant 32

Repeated measures in R repeated measures error term effect of subtracting out the participant means remaining main effects 33

All together now

Always follow every step! 1. Visualize the data 2. Compute descriptive statistics (e.g., mean) 3. Remove outliers >2 standard deviations from the mean 4. Check for heteroskedasticity and non-normal data Try log, square root, or reciprocal transform ANOVA is robust against non-normal data, but not against heteroskedasticity 5. Run statistical test 6. Run any posthoc tests if necessary 35