df_1d {mmrm} | R Documentation |
Calculation of Degrees of Freedom for One-Dimensional Contrast
Description
Calculates the estimate, adjusted standard error, degrees of freedom,
t statistic and p-value for one-dimensional contrast.
Usage
df_1d(object, contrast)
Arguments
object |
( |
contrast |
( |
Value
List with est
, se
, df
, t_stat
and p_val
.
Examples
object <- mmrm(
formula = FEV1 ~ RACE + SEX + ARMCD * AVISIT + us(AVISIT | USUBJID),
data = fev_data
)
contrast <- numeric(length(object$beta_est))
contrast[3] <- 1
df_1d(object, contrast)
[Package mmrm version 0.3.12 Index]