Description Format Details References Examples
Contains 252 monthly index values for the years 1995–2016 of the UK Housing price index for London.
A univariate time series with 264 observations; a ts
object
The data was downloaded from the 'UK House Price Index' website.
To retrieve the data: go to the ‘customise your search’ part of the ‘search the UK house price index’ form. There select the ‘English region’ London, the period from 01-1995 to 12-2016, and obtained the ‘average price’ for ‘all property types’.
UK House Price Index http://landregistry.data.gov.uk/app/ukhpi
1 2 3 4 5 6 7 8 9 10 | ## compute monthly changes of average prices
L <- length(LondonHPI)
LondonHPI_change <- LondonHPI[2:L]/LondonHPI[1:(L-1)] - 1
## demean
LondonHPI_mean <- mean(LondonHPI_change)
LondonHPI_adj <- ts(LondonHPI_change - LondonHPI_mean, f = 12, start=c(1995,2))
op <- par(mfcol=c(1,2))
plot(LondonHPI, main = "", ylab = "average prices", xlab = "year")
plot(LondonHPI_adj, main = "", ylab = "monthly changes", xlab = "year")
par(op)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.