h_df_md_res {mmrm}R Documentation

Calculation of Residual Degrees of Freedom for Multi-Dimensional Contrast

Description

Used in df_md() if method is "Residual".

Usage

h_df_md_res(object, contrast)

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.

Value

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


[Package mmrm version 0.3.15 Index]