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
欧路云怎么样?欧路云主要运行弹性云服务器,可自由定制配置,可选加拿大的480G超高防系列,也可以选择美国(200G高防)系列,也有速度直逼内地的香港CN2系列。所有配置都可以在下单的时候自行根据项目 需求来定制自由升级降级 (降级按天数配置费用 退款回预存款)。2021年7月14日美国 CERA 弹性云服务器 上新 联通CUVIP 线路!8折特惠中!点击进入:欧路云官方网站地址付款方式:PayPa...
近日CloudCone发布了最新的补货消息,针对此前新年闪购年付便宜VPS云服务器计划方案进行了少量补货,KVM虚拟架构,美国洛杉矶CN2 GT线路,1Gbps带宽,最低3TB流量,仅需14美元/年,有需要国外便宜美国洛杉矶VPS云服务器的朋友可以尝试一下。CloudCone怎么样?CloudCone服务器好不好?CloudCone值不值得购买?CloudCone是一家成立于2017年的美国服务器...
鲨鱼机房(Sharktech)我们也叫它SK机房,是一家成立于2003年的老牌国外主机商,提供的产品包括独立服务器租用、VPS主机等,自营机房在美国洛杉矶、丹佛、芝加哥和荷兰阿姆斯特丹等,主打高防产品,独立服务器免费提供60Gbps/48Mpps攻击防御。机房提供1-10Gbps带宽不限流量服务器,最低丹佛/荷兰机房每月49美元起,洛杉矶机房最低59美元/月起。下面列出部分促销机型的配置信息。机房...
let美人3为你推荐
国内虚拟主机国内最好的虚拟主机免费注册域名怎么注册免费域名?vps虚拟主机VPS主机、虚拟主机和云主机 它们之间有什么区别?它们哪一个比较好?vps主机vps主机好吗?是不是垃圾?免费虚拟主机申请永久免费虚拟主机网站服务器租用个人网站服务器租用一年多少钱成都虚拟空间成都市规划信息技术中心如何?asp网站空间说ASP空间是做网站的空间是啥意思?上海虚拟主机谁能告诉我杭州哪个公司的虚拟主机最好,机房最好是上海或浙江的.天津虚拟主机天津APP开发的比较专业的公司有哪些?
域名网站 plesk hostgator bluevm linode代购 tier 国内永久免费云服务器 紫田 godaddy域名转出 win8升级win10正式版 e蜗牛 dd444 创梦 网站木马检测工具 idc是什么 100mbps paypal注册教程 银盘服务是什么 路由跟踪 帽子云排名 更多