Internal function: compute a negative likelihood

computeNegativeLikelihood(
  nrow_Fk,
  ncol_Fk,
  s,
  p,
  matrix_JSJ,
  sample_covariance_trace,
  vfixed = NULL,
  ldet = 0
)

Arguments

nrow_Fk

An integer. The number of rows of Fk.

ncol_Fk

An integer. The number of columns of Fk.

s

An integer.

p

A positive integers. The number of columns of data.

matrix_JSJ

A multiplication matrix

sample_covariance_trace

A positive numeric.

vfixed

A numeric

ldet

A numeric. A log determinant.

Value

A list.