print.FRBhot {FRB} | R Documentation |
This is the print method for objects of class FRBhot
representing a robust Hotelling test.
## S3 method for class 'FRBhot': print(x, digits = 5, ...)
x |
an R object of class FRBhot , typically created by FRBhotellingS or FRBhotellingMM |
digits |
number of digits for printing (defaulting to 4) |
... |
potentially more arguments |
The FRBhot
print function displays basically just the test statistic and bootstrap p-value.
Gert Willems and Ella Roelant
summary.FRBhot
, FRBhotellingS
, FRBhotellingMM
data(delivery) delivery.x <- delivery[,1:2] FRBhotellingMM(delivery.x) # -> print.FRBhot() method ## Two sample robust Hotelling test data(hemophilia) grp <-as.factor(hemophilia[,3]) x <- hemophilia[which(grp==levels(grp)[1]),1:2] y <- hemophilia[which(grp==levels(grp)[2]),1:2] #using the pooled covariance matrix to estimate the common covariance matrix FRBhotellingS(x,y,method="pool") #using the estimator of He and Fung to estimate the common covariance matrix FRBhotellingS(x,y,method="HeFung")