View source: R/od_adjustment.R

tau_func | R Documentation |

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

```
tau_func(n, phi, S)
```

`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) |

A numeric Tau2 value

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.