score_calculation: Score calculation for weighted Cox model

View source: R/weightedCox.R

score_calculationR Documentation

Score calculation for weighted Cox model

Description

Calculates the score and variance for the weighted Cox model.

Usage

score_calculation(ybar1, ybar0, dN1, dN0, wt_rg)

Arguments

ybar1

Numeric vector of event counts for group 1.

ybar0

Numeric vector of event counts for group 0.

dN1

Numeric vector of event increments for group 1.

dN0

Numeric vector of event increments for group 0.

wt_rg

Numeric vector of rho-gamma weights.

Value

List with score, variance, information, and weights.


weightedsurv documentation built on Dec. 23, 2025, 1:07 a.m.