schools_table: Generate recruitment lists to achieve a target sample size.

Description Usage Arguments Details Value See Also Examples

Description

The input to this function must be the output of the stratifer function, along with the sample size that the researcher aims to recruit (typically the desired number of schools).

Usage

1
schools_table(solution, number, sample = NULL)

Arguments

solution

sdfdf

number

sdfsdfsd

sample

Defaults to NULL.

Details

As output, this function prints a table with columns equal to the number of strata specified in stratifier() and three rows. The first row presents the number of schools in the inference population that fall in each stratum. The second row presents the proportion of the population in each stratum. Finally, the third row contains the number of schools per stratum that the researcher should aim to recruit in order to ensure that the proportions in their sample mirror those in the population.

Value

thangs

See Also

http://thegeneralizer.org/, also add other resources

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# For an experiment where the researcher wants to recruit 100 schools:
schools_table(solution, number = 100)

# For an experiment that has been conducted; the researcher wanted
# to recruit 100 schools and has uploaded their school IDs:
schools_table(solution, number = 100, sample = idvars)

## End(Not run)

Generalizer/thegeneralizer documentation built on July 10, 2020, 3:53 p.m.