specieslet美人2

let美人2  时间:2021-01-15  阅读:()
Titlestata.
commvtestcorrelations—MultivariatetestsofcorrelationsDescriptionQuickstartMenuSyntaxOptionsformultiple-sampletestsOptionsforone-sampletestsRemarksandexamplesStoredresultsMethodsandformulasReferencesAlsoseeDescriptionmvtestcorrelationsperformsone-sampleandmultiple-sampletestsoncorrelations.
Thesetestsassumemultivariatenormality.
See[MV]mvtestformoremultivariatetests.
QuickstartLawley'stestthatthecorrelationsofvariablesv1,v2,v3,andv4areequalmvtestcorrelationsv1v2v3v4Jennrich'stestthatthecorrelationmatrixequalshypothesizedmatrixmymatmvtestcorrelationsv1v2v3v4,equals(mymat)Jennrich'stestforequalcorrelationswithsamplesdenedbycatvarmvtestcorrelationsv1v2v3v4v5,by(catvar)MenuStatistics>Multivariateanalysis>MANOVA,multivariateregression,andrelated>Multivariatetestofmeans,covariances,andnormality12mvtestcorrelations—MultivariatetestsofcorrelationsSyntaxMultiple-sampletestsmvtestcorrelationsvarlistifinweight,by(groupvars)multisampleoptionsOne-sampletestsmvtestcorrelationsvarlistifinweight,one-sampleoptionsmultisampleoptionsDescriptionModelby(groupvars)comparesubsampleswithsamevaluesingroupvarsmissingtreatmissingvaluesingroupvarsasordinaryvaluesby(groupvars)isrequired.
one-sampleoptionsDescriptionOptionscompoundtestthatcorrelationmatrixiscompoundsymmetric(equalcorrelations);thedefaultequals(C)testthatcorrelationmatrixequalsmatrixCbootstrap,by,jackknife,rolling,andstatsbyareallowed;see[U]11.
1.
10Prexcommands.
Weightsarenotallowedwiththebootstrapprex;see[R]bootstrap.
aweightsarenotallowedwiththejackknifeprex;see[R]jackknife.
aweightsandfweightsareallowed;see[U]11.
1.
6weight.
Optionsformultiple-sampletestsModelby(groupvars)isrequiredwiththemultiple-sampleversionofthetest.
Observationswiththesamevaluesingroupvarsformeachsample.
Observationswithmissingvaluesingroupvarsareignored,unlessthemissingoptionisspecied.
AWaldtestduetoJennrich(1970)isdisplayed.
missingspeciesthatmissingvaluesingroupvarsaretreatedlikeordinaryvalues.
Optionsforone-sampletestsOptionscompound,thedefault,teststhehypothesisthatthecorrelationmatrixofthevariablesiscompoundsymmetric,thatis,thatthecorrelationsofallvariablesinvarlistarethesame.
Lawley's(1963)chi-squaredtestisdisplayed.
equals(C)teststhehypothesisthatthecorrelationmatrixofvarlistisC.
ThematrixCshouldbek*k,symmetric,andpositivedenite.
Cisconvertedtoacorrelationmatrixifneeded.
TherowandcolumnnamesofCareimmaterial.
AWaldtestduetoJennrich(1970)isdisplayed.
mvtestcorrelations—Multivariatetestsofcorrelations3Remarksandexamplesstata.
comRemarksarepresentedunderthefollowingheadings:One-sampletestsforcorrelationmatricesAmultiple-sampletestforcorrelationmatricesOne-sampletestsforcorrelationmatricesBothone-sampleandmultiple-sampletestsofcorrelationmatricesareprovidedwiththemvtestcorrelationscommand.
Theone-sampletestsincludeLawley's(1963)testthatthecorrelationmatrixiscompoundsymmetric(thatis,allcorrelationsareequal),andtheWaldtestproposedbyJennrich(1970)thatthecorrelationmatrixequalsagivencorrelationmatrix.
Example1Thegasoline-poweredmilk-truckdatasetintroducedinexample1of[MV]mvtestmeanshaspricepermileforfuel,repair,andcapital.
Wetestifthecorrelationsbetweenthesethreevariablesareequal(thatis,thecorrelationmatrixiscompoundsymmetric)usingthecompoundoptionofmvtestcorrelations.
.
usehttps://www.
stata-press.
com/data/r16/milktruck(Milktransportationcostsfor25gasolinetrucks(JohnsonandWichern2007)).
mvtestcorrelationsfuelrepaircapital,compoundTestthatcorrelationmatrixiscompoundsymmetric(allcorrelationsequal)Lawleychi2(2)=7.
75Prob>chi2=0.
0208Werejectthenullhypothesisandconcludethatthereareprobablydifferencesinthecorrelationsofthethreecostvariables.
Example2Usingtheequals()optionofmvtestcorrelations,wetestthehypothesisthatfuelandrepaircostshaveacorrelationof0.
75,whilethecorrelationbetweencapitalandthesetwovariablesiszero.
.
matrixC=(1,0.
75,0\0.
75,1,0\0,0,1).
matrixlistCsymmetricC[3,3]c1c2c3r11r2.
751r3001.
mvtestcorrelationsfuelrepaircapital,equals(C)TestthatcorrelationmatrixequalsspecifiedpatternCJennrichchi2(3)=4.
55Prob>chi2=0.
2077Wefailtorejectthisnullhypothesis.
4mvtestcorrelations—MultivariatetestsofcorrelationsAmultiple-sampletestforcorrelationmatricesAmultiple-sampletestofequalityofcorrelationmatricesisprovidedbythemvtestcorrelationscommandwiththeby()optiondeningthemultiplesamples(groups).
Example3Psychologicaltestscoredataareintroducedinexample2of[MV]mvtestcovariances.
Wetestwhetherthecorrelationmatricesforthefourtestscoresarethesameformalesandfemales.
.
usehttps://www.
stata-press.
com/data/r16/genderpsych(FourPsychologicalTestScores,RencherandChristensen(2012)).
mvtestcorrelationsy1y2y3y4,by(gender)TestofequalityofcorrelationmatricesacrosssamplesJennrichchi2(6)=5.
01Prob>chi2=0.
5422Wefailtorejectthenullhypothesisofequalcorrelationmatricesformalesandfemales.
Storedresultsmvtestcorrelationsstoresthefollowinginr():Scalarsr(chi2)χ2statisticr(df)degreesoffreedomforχ2testr(pchi2)p-valueforχ2testMacrosr(chi2type)typeofmodelχ2testMethodsandformulasMethodsandformulasarepresentedunderthefollowingheadings:One-sampletestsforcorrelationmatricesAmultiple-sampletestforcorrelationmatricesOne-sampletestsforcorrelationmatricesLetthesampleconsistofNi.
i.
d.
observationsfromak-variatemultivariatenormaldistributionMVNk(,Σ),withsamplecorrelationmatrixR.
Totestthatacorrelationmatrixequalsagivenmatrix,R0,mvtestcorrelationscomputesaWaldtestproposedbyJennrich(1970):χ2ocf=12trace(ZZ)diagonal(Z)I+R0R101diagonal(Z)whereZ=√NR10(RR0)anddenotestheHadamardproduct.
χ2ocfisasymptoticallyχ2distributedwithk(k1)/2degreesoffreedom.
mvtestcorrelations—Multivariatetestsofcorrelations5Totestthatthecorrelationmatrixiscompoundsymmetric,thatis,totestthatallcorrelationsareequal,thelikelihood-ratiotestissomewhatcumbersome.
Lawley(1963)offersanasymptoticallyequivalenttestthatiscomputationallysimple(JohnsonandWichern2007,457–458):χ2occ=N1(1R)2ki=2i1j=1(RijR)2ukh=1(RhR)2whereR=2k(k1)ki=2i1j=1RijRh=1k1ki=1;i=hRihu=(k1)21(1R)2k(k2)(1R)2andRijdenoteselement(i,j)ofthek*kcorrelationmatrixR.
χ2occisasymptoticallyχ2distributedwith(k2)(k+1)/2degreesoffreedom.
Aitkin,Nelson,andReinfurt(1968)studythequalityofthisχ2approximationforkuptosixandvariouscorrelations,andconcludethattheapproximationisadequateforNassmallas25.
Amultiple-sampletestforcorrelationmatricesLettherebem≥2independentsampleswiththejthsamplecontainingNji.
i.
d.
observationsfromak-variatemultivariatenormaldistribution,MVNk(j,Σj),withsamplecorrelationmatrixRj,j=1,m.
LetN=mj=1Nj.
Totestfortheequalityofcorrelationmatricesacrossmindependentsamples,mvtestcorrela-tionscomputesaWaldtestproposedbyJennrich(1970):χ2mc=mj=112traceZ2jdiagonal(Zj)I+RR11diagonal(Zj)whereR=1/Nmj=1NjRj,Zj=NjR1RjR,anddenotestheHadamardproduct.
χ2mcisasymptoticallyχ2distributedwith(m1)k(k1)/2degreesoffreedom.
ReferencesAitkin,M.
A.
,W.
C.
Nelson,andK.
H.
Reinfurt.
1968.
Testsforcorrelationmatrices.
Biometrika55:327–334.
Jennrich,R.
I.
1970.
Anasymptoticχ2testfortheequalityoftwocorrelationmatrices.
JournaloftheAmericanStatisticalAssociation65:904–912.
Johnson,R.
A.
,andD.
W.
Wichern.
2007.
AppliedMultivariateStatisticalAnalysis.
6thed.
EnglewoodCliffs,NJ:PrenticeHall.
Lawley,D.
N.
1963.
Ontestingasetofcorrelationcoefcientsforequality.
AnnalsofMathematicalStatistics34:149–151.
Rencher,A.
C.
,andW.
F.
Christensen.
2012.
MethodsofMultivariateAnalysis.
3rded.
Hoboken,NJ:Wiley.
6mvtestcorrelations—MultivariatetestsofcorrelationsAlsosee[MV]canon—Canonicalcorrelations[R]correlate—Correlationsofvariables

