optimization_time_data: Time Dependent Optimization Data

View source: R/opt_data_func.R

optimization_time_dataR Documentation

Time Dependent Optimization Data

Description

calculates all needed values to execute quadratic optimization for the time dependent SVHM at the given event time.

Usage

optimization_time_data(covariates, mat_train, event_time, gamma_squared = 0.5)

Arguments

covariates

dataset of covariates of the subjects in a dataset

mat_train

matrix of all individuals under risk at the event time

event_time

event time for which data is calculated

gamma_squared

width of gaussian kernel

Value

List $adap_k_mat matrix on which quadratic optimization will be performed $w_vec vector of weights at any event time for all subjects $k_mat Gram matrix of covariates $e_vec vector indicating vector containing information if a subject experiences an event.


herglola/SVHM documentation built on March 24, 2022, 12:44 p.m.