sum_of_squares: Loss Function for Optimization Process on Alpha

Description Usage Arguments Value

View source: R/estimation_utils.R

Description

Loss Function for Optimization Process on Alpha

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
sum_of_squares(
  alpha,
  theta,
  diagnosed_datamatrix,
  inv_sigma,
  LinkFunc,
  sigma,
  dim_alpha = 1,
  reg_lambda = 0,
  reg_p = 2
)

Arguments

alpha

estimate of alpha

theta

estimate of theta

diagnosed_datamatrix

data matrix of diagnosed subjects

inv_sigma

covariance matrix of correlation data matrix, inverted

LinkFunc

LinkFuncSkeleton

sigma

if inv_sigma is missing, invert this matrix and use it as inv_sigma

dim_alpha

dimension of alpha

reg_lambda

see model_reg in configurations

reg_p

see model_reg in configurations

Value

value of sum of squares


itamarfaran/corrpops documentation built on Dec. 20, 2021, 8:02 p.m.