PSYB03H3 Lecture Notes - Lecture 10: Test Statistic, Null Hypothesis, Standard Deviation

79 views5 pages
School
Department
Course
Professor

Document Summary

178, 177. 5; 220, 210, 205]): >> patient(2) = struct("name", "ann lane", "billing", 28. 5, "test", [68, 70, 68; 118, accessing information in structures example: want to find name of patient 1 and patient 2"s. 118, 119; 172, 170, 169]); result on test: >> patient(1). name ans = john doe, >> patient(2). test(3,1) ans = 172 170. If the null hypothesis is rejected at the 5% significance level, then h is 1; otherwise h is 0: p = p-value, behavioural task example: accuracy seems to be different from chance, >> [h, p] = ttest(x, 50) Clara rebello: h = 1, p = 0. 0278. A one-tailed test is needed: >> [h,p,ci,stats] = ttest(x, 50, "tail", "right", h = 1, p = 0. 0139, ci = 51. 5928. 54 56 59 54: >> patients = [51 53 50 53 54 48. 53 55 52 60: >> histogram(controls); figure; histogram(patients)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents