医学医学统计学6Chisquaretest课件

上传人:txadgkn****dgknqu... 文档编号:242764943 上传时间:2024-09-03 格式:PPTX 页数:68 大小:891.55KB
返回 下载 相关 举报
医学医学统计学6Chisquaretest课件_第1页
第1页 / 共68页
医学医学统计学6Chisquaretest课件_第2页
第2页 / 共68页
医学医学统计学6Chisquaretest课件_第3页
第3页 / 共68页
点击查看更多>>
资源描述
单击此处编辑母版标题样式,#,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,单击此处编辑母版标题样式,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,#,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,#,单击此处编辑母版标题样式,医学医学统计学6Chisquaretest课件,1,Medical Statistics (full English class),Ji-Qian Fang,School of Public Health,Sun Yat-Sen University,Medical Statistics (full Engl,2,Chapter 10,Statistical Analysis of Enumeration Data,Chapter 10,3,医学医学统计学6Chisquaretest课件,4,医学医学统计学6Chisquaretest课件,5,10.1 Statistical Description for enumeration data,10.1 Statistical Description,6,Absolute measure:,The numbers counted for each category (frequencies),The absolute measure can hardly be,used for comparison between,different populations.,7,1. Relative measure,Three kinds of relative measures:,Frequency (Proportion),Intensity (Rate),Ratio,1. Relative measure,8,(1) Relative Frequency,Note: The Chinese text book is wrong!,It is not “rate”!,It is proportion or frequency!,(1) Relative FrequencyNote: Th,9,Example 10-1(P.304, revised),Question: Which grade has the most serious condition of,myopias?,Example 10-1(P.304, revised) Q,10,Prevalence rates describe :,P(Myopia,|First grade),P(Myopia,|Second grade),P(Myopia,|Third grade),Constitute among myopias describe:,P(,First grade,|,Myopia,),P(,Second grade,|,Myopia,),P(,Third grade,|,Myopia,),Which grade has the most serious condition of myopias?,Answer:,P(Myopia,|Third grade) = Maximum,-The third grade,has the highest prevalence of myopias,P(,Second grade,|,Myopia,)= Maximum,- Among the myopias, the absolute number of Second grade,students is the highest.,Prevalence rates describe :,11,(2) Intensity,Example A smoking population had followed up for 562833 person-years, 346 lung cancer cases were found.,The incidence rate of lung cancer in the smoking population is :,Incidence rate =346/562833,=61.47 per 100,000 person-year,(2) IntensityExample A smoki,12,Example The mortality rate of liver cancer in Guangzhou is 32 per 100,000 per year.,Example The mortality r,13,In general,Denominator: Sum of the person-years observed in the period,Numerator: Total number of the event appearing in the period,Unit: person/person year, or 1/Year,Nature: the relative frequency per unit of time.,In general,14,(3) Ratio,Ratio,is a number divided by another related number,Examples,Sex ratio of students in this class:,No. of males : No. of females = 52%,Coefficient of variation:,CV=SD/mean,Ratio of time spent per clinic visit:,Large hospital : Community health station,= 81.9 min. : 18.6 min. = 4.40,(3) Ratio Ratio is a number,15,2. Caution in use of relative measures,a.The denominator should be big enough! Otherwise the absolute measure should be used.,Example: Out of 5 cases, 3 were cured 60% ?,b. Attention to the population where the relative measure comes from.,Mistake in the textbook (P.305) :,“Distinguish between constitutes and proportion” !?,We should say,“Distinguish between Prevalence rate and Constitute among patients”,Prevalence rate: Population is the students in the,same grade,Constitutes: Population is all the patients,2. Caution in use of relative,16,The above two frequency distributions reflect two,populations of all patients,;,To describe the prevalence rate, one has to look at the,general population,;,The above two frequency distr,17,c. Pooled estimate of the frequency,Pooled estimate,=,numerators /,denominators,Example:,The prevalence of myopia among 3 grades, (15.16+15.89+18.37)/3,The prevalence of myopia among 3 grades,= (67+68+56)/(442+428+305),= 192/1175,= 16.34,d. Comparability between frequencies or between frequency distributions Notice the balance of other conditions,c. Pooled estimate of the freq,18,e. If the distributions of other variables are different, to improve the comparability, “Standardization” is needed.,f. To compare two samples, hypothesis test is needed. (See Chi square test),The following will emphasize the above two points:,Standardization,Hypothesis test,e. If the distributions of oth,19,3. Standardization for crude frequency or crude intensity,Crude incidence rate of city A=28.96;,Crude incidence rate of city B=35.03,- Strange!?,They are not comparable !,- Because the constitute are quite different,Table 10-3 Incidence rates of infectious diseases, children of two cities,3. Standardization f,20,Standardized incidence rate of city A = 793/24767 = 32.02,Standardized incidence rate of city B = 3523/24767 = 21.12,Two steps:,Select a standard population taking as “weight”,Weighted average of the actual incidence ratesdirect standardization rate,Standardized incidence rate of,21,Known: Age specific populations,N,i,1,N,i,2,; Total no.of deaths,D,i,1,=432,D,i,2,=210,Select a set of standard,mortality rates,Standard mortality ratio: SMR,1,=,D,i,1,/,N,i,1,P,i,=,432/100.67 = 4.2912 (smoker),SMR,2,=,D,i,2,/,N,i,2,P,i,=,210/100.67 = 0.8620 (non-smoker),Standardized mortality rate P,1,=34.60,SMR,1,=148.48 (1/10,5,),P,2,=34.60,SMR,2,=29.83 (1/10,5,),Known: Age specific population,22,10.2 Statistical Inference,for,Enumeration Data,医学医学统计学6Chisquaretest课件,23,医学医学统计学6Chisquaretest课件,24,1. Sampling error of frequency,Example Suppose the death rate is 0.2, if the rats,are fed with a kind of poison.,What will happen when we do the experiment on,n,=1, 2, 3 or 4 rat(s)?,1. Sampling error of frequency,25,医学医学统计学6Chisquaretest课件,26,In general,Supposed the population proportion is, sample size =,n,The frequency is a random variable,When,is unknown and,n,is big enough, is approximately equal to,In general,27,Example 10-5 HBV Surface antigen. 200 people were tested, 7 positive.,Example 10-5 HBV Surface a,28,If the sample size,n,is big enough, and observed frequency is,p, then we have approximately,If the sample size n is big,29,2. Confidence Interval of Probability,If the sample size n is big enough,and observed frequency is,p, then,95% Confidence interval,99% Confidence interval,2. Confidence Interval of Prob,30,Example 10-5 HBV Surface antigen. 200 people were tested, 7 positive.,Example 10-5 HBV Surface a,31,医学医学统计学6Chisquaretest课件,32,3. The hypothesis testing of proportion (u test),1. Comparison of sample proportion and population proportion,Example 10.6 Cerebral infarction,Cases Cure rate,New Method 98 50%,Routine 30%,3. The hypothesis testing of p,33,Statistic,u,Decision rule,If , then reject,Otherwise, no reason to reject (accept ),Since , reject,Statistic u,34,2. Comparison of two sample proportions,Example 10.7,Carrier rate of Hepatitis B,City: 522people were tested, 24 carriers, 4.06% (population carrier rate:,1,),Countryside: 478people were tested, 33 carriers, 6.90% (population carrier rate:,2,),2. Comparison of two sample pr,35,Pooled estimate,Standard error of,P,1,-,P,2,Pooled estimate,36,Statistic,u,Decision rule,If , then reject,Otherwise, no reason to reject (accept ),Since , not reject,Statistic u,37,Summary,The parameter estimation and hypothesis testing of proportion are based on the normal approximation (when sample size is big enough),How big is enough?,By experience,n, 5 and,n,(,1-,),5,If the sample,size is not big,u,test cant be used and there is no,t,-test for proportion. (see more detailed text book),SummaryThe parameter estimatio,38,10.3 Chi-square test,10.3 Chi-square test,39,The,u,test,can only be used for,comparing,with a given,0,(one sample),or comparing,1,with,2,(two samples).,If we need to compare more than,two samples,Chi-square test,is widely,used.,The u test can only be u,40,1. Basic idea of,2,test,Given a set of observed frequency distribution,A,1,A,2,A,3,to test whether the data follow certain theory.,If the theory is true, then we will have a set,of theoretical frequency distribution:,T,1,T,2,T,3,Comparing,A,1,A,2,A,3, and,T,1,T,2,T,3,If they are quite different, then the theory might not be true;,Otherwise, the theory is acceptable.,1. Basic idea of 2 testGiven,41,Example10-8,Acute,lower respiratory infection,Treatment,Effect,Non-effect,Total,Effect rate,Drug A,68(64.82),a,6(9.18),b,74 (,a,+,b,),91.89 %,Drug B,52(55.18),c,11(7.82),d,63(,c,+,d,),82.54 %,Total,120 (,a,+,c,),17 (,b,+,d,),137,53.59 %,(2) Chi-square test for 2,2,table,H,0,:,1,=,2,H,1,:,1,2,=0.05,To calculate the theoretical frequencies,If,H,0,is true,1,=,2,120/137,T,11,=74120/137 =64.82,T,21,=63120/137=55.18,T,12,=7417/137 =9.18,T,22,=6317/137=7.82,Example10-8 Acute lower respi,42,To compare A and T by a statistic,2,If,H,0,is true,2,follows a chi-square,distribution.,=(row-1)(column-1),If the,2,value is big enough, we doubt,about,H,0, then reject,H,0,!,医学医学统计学6Chisquaretest课件,43,To Example10-8,=(row-1)(column-1)=(2-1)(2-1)=1,2,0.05(1),=3.84,Now,2,=2.7340.05,H,0,is not rejected.,We have no reason to say the effects of two treatments are different.,To Example10-8 ,44,For,2,2,table, there is a specific formula of chi-square calculation:,To Example10-8,For 22 table, there is a sp,45,Large sample is required,(1),N,40,T,i,5,N,40,(2)If,n, 40 or,T,i, 1,2,test is not applicable,(3)If,N,40,1,T,i,40),Otherwise, needs adjustment,If,the,2,value is,too big, then reject,H,0,H0: 1=2, H1: 12, =0.05,50,Example10-10,:,=1,4.92,3.84,P,0.05,H,0,is rejected,Conclusion: There is significant difference in positive rates between the two diagnosis methods.,Since,P,A,2, “,H,0,is rejected”only means there is difference among some groups. Does not necessary mean that all the groups are different.,(3),The,2,test requires large sample :,By experience,The theoretical frequencies should be greater than 5 in more than 4/5 cells;,The theoretical frequency in any cell should be greater than 1.,Otherwise, we can not use chi-square test directly.,Caution:,54,If the above requirements are violated, what should we do?(1) Increase the sample size.(2) Re-organize the categories, Pool some categories, or Cancel some categories,Think: In fact, it is not appropriate to use a Chi-square test for Example 10-10 in the textbook. Why?,If the above requirements are,55,医学医学统计学6Chisquaretest课件,56,医学医学统计学6Chisquaretest课件,57,更多精品文档,请点击: 松下幸之助,人的一生,总是难免有浮沉。不会永远如旭日东升,,59,成功人生八大心态,成功人生八大心态,60,一、成功者的心态(老板的心态),天生赢家,为成功而生,责任,老板的心态,一、成功者的心态(老板的心态)天生赢家,61,二、学习的心态,学习是通向未来的护照,空杯归零,低头,以身作则,盗版,学到,做到,教到,二、学习的心态学习是通向未来的护照,62,三、合作的心态,环境改变人,1+1 2,雁群飞翔,-,合作,天时,-,地利,-,人和,三、合作的心态环境改变人,63,四、付出的心态,四、付出的心态,64,五、积极 的心态,平常心,平等心,包容心,五、积极 的心态平常心,65,六、吃苦耐劳的心态,六、吃苦耐劳的心态,66,七、坚持的心态,七、坚持的心态,67,八、感恩的心态,感恩国家、社会、董事长、推荐人伙伴,父母,另一半,子女,八、感恩的心态感恩国家、社会、董事长、推荐人伙伴,68,
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > PPT模板库


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!