lsd-class: Class "lsd.object" for storing the result of the function lsd

Description Slots Methods Author(s) See Also Examples

Description

The class lsd.object is the output of a call to lsd.test

Slots

F :

the test statistic

df :

the degrees of freedom of F

globalP:

the associated p-value

D:

the matrix used in the test (it provides the influence of columns in resp to the test statistic)

call:

The matched call to lsd.

MTP:

The procedure used ("fdrOrd", "kfweOrd" or others).

Methods

p.value

(lsd.object): Extracts the p-values.

show

lsd.object: Prints the test results: p-value, test statistic, expected value of the test statistic under the null hypothesis, standard deviation of the test statistic under the null hypothesis, and number of covariates tested.

summary

lsd.object: Prints the test results: p-value, test statistic, expected value of the test statistic under the null hypothesis, standard deviation of the test statistic under the null hypothesis, and number of covariates tested.

weights

lsd.object: diagonal of matrix D used in the test (i.e. the influence of columns in resp to the test statistic)

Author(s)

Livio Finos: livio@stat.unipd.it

See Also

lsd

Examples

1
2
3
4
5
6
7
8
    # Simple examples with random data here
    set.seed(1)
	#Standard multivariate LSD test for one sample case
	X=matrix(rnorm(50),5,10)+5
	res <- lsd.test(resp=X,alternative=~1)
	print(res)
	p.value(res)
    summary(res,showD=TRUE)

someMTP documentation built on March 1, 2021, 9:06 a.m.