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
7月4日是美国独立日,大致就是国庆节的意思吧。hostodo今年提前搞了个VPS大促销活动,4款便宜VPS,相当于7折,续费不涨价,本次促销不定时,不知道有多少货,卖完为止。VPS基于KVM虚拟,NVMe阵列,1Gbps带宽,自带一个IPv4+/64 IPv6,solusvm管理,送收费版DirectAdmin授权,VPS在用就有效! 官方网站:https://www.hostodo.com ...
今天有网友提到自己在Linux服务器中安装VNC桌面的时候安装都没有问题,但是在登录远程的时候居然有出现灰色界面,有三行代码提示"Accept clipboard from viewers,Send clipboard to viewers,Send primary selection to viewers"。即便我们重新登录也不行,这个到底如何解决呢?这里找几个可以解决的可能办法,我们多多尝试。...
关于TTCLOUD服务商在今年初的时候有介绍过一次,而且对于他们家的美国圣何塞服务器有过简单的测评,这个服务商主要是提供独立服务器业务的。目前托管硬件已经达到5000台服务器或节点,主要经营圣何塞,洛杉矶以及日本东京三个地区的数据中心业务。这次看到商家有推出了新上架的日本独立服务器促销活动,价格 $70/月起,季付送10Mbps带宽。也可以跟进客户的需求进行各种DIY定制。内存CPU硬盘流量带宽价...
let美人2为你推荐
虚机虚拟主机一个一年多少钱网站域名网站域名是什么中国域名注册中国十大域名注册服务商有哪些?查询ip如何查找IP地址?便宜的虚拟主机哪里有便宜的国内虚拟主机?域名申请申请域名需要什么条件?具体点!急!急!!!php虚拟空间虚拟空间怎么修改php.ini配置网站空间购买购买网站空间需要注意什么天津虚拟主机在天津哪个地方能买到较好的价格又实惠还可以送货上门的虚拟主机!长沙虚拟主机长沙哪里虚拟主机和主机托管比较关好!
me域名注册 东莞虚拟主机 com域名价格 万网域名代理 美国vps评测 香港vps主机 qq空间域名 老左 x3220 directspace 美国翻墙 台湾服务器 韩国加速器 512av win8.1企业版升级win10 主机合租 镇江联通宽带 100m免费空间 howfile 域名评估 更多