data-LondonHPI: London Housing Price Index, 1995-2016

Description Format Details References Examples

Description

Contains 252 monthly index values for the years 1995–2016 of the UK Housing price index for London.

Format

A univariate time series with 264 observations; a ts object

Details

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’.

References

UK House Price Index http://landregistry.data.gov.uk/app/ukhpi

Examples

 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)

tobiaskley/forecastSNSTSexamples documentation built on May 31, 2019, 4:44 p.m.