View source: R/stratumStructure.R

effectiveSampleSize | R Documentation |

The effective sample size is the sum of the harmonic means of the number units in treatment and control for each matched group. For k matched pairs, the effective sample size is k. As matched groups become more unbalanced, the effective sample size decreases.

effectiveSampleSize(x, z = NULL) ## S3 method for class 'factor' effectiveSampleSize(x, z = NULL) ## Default S3 method: effectiveSampleSize(x, z = NULL) ## S3 method for class 'table' effectiveSampleSize(x, z = NULL)

`x` |
An |

`z` |
A treatment indicator, a vector the same length as |

The equivalent number of pairs in this match.

`summary.optmatch`

, `stratumStructure`

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.