| proj_LogBip | R Documentation |
Estimates the intercept vector \mu, the row-marker matrix A,
and the column-marker matrix B using a data-projection model with a
block coordinate descent algorithm. Missing values in the binary matrix are
imputed iteratively during model fitting. This function also allows new
individuals to be projected as supplementary rows without refitting the model,
since the row markers are derived directly from the estimated column markers.
This is the low-level function called by LogBip when
method = "PDLB".
proj_LogBip(x, k = 5, max_iters = 1000, random_start = FALSE, epsilon = 1e-05)
x |
A binary matrix, possibly containing |
k |
Number of dimensions. Default is |
max_iters |
Maximum number of iterations. Default is |
random_start |
Logical; if |
epsilon |
Convergence tolerance for the relative decrease in the loss
function. Default is |
A named list with components:
muEstimated intercept vector of length p.
AEstimated row-marker matrix (n \times k).
BEstimated column-marker matrix (p \times k).
x_estImputed binary matrix (missing entries replaced by fitted values).
iterNumber of iterations performed.
loss_functVector of normalised loss-function values at each iteration.
Giovany Babativa <jgbabativam@unal.edu.co>
Babativa-Marquez, J. G., & Vicente-Villardon, J. L. (2026). Logistic biplot with missing data. In process.
Babativa-Marquez, J. G., & Vicente-Villardon, J. L. (2021). Logistic biplot by conjugate gradient algorithms and iterated SVD. Mathematics, 9(16), 2015. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.3390/math9162015")}
Vicente-Villardon, J. L., & Galindo, M. P. (2006). Logistic biplots. In M. Greenacre & J. Blasius (Eds.), Multiple Correspondence Analysis and Related Methods (pp. 503–521). Chapman & Hall.
LogBip, cv_LogBip
data("Methylation")
set.seed(12345)
n <- nrow(Methylation); p <- ncol(Methylation)
miss <- matrix(rbinom(n * p, 1, 0.2), n, p)
miss <- ifelse(miss == 1, NA, miss)
x_miss <- Methylation + miss
out <- proj_LogBip(x = x_miss, k = 2, max_iters = 1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.