heise | R Documentation |
This function uses three waves of data to estimate stability and reliability coefficients as described in Heise (1969).
heise(data, ..., waves = NULL)
data |
A |
... |
unquoted variable names that are passed to |
waves |
Which 3 waves should be used? If NULL (the default), the first, middle, and last waves are used. |
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
).
Heise, D. R. (1969). Separating reliability and stability in test-retest correlation. American Sociological Review, 34, 93–101. https://doi.org/10.2307/2092790
data("WageData")
wages <- panel_data(WageData, id = id, wave = t)
heise(wages, wks, lwage) # will use waves 1, 4, and 7 by default
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.