lstats.Rd
performs a L-statistic for right-censored and binary data.
lstats( time, status, binary, treat, tau0 = 0, tau = NULL, taub = NULL, rho = 0, gam = 0, eta = 1, wb = 0.5, ws = 0.5, var_est = "Unpooled" )
time | The observed time. |
---|---|
status | The status indicator, normally 0=alive, 1=dead. |
binary | 0=nonresponse, 1=response. |
treat | The treatment-group indicator, normally 0=control, 1=intervention. |
tau0 | starting follow-up (survival outcome). Default =0. |
tau | follow-up. Default NULL denoting the last time in which both groups had patients at risk. |
taub | time-point at which the binary endpoint is evaluated. If NULL, the binary endpoint is evaluated at tau. |
rho | A scalar parameter that controls the type of test (see Weights). |
gam | A scalar parameter that controls the type of test (see Weights). |
eta | A scalar parameter that controls the type of test (see Weights). |
wb | A scalar parameter that controls the type of test (see Weights). |
ws | A scalar parameter that controls the type of test (see Weights). |
var_est | indicates the variance estimate to use ('Pooled' or 'Unpooled') |
List: standardized statistic, statistic and variance.
Marta Bofill Roig