bssmle_lt function

B-spline Sieve Maximum Likelihood Estimation for Left-Truncated and Interval-Censored Competing Risks Data

B-spline Sieve Maximum Likelihood Estimation for Left-Truncated and Interval-Censored Competing Risks Data

Routine that performs B-spline sieve maximum likelihood estimation with linear and nonlinear inequality/equality constraints

bssmle_lt(formula, data, alpha, k = 1)

Arguments

  • formula: a formula object relating survival object Surv2(w, v, u, event) to a set of covariates
  • data: a data frame that includes the variables named in the formula argument
  • alpha: α=(α1,α2)\alpha = (\alpha1, \alpha2) contains parameters that define the link functions from class of generalized odds-rate transformation models. The components α1\alpha1 and α2\alpha2 should both be 0\ge 0. If α1=0\alpha1 = 0, the user assumes the proportional subdistribution hazards model or the Fine-Gray model for the event type 1. If α2=1\alpha2 = 1, the user assumes the proportional odds model for the event type 2.
  • k: a parameter that controls the number of knots in the B-spline with 0.50.5 \le k1 \le 1

Returns

The function bssmle_lt returns a list of components: - beta: a vector of the estimated coefficients

  • varnames: a vector containing variable names

  • alpha: a vector of the link function parameters

  • loglikelihood: a loglikelihood of the fitted model

  • convergence: an indicator of convegence

  • tms: a vector of the minimum and maximum observation times

  • Z: a design matrix

  • Tw: a vector of w

  • Tv: a vector of v

  • Tu: a vector of u

  • Bw: a list containing the B-splines basis functions evaluated at w

  • Bv: a list containing the B-splines basis functions evaluated at v

  • Bu: a list containing the B-splines basis functions evaluated at u

  • dBw: a list containing the first derivative of the B-splines basis functions evaluated at w

  • dBv: a list containing the first derivative of the B-splines basis functions evaluated at v

  • dBu: a list containing the first derivative of the B-splines basis functions evaluated at u

  • dmat: a matrix of event indicator functions

Details

The function bssmle_lt performs B-spline sieve maximum likelihood estimation for left-truncated and interval-censored competing risks data.

Author(s)

Jun Park, jun.park@alumni.iu.edu

Giorgos Bakoyannis, gbakogia@iu.edu

  • Maintainer: Jun Park
  • License: GPL (>= 2)
  • Last published: 2022-05-10

Useful links