checkMse: checkMse

Description Usage Arguments

View source: R/deconvolute_ccl.R

Description

Finds the MSE for a NMF fit given a rank of 0 to 2. If the MSE is lowest for rank 0, then this suggests that the design matrix is complete and perfectly explains the observed data. If the MSE for a rank 1 or rank 2 is lowest, this suggests that the design matrix partially explains the observed data.

Upon examining the H matrix, we can see the VERY rough proportion of the data in rank k that is unexplained from the design matrix.

Usage

1
checkMse(M, M0)

Arguments

M

Input matrix

M0

Design matrix


quevedor2/CCLid documentation built on July 15, 2020, 4:05 a.m.