Learn R Programming

mmrm (version 0.3.14)

h_test_1d: Creating T-Statistic Test Results For One-Dimensional Contrast

Description

Creates a list of results for one-dimensional contrasts using a t-test statistic and the given degrees of freedom.

Usage

h_test_1d(object, contrast, df)

Value

List with est, se, df, t_stat and p_val (2-sided p-value).

Arguments

object

(mmrm)
the MMRM fit.

contrast

(numeric)
contrast vector. Note that this should not include elements for singular coefficient estimates, i.e. only refer to the actually estimated coefficients.

df

(number)
degrees of freedom for the one-dimensional contrast.