inconsistency.loops: Identify comparisons in loops that fulfil criteria for...

View source: R/nodesplit.functions.R

inconsistency.loopsR Documentation

Identify comparisons in loops that fulfil criteria for node-splitting

Description

Identify comparisons informed by both direct and indirect evidence from independent sources, which therefore fulfil the criteria for testing for inconsistency via node-splitting. Follows the method of van Valkenhoef \insertCitevanvalkenhoef2016;textualMBNMAtime.

Usage

inconsistency.loops(data)

Arguments

data

A data frame containing variables studyID and treatment (as numeric codes) that indicate which treatments are used in which studies.

Details

Similar to gemtc::mtc.nodesplit() but uses a fixed reference treatment and therefore suggests fewer loops in which to test for inconsistency. Heterogeneity can also be parameterised as inconsistency and so testing for inconsistency in additional loops whilst changing the reference treatment would also be identifying heterogeneity. Depends on igraph.

Value

A data frame of comparisons that are informed by direct and indirect evidence from independent sources. Each row of the data frame is a different treatment comparison. Numerical codes in t1 and t2 correspond to treatment codes.

References

\insertAllCited

Examples

data <- data.frame(studyID=c(1,1,2,2,3,3,4,4,5,5,5),
  treatment=c(1,2,1,3,2,3,3,4,1,2,4)
  )

# Identify comparisons informed by direct and indirect evidence
inconsistency.loops(data)

MBNMAtime documentation built on Oct. 14, 2023, 5:08 p.m.