提速啦:美国多IP站群云服务器 8核8G 10M带宽 7IP 88元/月

提速啦(www.tisula.com)是赣州王成璟网络科技有限公司旗下云服务器品牌,目前拥有在籍员工40人左右,社保在籍员工30人+,是正规的国内拥有IDC ICP ISP CDN 云牌照资质商家,2018-2021年连续4年获得CTG机房顶级金牌代理商荣誉 2021年赣州市于都县创业大赛三等奖,2020年于都电子商务示范企业,2021年于都县电子商务融合推广大使。资源优势介绍:Ceranetwo...

半月湾hmbcloud升级500Mbps带宽,原生VPS,$4.99/月

关于半月湾HMBCloud商家之前也有几篇那文章介绍过这个商家的产品,对于他们家的其他产品我都没有多加留意,而是对他们家的DC5机房很多人还是比较喜欢的,这个比我们有些比较熟悉的某商家DC6 DC9机房限时,而且半月湾HMBCloud商家是相对便宜的。关于半月湾DC5机房的方案选择和介绍:1、半月湾三网洛杉矶DC5 CN2 GIA同款DC6 DC9 1G内存 1TB流量 月$4.992、亲测选择半...

hostio荷兰10Gbps带宽,10Gbps带宽,€5/月,最低配2G内存+2核+5T流量

成立于2006年的荷兰Access2.IT Group B.V.(可查:VAT: NL853006404B01,CoC: 58365400) 一直运作着主机周边的业务,当前正在对荷兰的高性能AMD平台的VPS进行5折优惠,所有VPS直接砍一半。自有AS208258,vps母鸡配置为Supermicro 1024US-TRT 1U,2*AMD Epyc 7452(64核128线程),16条32G D...

let美人2为你推荐
vps国内VPS哪个好vpsVPS是什么?虚拟主机推荐有哪些好的虚拟主机推荐网站域名域名和网址有什么区别免费网站空间免费个人网站 空间100m网站空间100M的最好的网站空间价格多少?深圳网站空间菜鸟问:网站空间如何选择,与空间的基本知识?网站空间免备案哪个网站有免费的免备案空间,海外港台都可山东虚拟主机能否在虚拟机与主机之间建立局域网,让主机与虚拟机同时上网?东莞虚拟主机哪里的虚拟主机便宜 性价比高?
网址域名注册 vps论坛 免费顶级域名 softlayer 256m内存 BWH cpanel 免费网络电视 e蜗牛 建立邮箱 howfile 刀片服务器是什么 七夕快乐英语 美国独立日 yundun 湖南idc WHMCS blaze 赵荣博客 更多