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
想必我们有一些朋友应该陆续收到国内和国外的域名注册商关于域名即将涨价的信息。大概的意思是说从9月1日开始,.COM域名会涨价一点点,大约需要单个9.99美元左右一个。其实对于大部分用户来说也没多大的影响,毕竟如今什么都涨价,域名涨一点点也不要紧。如果是域名较多的话,确实增加续费成本和注册成本。今天整理看到Dynadot有发布新的八月份域名优惠活动,.COM首年注册依然是仅需48元,本次优惠活动截止...
Hostodo又发布了几款针对7月4日美国独立日的优惠套餐(Independence Day Super Sale),均为年付,基于KVM架构,采用NVMe硬盘,最低13.99美元起,可选拉斯维加斯或者迈阿密机房。这是一家成立于2014年的国外VPS主机商,主打低价VPS套餐且年付为主,基于OpenVZ和KVM架构,产品性能一般,支持使用PayPal或者支付宝等付款方式。商家客服响应也比较一般,推...
简介酷盾安全怎么样?酷盾安全,隶属于云南酷番云计算有限公司,主要提供高防CDN服务,高防服务器等,分为中国境内CDN,和境外CDN和二个产品,均支持SSL。目前CDN处于内测阶段,目前是免费的,套餐包0.01一个。3G流量(高防CDN)用完了继续续费或者购买升级包即可。有兴趣的可以看看,需要实名的。官方网站: :点击进入官网云南酷番云计算有限公司优惠方案流量3G,用完了不够再次购买或者升级套餐流量...
let美人2为你推荐
虚拟空间购买站长教你怎样购买虚拟主机?免费注册域名如何注册免费域名独立ip主机有用过独立IP主机吗美国主机空间哪个美国ASP的主机空间最稳定,最好使!!中文域名注册查询怎么查我们公司的中文域名是被谁注册的?vps试用免费vps申请哪里有,免费vps试用的也可以?美国vps主机听说美国vps主机性能不错,没用过,想听听各位的意见~个人虚拟主机个人商城要选多大的虚拟主机?个人虚拟主机个人建网站用哪一种虚拟主机???国外主机空间2个国外主机空间,都放了BLOG,看看哪个更快?
免费二级域名 lamp 星星海 免备案cdn 香港新世界电讯 一元域名 500m空间 网通ip 免费网站申请 谁的qq空间最好看 亚马逊香港官网 linux服务器维护 cdn加速是什么 香港新世界中心 drupal安装 畅行云 域名转入 广东主机托管 阿里dns 乐视会员免费领取 更多