roy_parm_basis: Get the basis matrix for the Royston/Parmar-spline...

Description Usage Arguments Value

Description

Get the basis matrix for the Royston/Parmar-spline parameterization

Usage

1
roy_parm_basis(x, all_log_knots, scaling_factor)

Arguments

x

Log-time,

all_log_knots

Knots, including boundary knots, on the scale of log(time)

scaling_factor

A constant which gammas > 1 will be divided by, so that coefficients are on similar scales; helpful for optimization/MCMC

Value

The basis matrix


jwdink/survbayes documentation built on May 4, 2019, 4:23 p.m.