normality.test(vars)
normality.test()所属R语言包:vars
Normality, multivariate skewness and kurtosis test
正态性,多变量的偏度和峰度测试
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function computes univariate and multivariate Jarque-Bera tests and multivariate skewness and kurtosis tests for the residuals of a VAR(p) or of a VECM in levels.
此函数计算单因素和多因素哈尔克的贝拉测试和多变量的偏度和峰度测试的残差的VAR(p)或VECM的水平。
用法----------Usage----------
normality.test(x, multivariate.only = TRUE)
参数----------Arguments----------
参数:x
Object of class "varest"; generated by VAR(), or an object of class "vec2var"; generated by vec2var().
类的对象varest所产生的VAR(),或对象类的vec2var所产生的vec2var()。
参数:multivariate.only
If TRUE (the default), only multivariate test statistics are computed.
如果TRUE(默认值),只有多元的检验统计量的计算。
Details
详细信息----------Details----------
Multivariate and univariate versions of the Jarque-Bera test are applied to the residuals of a VAR. The multivariate version of this test is computed by using the residuals that are standardized by a Choleski decomposition of the variance-covariance matrix for the centered residuals. Please note, that in this case the test result is dependant upon the ordering of the variables.
多元与一元的Jarque-Bera检定的版本适用于一个VAR的残差。多元的这个测试版计算通过使用由Choleski为中心的残差的方差 - 协方差矩阵分解是标准化的残差。请注意,在这种情况下,测试结果是取决于变量的排序。
值----------Value----------
A list of class "varcheck" with the following elements is returned:<br>
列表类的varcheck返回包含下列元素:参考
参数:resid
A matrix of the residuals.
矩阵的残差。
参数:jb.uni
A list of elements with class attribute "htest" containing the univariate Jarque-Bera tests. This element is only returned if multivariate.only = FALSE is set.
一个列表元素类属性htest包含单变量的哈尔克-贝拉测试。此元素只返回,如果multivariate.only = FALSE设置。
参数:jb.mul
A list of elements with class attribute "htest". </table>
列表元素的class属性htest。 </ TABLE>
containing the mutlivariate Jarque-Bera test, the multivariate Skewness and Kurtosis tests.
包含的mutlivariate的Jarque-Bera检定,多变量的偏度和峰度测试。
注意----------Note----------
This function was named normality in earlier versions of package vars; it is now deprecated. See vars-deprecated too.
此功能被命名为normality在早期版本的包vars;它现在已经过时。见vars-deprecated太。
(作者)----------Author(s)----------
Bernhard Pfaff
参考文献----------References----------
University Press, Princeton.
observations and regression residuals, International Statistical Review, 55: 163-172.
Analysis, Springer, New York.
参见----------See Also----------
VAR, vec2var, plot
VAR,vec2var,plot
实例----------Examples----------
data(Canada)
var.2c <- VAR(Canada, p = 2, type = "const")
normality.test(var.2c)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|