observationslet美人3

let美人3  时间:2021-01-15  阅读:()
CDAChapter3partIITwo-waytableswithorderedclasscationsLetu1≤u2≤.
.
.
≤uIdenotescoresfortherowvariableX,andletν1≤ν2≤.
.
.
≤νJdenotecolumnYscores.
ConsiderthehypothesisH0:XandYareindependentVSH1:YisalinearfunctionofXMantel-Haenszel(MH)statisticM2=(n1)r2whereristhePearsoncorrelationcoecientbetweenXandYbasedontheabovescores.
Forlargesample,M2isapproximatelychi-squaredwithdf=1.
Example:IshappinessassociatedwithpoliticalideologyWithscores(1,2,3)foreachvariable,thecorrelationisr=0.
135.
ThelineartrendteststatisticM2=(3211)(0.
135)2=5.
85Thisshowsstrongevidenceofassociation(P=0.
016)SensitivitytochoiceofscoresCochran(1954)notedthat".
.
.
Ifthesetofscoresispoor,inthatitbadlydistortsanumericalscalethatreallydoesunderlietheorderedclassication,thetestwillnotsensitive"Formostdatasets,dierentchoicesofmonotonescoresgivesimilarresultsScoresthatarelineartransformsofeachother,suchas(1,2,3,4)and(0,2,4,6),havethesameabsolutecorrelationandhencethesameM2.
Resultsmaydependonthescores,whendataarehighlyunbalanced,withsomecategorieshavingmanymoreobservationsthanothers.
Itisusuallybettertoselectscoresthatreectperceiveddistancesbetweencategories.
SensitivitytochoiceofscoresEquallyspacedscoresoftenprovideareasonablecompromisewhencategoricallabelsdonotsuggestobviouschoicesWhenunsure,dosensitivityanalysisandcheckwhetherresultsaresimilarIfyouchooseasetofscores,andgetasignicantresult,thenthissuggeststhatrowandcolumnarenotindependent.
However,youshouldn'tkeepchoosingalotofdierentscoresuntilyougetasignicantresult.
Example:InfantbirthdefectsbymaternalalcoholconsumptionWithYscore{1,2,3,4,5},M2=1.
83andP=0.
18WithYscoreasmidranks{(1+17,114)/2,24,365.
5,32,013,32,473,32,555.
5},M2=0.
35andP=0.
55WithYscore{0,0.
5,1.
5,4.
0,7.
0},M2=6.
57andP=0.
01MonotonetrendalternativestoindependenceConsiderthehypothesis:H0:XandYareindependentVSH1:YisamonotonefunctionofXGammateststatistic:z=γ/SEwhereSEisthestandarderrorofγdrivedbasedonthedeltamethod.
UnderH0,zfollowsastandardnormaldistribution.
Fortheexampleonhappinessandpoliticalideology,γ=0.
185,z=0.
185/0.
078=2.
37andthetwosidedP=0.
018.
Anapproximate95%CIforγis0.
185±1.
96(0.
078)=(0.
032,0.
338)Thetrueassociationseemstoberelativelyweak.
ExtrapowerwithordinaltestsConsiderthesameexampleofhappinessandpoliticalideology,Ignoringtheorderingofthecategories,Pearsonchi-squaredstatisticsfortestingindependenceisX2=7.
07withdf=4,P=0.
13MHtestisM2=5.
85withdf=1,P=0.
016Gammatestz=2.
37,P=0.
018Thelattertwoareordinaltestswhichhavemorepowerinthisexamplebecausetheyaredesignedtodetectlinearormonotonepatterns,whereastheX2andG2refertothemostgeneralalternative,wherebycellprobabilitiesexhibitanytypeofstatisticaldependence.
Trendtestsfor2XJtablesUsingscoresfortheYvariable,contructtheMHtest,whichdetectdierencesbetweenthetworowmeansofthescoresonYWithmidrankscoresforY,theMHtestisalsocalledWilcoxonorMann-Whitneytest.
Itistwo-samplet-testwithranks.
TheMHtestisalsoequivalenttothetestbasedonz=CDSE0whereCandDarenumbersofconcordantanddiscordantpairsrespectively.
FindscoreCIforthemeasure=P(Y1>Y2)P(Y2>Y1)NominalXordinaltablesandIX2tablesExtensiontoanominalrowvariablewithmorethantwocategories,theMann-WhitneytestextendstoKruskal–WallistestwhichisANOVAtestonranksoftheYvalues.
InIX2tables,Yisbinary.
Thelineartrendstatisticthenreferstoalineartrendintheprobabilityofeitherresponsecategory,suchastheprobabilityofmalformationasafunctionofalcohoconsumption.
Thetestinthiscase,oftencalledCochran-Armitagetrendtest,whichisalsorelatedtologisticregression.
Small-sampleinferenceforcontingencytablesSmall-sampleinferenceforcontingencytablesConditionalontherowandcolumnmargins,theprobabilityofallpossibletables.
Letθbetheoddsratio.
ConsidertheonesidedhypothesisH0:θ=1vsH1:θ>1TheP-valueequalsthesumoftheprobabilitiesofthetablesthathavelargen11,thereforePvalue=0.
0238.
Fisher'sexacttestfor2x2tablesConditioningonbothsetsofmarginaltotals,Fisher'sexactteststatisticisthetableprobabilityFisher'sexacttestfor2x2tablesFortheone-sidedalternative,thesameP-valueresultsusingtablesorderedaccordingtolargern11,largeroddsratio,orlargerdierenceofproportions.
Foratwo-sidedalternative,themostcommonapproachsumsprobabilitiesofequallyorlesslikelytables,thatis,Pvalue=P(p(n11)≤p(to))fortheobservedvaluetoInthepreviousexample,thetwosidedP-valueis0.
0238+0.
0238=0.
0476

