ss_sd {SIMICO}R Documentation

d^2/d_sigma^2^2

Description

Calculates the second derivative term with respect to sigma^2.

Usage

ss_sd(HL_array, HR_array, xAll, apply_diffs, temp_beta,
   A_i, no_l_all, no_two_all, k, d)

Arguments

HL_array

n x k matrix containing all the hazard values for the left times.

HR_array

n x k matrix containing all the hazard values for the right times.

xAll

List containing the left and right matrices and event times.

apply_diffs

Matrix containing the differences between survival functions of the left and right time intervals.

temp_beta

vector of fitted coefficients.

A_i

Product of apply_diffs across all outcomes K summed over all quadrature nodes D.

no_l_all

n x (k - 1) matrix containing the product of apply_diffs across all outcomes k excluding the current outcome l.

no_two_all

n x (k - 2) matrix containing the product of apply_diffs across all outcomes k excluding outcomes l and m.

k

Total number of outcomes.

d

Number of quadrature nodes.

Value

The output is a single value for the second derivative with respect to sigma^2.


[Package SIMICO version 0.2.0 Index]