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
ttcloud怎么样?ttcloud是一家海外服务器厂商,运营服务器已经有10年时间,公司注册地址在香港地区,业务范围包括服务器托管,机柜托管,独立服务器等在内的多种服务。我们后台工单支持英文和中文服务。TTcloud最近推出了新上架的日本独立服务器促销活动,价格 $70/月起,季付送10Mbps带宽。也可以跟进客户的需求进行各种DIY定制。点击进入:ttcloud官方网站地址TTcloud拥有自...
弘速云怎么样?弘速云是创建于2021年的品牌,运营该品牌的公司HOSU LIMITED(中文名称弘速科技有限公司)公司成立于2021年国内公司注册于2019年。HOSU LIMITED主要从事出售香港vps、美国VPS、香港独立服务器、香港站群服务器等,目前在售VPS线路有CN2+BGP、CN2 GIA,该公司旗下产品均采用KVM虚拟化架构。可联系商家代安装iso系统,目前推出全场vps新开7折,...
久久网云怎么样?久久网云好不好?久久网云是一家成立于2017年的主机服务商,致力于为用户提供高性价比稳定快速的主机托管服务,久久网云目前提供有美国免费主机、香港主机、韩国服务器、香港服务器、美国云服务器,香港荃湾CN2弹性云服务器。专注为个人开发者用户,中小型,大型企业用户提供一站式核心网络云端服务部署,促使用户云端部署化简为零,轻松快捷运用云计算!多年云计算领域服务经验,遍布亚太地区的海量节点为...
let美人3为你推荐
域名购买如何申请购买 永久域名国外网站空间国内空间 美国空间 香港空间相比较,哪个好?论坛虚拟主机最适合做论坛的虚拟主机是什么?深圳虚拟主机需要一个虚拟主机???很急!!华众虚拟主机管理系统华众虚拟主机管理系统怎样才能使用支付宝的双功能支付接口或者担保交易的支付接口中文域名中文域名是什么域名交易域名交易的流程是怎么样的?域名服务器什么是服务器和域名org域名.org域名和.com哪个域名好?域名估价想卖域名,帮忙估价
google电话 80vps ion 分销主机 铁通流量查询 193邮箱 hostker 合租空间 softbank邮箱 hkg 泉州移动 网游服务器 web服务器安全 注册阿里云邮箱 免费主页空间 双十二促销 上海联通 vim命令 vpsaa 紫田网络 更多