Learn R Programming

FunnelPlotR (version 0.5.0)

tau_func: Calculate the between group standard error (tau2) using a dispersion factor

Description

Internal function to calculate the additional, between group, standard error (tau2) to add to S2.

Usage

tau_func(n, phi, S)

Value

A numeric Tau2 value

Arguments

n

The number of groups for data items, e.g. hospitals trusts that z-scores are calculated at.

phi

The dispersion ratio, where > 1 means overdispersion

S

Standard error (within cluster, calculated in z-score process)