Description Usage Arguments Details References See Also Examples
Compute the 'X' matrix in Shiller (1991, section II) from sales-pair data to calculate a repeat-sales price index.
1 | rs_x(x, y, z)
|
x, y |
A numeric vector giving the price of the second and first sale, respectively. |
z |
Shiller's 'Z' matrix. See |
This function is a simple wrapper to calculate (z > 0) * x - (z < 0) * y.
Shiller, R. J. (1991). Arithmetic repeat sales price estimators. Journal of Housing Economics, 1(1):110-126.
See rs_z
for making Shiller's Z matrix.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.