找回密码
 注册
查看: 725|回复: 0

R语言 someMTP包 lsd.test()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 11:51:19 | 显示全部楼层 |阅读模式
lsd.test(someMTP)
lsd.test()所属R语言包:someMTP

                                          Multivariate Left Spherically Distributed (LSD) linear scores test.
                                         多元左球分布(LSD)线性分数测试。

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

It performs the multivariate Left Spherically Distributed linear scores test of L\"auter et al. (The Annals of Statistics, 1998) (see also details below).
它执行的多元左球分布线性分数测试的L \“auter等。(统计年鉴,1998年)(见下面还详细介绍)。


用法----------Usage----------


lsd.test(resp, alternative = 1, null = NULL, D = NULL, data=NULL)



参数----------Arguments----------

参数:resp
The response vector of the regression model. May be supplied as a vector or as a formula object. In the latter case, the right hand side of Y is passed on to alternative if that argument is missing, or otherwise to null.
的响应向量回归模型。可以提供作为向量或作为一个formula对象。在后一种情况下,右手边Y传递到alternative:如果缺少这样的说法,或以其他方式null。


参数:alternative
The part of the design matrix corresponding to the alternative hypothesis. The covariates of the null model do not have to be supplied again here. May be given as a half formula object (e.g. ~a+b). In that case the intercept is always suppressed.
设计矩阵的一部分,相应的替代假说。不必在这里再次供给空模型的协变量。可以给出半formula对象(例如~a+b)。在这种情况下,总是抑制截距。


参数:null
The part of the design matrix corresponding to the null hypothesis. May be given as a design matrix or as a half formula object (e.g. ~a+b). The default for Z is ~1, i.e. only an intercept. This intercept may be suppressed, if desired, with Z = ~0.
部分的设计矩阵的零假设。作为设计矩阵或半formula对象的,可给予(如:~a+b)。的默认值Z是~1,即只有一个拦截。这截距可能被抑制,如果需要的话,用Z = ~0。


参数:data
Only used when Y, X, or Z is given in formula form. An optional data frame, list or environment containing the variables used in the formulae. If the variables in a formula are not found in data, the variables are taken from environment(formula), typically the environment from which gt is called.
仅用于Y,X,或Z式的形式。一个可选的数据框,列表或环境中的公式中使用的变量。如果都没有发现data公式中的变量,该变量是从环境(公式),,从gt被称为典型的环境。


参数:D
is q x p matrix or it is a function with arguments resp and null returning the q x p transformation matrix. When D = NULL, then  D =  diag(t(resp)%*%IP0%*%resp) with IP0 = diag(n) - null%*%solve(t(null)%*%null)%*%t(null)
青藏高原矩阵,它是一个带参数的函数resp和null返回青藏高原变换矩阵。当D = NULL,那么D =  diag(t(resp)%*%IP0%*%resp)IP0 = diag(n) - null%*%solve(t(null)%*%null)%*%t(null)


值----------Value----------

The function returns an object of class lsd.object. <table summary="R valueblock"> <tr valign="top"><td>F </td> <td> the test statistic</td></tr> <tr valign="top"><td>df </td> <td> the degrees of freedom of F</td></tr> <tr valign="top"><td>p </td> <td> the associated p-value</td></tr> <tr valign="top"><td>D </td> <td> the matrix used in the test (it provide information on the influence of columns in resp to the test)</td></tr> <tr valign="top"><td>call:</td> <td> The matched call to lsd.test.</td></tr> </table>
该函数返回一个对象类lsd.object。 <table summary="R valueblock"> <tr valign="top"> <TD> F </ TD> <TD>检验统计量</ TD> </ TR> <TR VALIGN =“顶” > <TD> df  </ TD> <TD>自由度的F </ TD> </ TR> <tr valign="top"> <TD> p  </ TD> <TD>相关的p值</ TD> </ TR> <tr valign="top"> <TD> D  </ TD> <TD>在测试中所使用的矩阵(它提供的信息列在resp测试)</ TD> </ TR> <tr valign="top"> <TD><code>call:</ P> </ TD> <TD>的影响匹配的呼叫lsd.test。</ TD> </ TR> </表>


(作者)----------Author(s)----------



Livio Finos




参考文献----------References----------


J. Laeuter, E. Glimm and S. Kropf (1998) Multivariate test based on Left-Spherically Distributed Linear Scores.  The Annals of Statistics, Vol. 26, No. 5, 1972-1988
L. Finos (2011). A note on Left-Spherically Distributed Test with covariates, Statistics and Probabilty Letters, Volume 81, Issue 6, June 2011, Pages 639-641

实例----------Examples----------


set.seed(1)
#Standard multivariate LSD test for one sample case[标准多元LSD测试一个样品的情况下,]
X=matrix(rnorm(50),5,10)+2
lsd.test(resp=X,alternative=~1)

#Standard multivariate LSD test for two sample case[标准多元LSD检验两个样本的情况下]
X2=X+matrix(c(0,0,1,1,1),5,10)*10
lsd.test(resp=X2,null=~1,alternative=c(0,0,1,1,1))

#General multivariate LSD test for linear predictor with covariates[多元LSD试验协变量的线性预测]
lsd.test(resp=X2,null=cbind(rep(1,5),c(0,0,1,1,1)),alternative=1:5)


转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-9 14:17 , Processed in 0.039116 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表