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
DMIT怎么样?DMIT最近动作频繁,前几天刚刚上架了日本lite版VPS,正在酝酿上线日本高级网络VPS,又差不多在同一时间推出了美国cn2 gia线路不限流量的美国云服务器,不过价格太过昂贵。丐版只有30M带宽,月付179.99美元 !!目前,美国云服务器已经有个4个套餐,分别是,Premium(cn2 gia线路)、Lite(普通直连)、Premium Secure(带高防的cn2 gia线...
近日CloudCone商家对旗下的大硬盘VPS云服务器进行了少量库存补货,也是悄悄推送了一批便宜VPS云服务器产品,此前较受欢迎的特价20美元/年、1核心1G内存1Gbps带宽的VPS云服务器也有少量库存,有需要美国便宜大硬盘VPS云服务器的朋友可以关注一下。CloudCone怎么样?CloudCone服务器好不好?CloudCone值不值得购买?CloudCone是一家成立于2017年的美国服务...
Hostodo是一家成立于2014年的国外VPS主机商,现在主要提供基于KVM架构的VPS主机,美国三个地区机房:拉斯维加斯、迈阿密和斯波坎,采用NVMe或者SSD磁盘,支持支付宝、PayPal、加密货币等付款方式。商家最近对于上架不久的斯波坎机房SSD硬盘VPS主机提供66折优惠码,适用于1GB或者以上内存套餐年付,最低每年12美元起。下面列出几款套餐配置信息。CPU:1core内存:256MB...
let美人3为你推荐
虚拟主机代理虚拟主机代理哪家好,应该选择哪个家?免备案虚拟空间备案退两次了。哪里有免备案空间虚拟主机用?100m网站空间50M的网页内容买100M的网站空间够用了没?apache虚拟主机如何用Apache配置安全虚拟主机 - PHP进阶讨论新加坡虚拟主机新加坡虚拟主机无法访问,Godaddy回邮件说是域名的问题?广西虚拟主机虚拟主机哪里的好?域名停靠“域名停靠”怎么挣钱啊?中文域名中文域名有哪些?花生壳域名花生壳域名的使用备案域名购买哪有备案好的域名购买?
高防服务器租用 双线vps 中国万网域名 pw域名 韩国加速器 流媒体服务器 免费名片模板 轻博 NetSpeeder 新站长网 阿里云浏览器 seednet lol台服官网 华为云盘 华为云服务登录 汤博乐 windowsserverr2 pptpvpn cdn免备案空间 俄勒冈州 更多