Learn R Programming

SteppedPower (version 0.3.4)

compute_InfoContent: Title Formula-based calculation of information content

Description

Title Formula-based calculation of information content

Usage

compute_InfoContent(CovMat = NULL, W = NULL, dsn, sumCl, tp)

Value

A matrix containing the information content for every cluster-period cell

Arguments

CovMat

#' @param CovMat numeric, a positive-semidefinite matrix with (#Clusters \(\cdot\) timepoints) rows and columns.

W

numeric, the inverse of a covariance matrix. If CovMat is specified, input for W is ignored

dsn

a matrix with (#Clusters \(\cdot\) #timepoints) rows and p columns, where p are the degrees of freedom of fixed effects in a gls model. This usually contains the intervention effect and some specification of the time effect.

sumCl

number of clusters

tp

number of time points