compute_InfoContent: Title Formula-based calculation of information content

View source: R/InformationContent.R

compute_InfoContentR Documentation

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)

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

Value

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


PMildenb/SteppedPower documentation built on Sept. 20, 2023, 4:57 a.m.