![]() I happened to have computed these values in Excel and merged them back on our data before I saved it as a text file. ![]() We computed differences, and I also added pmin and pmax which compute the minimum of hpi after the year 2007 by state and the maximum of hpi before the year 2008 by state respectively. The key variable is hpi, which tracks the house price index (normalized so that December 2000=100). Head(statedata, n=13L) # Cycle state hpi year month date type pmax pmin Let’s take a peek at the data: #State Data We’ll do this using the data.table package to set up our data. Now we’ll need to load and prepare some data. ![]() For convenience, the data files you’ll need to replicate these results are right here:Īnd the data preparation code is here in the previous post ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |