heise: Estimate Heise stability and reliability coefficients

Description Usage Arguments Value References Examples

View source: R/heise.R

Description

This function uses three waves of data to estimate stability and reliability coefficients as described in Heise (1969).

Usage

1
heise(data, ..., waves = NULL)

Arguments

data

A panel_data frame.

...

unquoted variable names that are passed to dplyr::select()

waves

Which 3 waves should be used? If NULL (the default), the first, middle, and last waves are used.

Value

A tibble with reliability (rel), waves 1-3 stability (stab13), waves 1-2 stability (stab12), and waves 2-3 stability (stab23) and the variable these values refer to (var).

References

Heise, D. R. (1969). Separating reliability and stability in test-retest correlation. American Sociological Review, 34, 93–101. https://doi.org/10.2307/2092790

Examples

1
2
3
data("WageData")
wages <- panel_data(WageData, id = id, wave = t)
heise(wages, wks, lwage) # will use waves 1, 4, and 7 by default

panelr documentation built on Jan. 18, 2021, 5:06 p.m.