nmfkc.net.inference: Statistical Inference for Symmetric NMF Parameters

View source: R/nmfkc.net.R

nmfkc.net.inferenceR Documentation

Statistical Inference for Symmetric NMF Parameters

Description

Performs statistical inference on the parameter matrix C of a symmetric NMF model (Y \approx XCX^\top).

This is a wrapper around nmfkc.inference that automatically sets the covariate matrix to A = X^\top, which is the defining property of symmetric NMF.

Usage

nmfkc.net.inference(object, Y, wild.bootstrap = TRUE, ...)

Arguments

object

A fitted model returned by nmfkc() with Y.symmetric = "bi" or "tri", or the newer nmfkc.net with type = "bi" or "tri".

Y

The original symmetric matrix (P x P).

wild.bootstrap

Logical; if TRUE (default), perform wild bootstrap inference for the C matrix.

...

Additional arguments passed to nmfkc.inference() (e.g., wild.B, wild.seed, C.p.side).

Value

The object augmented with inference fields (same as nmfkc.inference), with class c("nmfkc.net.inference", "nmfkc.inference", "nmf.inference", "nmfkc", "nmf").

Lifecycle

This function is experimental. The interface may change in future versions; details are to be described in an upcoming paper.

See Also

nmfkc.inference, nmfkc.net.DOT, summary.nmfkc.net.inference

Examples


library(nmfkc)
Y <- matrix(c(0,1,1,0,0,0,
              1,0,1,0,0,0,
              1,1,0,1,0,0,
              0,0,1,0,1,1,
              0,0,0,1,0,1,
              0,0,0,1,1,0), 6, 6)
res <- nmfkc.net(Y, rank = 2, type = "tri", nstart = 20)
res_inf <- nmfkc.net.inference(res, Y)
summary(res_inf)



nmfkc documentation built on July 14, 2026, 1:07 a.m.