| nmfkc.inference | R Documentation |
nmfkc.inference performs statistical inference on the parameter matrix
C (\Theta) from a fitted nmfkc model, conditional on
the estimated basis matrix \hat{X}.
Under the working model Y = X C A + \varepsilon where
\varepsilon_{pn} \stackrel{iid}{\sim} N(0, \sigma^2),
inference is conducted via sandwich covariance estimation and
one-step wild bootstrap with non-negative projection.
nmfkc.inference(object, Y, A = NULL, wild.bootstrap = TRUE, ...)
object |
An object of class |
Y |
Observation matrix (P x N). Must match the data used in |
A |
Covariate matrix (K x N). Default is |
wild.bootstrap |
Logical. If |
... |
Additional arguments:
|
An object of class c("nmfkc.inference", "nmfkc"), inheriting all
components from the input object, with additional inference components:
sigma2.used |
Estimated |
C.se |
Sandwich standard errors for |
C.se.boot |
Bootstrap standard errors for |
C.ci.lower |
Lower CI bounds for |
C.ci.upper |
Upper CI bounds for |
coefficients |
Data frame with Estimate, SE, BSE, z, p-value for each element of |
C.p.side |
P-value type used. |
Satoh, K. (2026). Wild Bootstrap Inference for Non-Negative Matrix Factorization with Random Effects. arXiv:2603.01468. https://arxiv.org/abs/2603.01468
nmfkc, summary.nmfkc.inference
Y <- matrix(cars$dist, nrow = 1)
A <- rbind(intercept = 1, speed = cars$speed)
result <- nmfkc(Y, A, rank = 1)
result2 <- nmfkc.inference(result, Y, A)
summary(result2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.