Description Usage Arguments Value
stat_hotelling_impl
computes the generalized Hotelling's T^2 statistic using the RcppArmadillo
interface for fast pseudoinverse calculations via divide and conquer method.
1 2 | stat_hotelling_impl(x, y, mu, paired = FALSE, step_size = 0,
use_correction = FALSE, tolerance = 0)
|
x |
Dataframe or matrix containing the data collected from 1st population. |
y |
Dataframe or matrix containing the data collected from 2nd
population (default: |
mu |
True mean value (or difference between mean values) under the null
hypothesis (default = |
paired |
Is the input data paired? (default: |
step_size |
The step size used to perform integral approximation via the
method of rectangles (default: |
use_correction |
Flag to turn on and off a statistic adjustment factor that makes it Fisher-distributed under the normality assumption (default: |
tolerance |
Positive value τ such that positive eigenvalues of the sample covariance matrix that are below τ trΣ are discarded for inverse computation (default: 0). |
A named numeric vector of size 1 storing the Hotelling's T^2 statistic defined as
\int_D
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.