Description Usage Arguments Details References See Also Examples
Compute the 'Z' matrix in Shiller (1991, section I) from sales-pair data to calculate a repeat-sales price index.
1 |
x, y |
Period of the second and first sale, respectively. Usually a vector of dates. |
f |
An optional factor the same length as |
sparse |
Should sparse matrices from Matrix be used in the calculation (faster for large datasets), or regular dense matrices? |
The Z matrix is not well defined if either x
or y
have missing values, and an error is thrown if any inputs have missing values.
Shiller, R. J. (1991). Arithmetic repeat sales price estimators. Journal of Housing Economics, 1(1):110-126.
See rs_x
for making Shiller's X matrix.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.