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 = 3, ...)
x |
an R object of class FRBhot , typically created by FRBhotellingS or FRBhotellingMM |
digits |
number of digits for printing (defaulting to 3) |
... |
potentially more arguments |
The FRBhot
print function displays practically all components in the FRBhot
object as returned by FRBhotellingS
or FRBhotellingMM
. In particular, apart from the test statistic and bootstrap p-value, the output shows
simultaneous confidence intervals for the (difference in) mean(s). The corresponding robust estimates of the (difference in) mean(s)
are also given, as well as the robust estimate of (common) covariance.
Gert Willems and Ella Roelant
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")