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

Description Usage Arguments Value

View source: R/od_adjustment.R

Description

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

Usage

1
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 Sept. 30, 2021, 5:07 p.m.