Learn R Programming

mmrm (version 0.3.14)

h_df_md_kr: Calculation of Kenward-Roger Degrees of Freedom for Multi-Dimensional Contrast

Description

Used in df_md() if method is "Kenward-Roger" or "Kenward-Roger-Linear".

Usage

h_df_md_kr(object, contrast)

Value

List with num_df, denom_df, f_stat and p_val (2-sided p-value).

Arguments

object

(mmrm)
the MMRM fit.

contrast

(matrix)
numeric contrast matrix, if given a numeric then this is coerced to a row vector. Note that this should not include elements for singular coefficient estimates, i.e. only refer to the actually estimated coefficients.