PermP {Temporal}R Documentation

Permutation P Value

Description

Calculates permutation p-values for location and RMST estimates.

Usage

PermP(df1, df0, fit0, fit1, eps, init1, init0, maxit, reps, tau)

Arguments

df1

Target data.frame containing time and status.

df0

Reference data.frame containing time and status.

fit0

Fitted parametric survival distribution for arm 0.

fit1

Fitted parametric survival distribution for arm 1.

eps

Tolerance for Newton-Raphson iterations.

init1

Initial parameter values for the target group.

init0

Initial parameter values for the reference group.

maxit

Maximum number of Newton-Raphson iterations.

reps

Number of permutation replicates.

tau

Optional truncation times for calculating RMST.

Value

Numeric vector of permutation p-values.


[Package Temporal version 0.3.0.1 Index]