提速啦(69元起)香港大带宽CN2+BGP独享云服务器

香港大带宽服务器香港大带宽云服务器目前市场上可以选择的商家十分少,这次给大家推荐的是我们的老便宜提速啦的香港大带宽云服务器,默认通用BGP线路(即CN2+BGP)是由三网直连线路 中国电信骨干网以及HGC、NTT、PCCW等国际线路混合而成的高品质带宽(精品带宽)线路,可有效覆盖全球200多个国家和地区。(适用于绝大部分应用场景,适合国内外访客访问,域名无需备案)提速啦官网链接:点击进入香港Cer...

RangCloud19.8元/月,香港cn2云主机,美国西雅图高防云主机28元/月起

rangcloud怎么样?rangcloud是去年年初开办的国人商家,RangCloud是一家以销售NAT起步,后续逐渐开始拓展到VPS及云主机业务,目前有中国香港、美国西雅图、韩国NAT、广州移动、江门移动、镇江BGP、山东联通、山东BGP等机房。目前,RangCloud提供香港CN2线路云服务器,电信走CN2、联通移动直连,云主机采用PCle固态硬盘,19.8元/月起,支持建站使用;美国高防云...

数脉科技:香港服务器低至350元/月;阿里云CN2+BGP线路,带宽10M30M50M100M

数脉科技(shuhost)8月促销:香港独立服务器,自营BGP、CN2+BGP、阿里云线路,新客立减400港币/月,老用户按照优惠码减免!香港服务器带宽可选10Mbps、30Mbps、50Mbps、100Mbps带宽,支持中文本Windows、Linux等系统。数脉香港特价阿里云10MbpsCN2,e3-1230v2,16G内存,1T HDD 或 240G SSD,10Mbps带宽,IPv41个,...

let美人3为你推荐
网络服务器租用服务器租用 使用方法php虚拟空间怎样修改php虚拟空间单个文件上传大小限制网站空间购买网站空间购买注意事项虚拟主机管理系统推荐几个适合windows的免费虚拟主机管理系统淘宝虚拟主机请问在淘宝的代购国外虚拟主机可以买吗?四川虚拟主机222.214.218.100 请问这个IP是哪个服务商提供的?沈阳虚拟主机为什么修改了虚拟机Vmware的TCP/IP配置以后就上不了网中文域名中文域名有哪些?花生壳域名如何使用花生壳免费域名org域名.org域名注册有什么要求么
域名中介 国外服务器租用 广州主机租用 美国vps评测 希网动态域名 主机屋 sharktech 42u机柜尺寸 河南服务器 台湾谷歌网址 合肥鹏博士 申请个人网站 vip购优汇 seednet cdn联盟 699美元 百度云1t 如何用qq邮箱发邮件 空间登录首页 1元域名 更多