Skip to contents

Compute loss function with Firth regularization from Wii matrix

Usage

loss_firth_from_wii(wii_sqrt, xdumm)

Arguments

wii_sqrt

The square root of Wii diagonal elements as a vector

xdumm

Design matrix

Value

Regularized log loss value