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
hostodo从2014年年底运作至今一直都是走低价促销侧率运作VPS,在市场上一直都是那种不温不火的品牌知名度,好在坚持了7年都还运作得好好的,站长觉得hostodo还是值得大家在买VPS的时候作为一个候选考虑项的。当前,hostodo有拉斯维加斯和迈阿密两个数据中心的VPS在促销,专门列出了2款VPS给8T流量/月,基于KVM虚拟+NVMe整列,年付送DirectAdmin授权(发ticket...
Hostodo近日发布了美国独立日优惠促销活动,主要推送了四款特价优惠便宜的VPS云服务器产品,基于KVM虚拟架构,NVMe阵列,1Gbps带宽,默认分配一个IPv4+/64 IPv6,采用solusvm管理,赠送收费版DirectAdmin授权,服务有效期内均有效,大致约为7折优惠,独立日活动时间不定,活动机型售罄为止,有需要的朋友可以尝试一下。Hostodo怎么样?Hostodo服务器好不好?...
飞讯云官网“飞讯云”是湖北飞讯网络有限公司旗下的云计算服务品牌,专注为个人开发者用户、中小型、大型企业用户提供一站式核心网络云端部署服务,促使用户云端部署化简为零,轻松快捷运用云计算。飞讯云是国内为数不多具有ISP/IDC双资质的专业云计算服务商,同时持有系统软件著作权证书、CNNIC地址分配联盟成员证书,通过了ISO27001信息安全管理体系国际认证、ISO9001质量保证体系国际认证。 《中华...
let美人3为你推荐
域名注册商如何成为一个域名注册商呀全能虚拟主机那家虚拟主机服务商比较不错,比较有名?域名主机域名和主机名之间的区别是什么国内免费空间国内有没有好的免费空间啊美国vps主机美国VPS好?还是香港VPS好?虚拟主机申请在哪里可以申请到虚拟主机呢大连虚拟主机上海未星网络科技有限公司是一家什么样的公司?windows虚拟主机在windows 系统上装虚拟机有什么好的建议备案域名域名一共有几种?哪些域名需要备案?备案域名购买20元左右买个已备案的域名
个人域名备案 什么是二级域名 香港vps99idc namecheap la域名 mobaxterm 免费个人博客 韩国网名大全 双拼域名 美国网站服务器 台湾谷歌 空间登录首页 可外链的相册 免备案cdn加速 googlevoice 碳云 什么是dns reboot ubuntu安装教程 远程主机强迫关闭了一个现有的连接 更多