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

View source: R/od_adjustment.R

tau_funcR Documentation

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)

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)

Value

A numeric Tau2 value


FunnelPlotR documentation built on June 7, 2023, 6:04 p.m.