nma_acrprob: ACR response probabilities

Description Usage Arguments Value

View source: R/utils.R

Description

Calculate ACR response probabilities from an ordered probit model of ACR response used for a network meta-analysis.

Usage

1
nma_acrprob(A, z2, z3, d, k = 1)

Arguments

A

A vector from the posterior distribution of the probability that ACR response < 20 from cDMARDS.

z2

A vector from the posterior distribution for the ACR 50 cutpoint.

z3

A vector from the posterior distribution for the ACR 70 cutpoint.

d

A matrix from the posterior distribution of the "d's" for each treatment in the NMA.

k

Sampled value of constant k.

Value

List containing an array non.overlap (the probability of ACR < 20, ACR 20-50, ACR 50-70, and ACR 70+) and overlap (the probability of ACR20/50/70).


InnovationValueInitiative/IVI-RA documentation built on Oct. 20, 2020, 10:02 p.m.