commit 15da1d370f72a234e7f415679b7f1e1a1884d335
Author: Erik Loualiche <[email protected]>
Date: Tue, 4 Jun 2019 12:11:18 -0400
Push most files after run.
Diffstat:
13 files changed, 2523 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1,12 @@
+# .gitignore file for RiskPremium Repo
+
+
+## STANDARD EXCLUSIONS
+archive
+doc/*.lyx
+tmp
+.Rhistory
+
+# Specific files
+doc/dividendpriceratio.tex
+input/msi.sas7bdat+
\ No newline at end of file
diff --git a/Makefile b/Makefile
@@ -0,0 +1,50 @@
+#
+# Makefile for PREDICTING THE EQUITY RISK PREMIUM
+#
+# Created on June 04th 2019
+# Last modified on April 04th 2019
+# --------------------------------------------------------------------------------------------------------
+
+
+# --------------------------------------------------------------------------------------------------------
+all: output/predict.csv readme.md
+
+## DOWNLOAD THE DATA FROM WRDS
+input/msi.sas7bdat:
+ rsync -aPvzh --stats --human-readable [email protected]:/wrds/crsp/sasdata/a_stock/msi.sas7bdat ./input/
+
+## GENERATE PREDICTORS
+tmp/predict.csv: src/import_predictors.R input/cay_current.csv input/msi.sas7bdat
+ R CMD BATCH $(R_OPTS) src/import_predictors.R log/import_predictors.log.R
+
+## RUN REGRESSIONS
+output/predict.csv: src/rp_measure.R tmp/predict.csv
+ R CMD BATCH $(R_OPTS) src/rp_measure.R log/rp_measure.log.R
+ @echo
+
+## OUTPUT RESULTS
+readme.md: src/readme_in.md
+ cat src/readme_in.md tmp/reg_update.txt > readme.md
+
+
+# --------------------------------------------------------------------------------------------------------
+.PHONY : help
+help : Makefile
+ @sed -n 's/^##//p' $<
+
+## clean
+.PHONY : clean
+clean:
+ rm -rf ./output/*
+ rm -rf ./log/*.log*
+ rm -rf ./tmp/*
+
+
+# --------------------------------------------------------------------------------------------------------
+SHELL := /bin/bash
+R_OPTS := --vanilla
+# DATE := `date '+%Y-%m-%d %H:%M:%S'`
+# --------------------------------------------------------------------------------------------------------
+
+
+
diff --git a/doc/dividendpriceratio.pdf b/doc/dividendpriceratio.pdf
Binary files differ.
diff --git a/input/cay_current.csv b/input/cay_current.csv
@@ -0,0 +1,265 @@
+cay = c - 0.274092 a - 0.757866 y - 0.668337,,,,
+date,c (pce),a,y,cay
+195201,9.093943022,10.89614146,8.918819854,0.016465442
+195202,9.109441501,10.91332962,8.921109123,0.025517831
+195203,9.109911598,10.91016439,8.934989259,0.016336205
+195204,9.140163235,10.9044185,8.964998095,0.025420057
+195301,9.148163376,10.9046518,8.975451626,0.025433872
+195302,9.150421745,10.90494552,8.98510858,0.020293056
+195303,9.143581997,10.90331512,8.978187927,0.019145117
+195304,9.132202022,10.907309,8.966159289,0.015786553
+195401,9.131671469,10.91469342,8.956056168,0.020888805
+195402,9.140594975,10.93119337,8.955027313,0.026069547
+195403,9.149442411,10.95242406,8.958497606,0.026467811
+195404,9.165444913,10.95832073,8.977145303,0.026721624
+195501,9.183421078,10.96577967,8.985189913,0.036556615
+195502,9.198399462,10.98746022,9.006578672,0.029382724
+195503,9.206077973,11.0016164,9.022344419,0.021232813
+195504,9.213812065,11.00508517,9.032231011,0.020523432
+195601,9.211124499,11.02292656,9.039134587,0.007713701
+195602,9.210367791,11.02172803,9.046445912,0.001744495
+195603,9.207929696,11.01615645,9.045127353,0.001832813
+195604,9.216725697,11.02684477,9.057048929,-0.001335726
+195701,9.219311188,11.0207387,9.056424703,0.00339647
+195702,9.217018897,11.03509493,9.057792745,-0.003867536
+195703,9.220409587,11.01926643,9.056413137,0.00490717
+195704,9.216247359,11.01815791,9.047622236,0.007711104
+195801,9.198650421,11.02012461,9.025951142,0.005998902
+195802,9.203004305,11.03273056,9.028212681,0.005183657
+195803,9.214993784,11.05453525,9.050381576,-0.005604405
+195804,9.223772473,11.06531833,9.061566431,-0.008257894
+195901,9.237750549,11.06425802,9.068623771,0.000662285
+195902,9.24919894,11.07358769,9.081403293,-0.000131677
+195903,9.255385248,11.06791808,9.072734609,0.014178326
+195904,9.252060138,11.07410467,9.074606563,0.007738833
+196001,9.253608042,11.06805709,9.082157357,0.005221836
+196002,9.26261099,11.07082935,9.084637186,0.011585551
+196003,9.254361234,11.05829105,9.081170485,0.009399733
+196004,9.251158553,11.07462387,9.075063352,0.006348754
+196101,9.246989913,11.09238214,9.078539145,-0.005321467
+196102,9.257891441,11.10176696,9.090861514,-0.006330947
+196103,9.258562229,11.10883746,9.0994503,-0.014107274
+196104,9.274147203,11.12758655,9.112454759,-0.013516911
+196201,9.281170964,11.12453843,9.119944599,-0.011333983
+196202,9.289848491,11.07663785,9.127901722,0.004442257
+196203,9.294063341,11.08612269,9.12864332,0.005495361
+196204,9.304056808,11.12497023,9.132052211,0.002257557
+196301,9.307537586,11.13768783,9.138805307,-0.002865398
+196302,9.313882859,11.14940837,9.145263502,-0.004627073
+196303,9.323597482,11.1567618,9.152125976,-0.002128803
+196304,9.328003189,11.14654213,9.163154721,-0.003280283
+196401,9.344422752,11.15648275,9.180394168,-0.002650558
+196402,9.358705881,11.17165803,9.203122706,-0.009752038
+196403,9.373330185,11.18188743,9.213454258,-0.005761464
+196404,9.372572971,11.19138857,9.22047668,-0.014444917
+196501,9.391828237,11.20079364,9.229393776,-0.004525471
+196502,9.400179741,11.19438194,9.23621442,0.000414293
+196503,9.413875851,11.21570161,9.262423615,-0.011596207
+196504,9.438383996,11.23784825,9.280347602,-0.006742255
+196601,9.450521586,11.22879504,9.283078773,0.00580688
+196602,9.450412581,11.23167552,9.291180586,-0.001231731
+196603,9.458675946,11.20980995,9.304989129,0.002559774
+196604,9.459731329,11.22964745,9.31661014,-0.010629308
+196701,9.463080119,11.2599121,9.328372315,-0.024489963
+196702,9.47419313,11.26796528,9.334936187,-0.020558797
+196703,9.476455642,11.28382615,9.34197588,-0.027978763
+196704,9.479712322,11.29210333,9.35219703,-0.034737055
+196801,9.501100165,11.28565887,9.368791618,-0.024159319
+196802,9.513919755,11.3174011,9.384773919,-0.032152456
+196803,9.529855698,11.32283333,9.386556097,-0.019056095
+196804,9.531685299,11.3558811,9.393368629,-0.0314476
+196901,9.540706511,11.34873219,9.393601755,-0.02064361
+196902,9.544846342,11.33674814,9.402166081,-0.019709664
+196903,9.546838308,11.32754025,9.421532936,-0.029871379
+196904,9.551857852,11.31612127,9.427573346,-0.026299811
+197001,9.555588798,11.30800141,9.435120551,-0.02606305
+197002,9.557070325,11.27779909,9.446494839,-0.024923509
+197003,9.562417883,11.30112561,9.453555778,-0.031320803
+197004,9.556243786,11.31444669,9.446534994,-0.03582528
+197101,9.572140525,11.34252696,9.464193942,-0.04100823
+197102,9.578390311,11.34904906,9.477877564,-0.046916453
+197103,9.583245527,11.3508479,9.479283361,-0.043619693
+197104,9.596613644,11.36684145,9.48714297,-0.040591807
+197201,9.60733659,11.38893603,9.493359568,-0.040636151
+197202,9.623877967,11.39808769,9.502280698,-0.033364191
+197203,9.636656286,11.41250548,9.511438081,-0.031477741
+197204,9.657160612,11.45220389,9.544794092,-0.047133812
+197301,9.673146569,11.44165197,9.552607919,-0.034177498
+197302,9.670476517,11.43148607,9.554786985,-0.035712602
+197303,9.671561989,11.44676171,9.553365704,-0.037736915
+197304,9.66615756,11.41513596,9.555776661,-0.036300172
+197401,9.655367874,11.3884445,9.542257457,-0.029528202
+197402,9.656733803,11.35804642,9.538842855,-0.017242602
+197403,9.658307039,11.31750067,9.537613278,-0.00362426
+197404,9.640943453,11.31759034,9.532559794,-0.017182557
+197501,9.647233593,11.34471265,9.529639223,-0.016113014
+197502,9.66144099,11.3759404,9.575220221,-0.045009185
+197503,9.672642375,11.35024605,9.558080699,-0.013775729
+197504,9.680587883,11.35923272,9.564032157,-0.0128038
+197601,9.698247651,11.37989014,9.576465494,-0.010228867
+197602,9.705298555,11.40083398,9.578728733,-0.010633726
+197603,9.7132779,11.40079459,9.583943099,-0.006595377
+197604,9.723569972,11.40744405,9.587170836,-0.000572058
+197701,9.732634727,11.40229681,9.586525163,0.010392845
+197702,9.735715047,11.41223576,9.594931216,0.004378317
+197703,9.742408692,11.41412017,9.606842485,0.001528312
+197704,9.754513479,11.41909689,9.616215953,0.005165188
+197801,9.757974002,11.42290407,9.620361016,0.00444079
+197802,9.776567408,11.43590267,9.628067013,0.013631273
+197803,9.777772964,11.44784755,9.634199783,0.006915016
+197804,9.782865402,11.44826422,9.640661703,0.006995976
+197901,9.785369493,11.46459169,9.64493673,0.001784946
+197902,9.782151997,11.46903958,9.635758922,0.004303872
+197903,9.78896039,11.4746545,9.64008956,0.006291217
+197904,9.788520387,11.4787099,9.639518311,0.005172593
+198001,9.784168631,11.46581975,9.637938516,0.005551196
+198002,9.758644053,11.47911599,9.624709445,-0.013591904
+198003,9.766351278,11.49416493,9.633750456,-0.016861347
+198004,9.776824951,11.49947944,9.639567622,-0.012252971
+198101,9.779988792,11.49063308,9.631640176,-0.000656473
+198102,9.777590983,11.49969988,9.628248459,-0.002968948
+198103,9.778871656,11.48807957,9.636837718,-0.005012755
+198104,9.768738186,11.49758988,9.637168813,-0.018003848
+198201,9.773209612,11.49327422,9.634776023,-0.010536118
+198202,9.774702033,11.49374649,9.636037356,-0.010129066
+198203,9.779854646,11.49555555,9.641142679,-0.009341453
+198204,9.795460172,11.50888087,9.64245033,0.001620691
+198301,9.803107523,11.52713057,9.646222473,0.001407171
+198302,9.820665335,11.54137907,9.653524725,0.009525456
+198303,9.835560102,11.53759447,9.661215102,0.019629272
+198304,9.848878565,11.53367048,9.676359102,0.022546142
+198401,9.855388831,11.53940942,9.68728119,0.01920593
+198402,9.867534011,11.54467285,9.696931307,0.022594949
+198403,9.872761659,11.55918601,9.704032062,0.018463237
+198404,9.88345611,11.56750044,9.712655947,0.020343021
+198501,9.898488374,11.5823805,9.707510143,0.035196616
+198502,9.905724652,11.5955534,9.726408807,0.024499652
+198503,9.922152744,11.59703641,9.724678914,0.04183229
+198504,9.922232815,11.61821794,9.733890235,0.029125732
+198601,9.928690012,11.64098657,9.742559775,0.022771886
+198602,9.937700006,11.66550953,9.753106667,0.017067207
+198603,9.953153728,11.66682632,9.759486415,0.027325011
+198604,9.957147996,11.6900389,9.764428053,0.021211805
+198701,9.955352274,11.71463683,9.770863578,0.007796727
+198702,9.967043265,11.72209977,9.760549821,0.025258639
+198703,9.976080238,11.73377207,9.772620924,0.021948048
+198704,9.975713685,11.71264618,9.781884123,0.02035166
+198801,9.991318888,11.72720929,9.791848989,0.0244132
+198802,9.996584169,11.73866181,9.802246478,0.018659534
+198803,10.00247137,11.7391973,9.805017202,0.022300122
+198804,10.01136348,11.75040357,9.811086437,0.023521022
+198901,10.01394598,11.75735918,9.813593082,0.022297344
+198902,10.01639485,11.76502223,9.808274391,0.026676691
+198903,10.02356015,11.78328304,9.814206661,0.024340993
+198904,10.02523292,11.78874599,9.821502177,0.018987378
+199001,10.03150506,11.77463537,9.829383624,0.023154046
+199002,10.03150975,11.77667157,9.834607106,0.018641932
+199003,10.03201171,11.7501074,9.831016412,0.029146169
+199004,10.02090554,11.75330996,9.822741424,0.023433537
+199101,10.01433646,11.77055194,9.826353257,0.009401295
+199102,10.01952025,11.76564996,9.832568647,0.01121824
+199103,10.02081015,11.76650627,9.834469095,0.010833146
+199104,10.01712873,11.78087365,9.842781557,-0.003085985
+199201,10.03278453,11.77283903,9.864394625,-0.001607785
+199202,10.03627232,11.76729622,9.871235387,-0.001785133
+199203,10.04337018,11.77143483,9.872072588,0.003543874
+199204,10.05174296,11.78438831,9.872193745,0.008274394
+199301,10.05260963,11.78694234,9.872812219,0.007972312
+199302,10.05849071,11.78897584,9.872101019,0.013835014
+199303,10.06605217,11.79713598,9.872970156,0.018501155
+199304,10.07168123,11.80412286,9.875450905,0.020335099
+199401,10.08038614,11.80022918,9.876893038,0.02901429
+199402,10.08518826,11.80110832,9.884129548,0.028091141
+199403,10.08968246,11.80571975,9.88426323,0.031220071
+199404,10.09734495,11.8066921,9.893020736,0.031979031
+199501,10.09731361,11.81682945,9.899520711,0.024243013
+199502,10.10336739,11.83153899,9.8977941,0.027573572
+199503,10.10931723,11.84909313,9.901669109,0.025775226
+199504,10.11320747,11.86340259,9.900369687,0.026728157
+199601,10.1199712,11.8745521,9.906721011,0.025622442
+199602,10.12792172,11.88268004,9.911811541,0.027487219
+199603,10.13068163,11.88645461,9.915562095,0.026370129
+199604,10.13532035,11.88632621,9.915799986,0.030863757
+199701,10.14318998,11.88980276,9.923356998,0.032053288
+199702,10.14484719,11.93121766,9.929170954,0.017952815
+199703,10.15849147,11.96017668,9.937031558,0.017702389
+199704,10.16720433,11.96608249,9.948547923,0.016068651
+199801,10.17489449,12.01254958,9.964672588,-0.001197769
+199802,10.18964956,12.02630292,9.974413762,0.002405112
+199803,10.19958963,11.9958962,9.981973224,0.014950352
+199804,10.21116279,12.05245712,9.990220574,0.004770242
+199901,10.21813313,12.06172338,10.00274893,-0.000294038
+199902,10.23009627,12.08780941,10.00296239,0.00435737
+199903,10.23821033,12.07568155,10.0078263,0.01210938
+199904,10.24979767,12.14026909,10.01971176,-0.003013774
+200001,10.26233479,12.15720076,10.03791521,-0.008913269
+200002,10.2694224,12.14271986,10.04171313,-0.000734884
+200003,10.27638779,12.14934751,10.05166958,-0.003131727
+200004,10.2826011,12.11922747,10.05089517,0.011924126
+200101,10.28454678,12.0873339,10.0603439,0.015450696
+200102,10.28472993,12.11025112,10.05709475,0.011814846
+200103,10.28577574,12.07535793,10.07518348,0.008715752
+200104,10.29838432,12.10736056,10.06687763,0.018847405
+200201,10.29920813,12.11580307,10.08882832,0.000721509
+200202,10.30208131,12.08489156,10.09405137,0.008108901
+200203,10.30652707,12.04583726,10.09142369,0.025250542
+200204,10.30943212,12.06504858,10.09287082,0.021793208
+200301,10.31174246,12.05884604,10.0934358,0.025375429
+200302,10.32058751,12.09951197,10.10663255,0.013072913
+200303,10.3327313,12.11440231,10.12029388,0.01078192
+200304,10.33809562,12.15499933,10.12157896,0.004045023
+200401,10.34583709,12.18919964,10.12552835,-0.000580633
+200402,10.35011626,12.20425906,10.13427643,-0.007059009
+200403,10.35715682,12.21487031,10.14052669,-0.007663768
+200404,10.36487844,12.25082082,10.13977699,-0.009227707
+200501,10.37037354,12.26130352,10.13853826,-0.005667035
+200502,10.37904409,12.28133253,10.14118177,-0.004489698
+200503,10.38423624,12.29756162,10.14208304,-0.004428843
+200504,10.38547664,12.31532248,10.14182325,-0.007859664
+200601,10.3944317,12.3468612,10.15843946,-0.02014197
+200602,10.39750439,12.33675399,10.15446617,-0.011287754
+200603,10.40072973,12.33424748,10.15454816,-0.00743754
+200604,10.40830622,12.35813575,10.16681388,-0.015704402
+200701,10.41134062,12.35993622,10.18025256,-0.023348222
+200702,10.41249315,12.35670729,10.17369105,-0.016337918
+200703,10.41436583,12.34628121,10.17237359,-0.010609077
+200704,10.41307766,12.31598199,10.17217643,-0.003443059
+200801,10.40880394,12.26670361,10.17468416,0.003889482
+200802,10.40830693,12.23281512,10.20402443,-0.009554972
+200803,10.39862277,12.18592322,10.17120029,0.01848986
+200804,10.38416607,12.12478317,10.18190463,0.012678682
+200901,10.37871477,12.10344198,10.18479766,0.010884289
+200902,10.37212113,12.115207,10.20254324,-0.012382822
+200903,10.37586775,12.1318288,10.19199891,-0.005200904
+200904,10.37346646,12.13658912,10.18954029,-0.007043664
+201001,10.37681194,12.1460016,10.19010436,-0.006705542
+201002,10.38306817,12.12679745,10.20189441,-0.004120902
+201003,10.38752014,12.14825147,10.20493464,-0.007853384
+201004,10.39569147,12.18068245,10.20416992,-0.007991569
+201101,10.39901344,12.19114276,10.21122653,-0.01288464
+201102,10.39933665,12.18645873,10.20277696,-0.004873942
+201103,10.40167307,12.14367807,10.20158648,0.010090533
+201104,10.40306707,12.163639,10.19354456,0.012108104
+201201,10.40744238,12.19319683,10.20578649,-0.000895883
+201202,10.40748035,12.19245159,10.20737567,-0.001858043
+201203,10.40814172,12.21732615,10.20503977,-0.006244276
+201204,10.40896328,12.22598983,10.21774391,-0.017425398
+201301,10.41215242,12.26147785,10.18439318,0.001312162
+201302,10.41264013,12.28316096,10.19208326,-0.009971338
+201303,10.41531169,12.31008855,10.19449664,-0.016509419
+201304,10.42169125,12.33817751,10.19550457,-0.018592692
+201401,10.424797,12.34558322,10.20302759,-0.023218232
+201402,10.43160729,12.35979604,10.20844901,-0.024412266
+201403,10.43919365,12.35937058,10.21586838,-0.022332177
+201404,10.44947895,12.38002573,10.22875616,-0.027475502
+201501,10.45684875,12.40146138,10.24015827,-0.034622307
+201502,10.46256543,12.40470186,10.24653883,-0.034629428
+201503,10.46734812,12.38549823,10.24914833,-0.02656083
+201504,10.47190889,12.40427123,10.25976458,-0.035191286
+201601,10.47478362,12.40512783,10.25672492,-0.030247686
+201602,10.48246925,12.40920055,10.26212304,-0.027769407
+201603,10.48743766,12.42801793,10.26372071,-0.029169505
+201604,10.4927175,12.44184314,10.25415362,-0.02042846
+201701,10.49589657,12.45703895,10.25927611,-0.0252966
+201702,10.50230614,12.47080687,10.26441263,-0.026553501
+201703,10.50568767,12.48331976,10.26573817,-0.027606225+
\ No newline at end of file
diff --git a/log/R-session-info.log.R b/log/R-session-info.log.R
@@ -0,0 +1,129 @@
+
+
+# -----
+# Session info for import_predictors
+
+ setting value
+ version R version 3.5.1 (2018-07-02)
+ system x86_64, darwin15.6.0
+ ui X11
+ language (EN)
+ collate en_US.UTF-8
+ tz America/New_York
+ date 2019-06-04
+
+ package * version date source
+ alfred * 0.1.6 2018-04-06 CRAN (R 3.5.1)
+ assertthat 0.2.0 2017-04-11 CRAN (R 3.5.1)
+ backports 1.1.2 2017-12-13 CRAN (R 3.5.1)
+ base * 3.5.1 2018-08-05 local
+ colorspace 1.3-2 2016-12-14 CRAN (R 3.5.1)
+ compiler 3.5.1 2018-08-05 local
+ crayon * 1.3.4 2019-05-19 Github (gaborcsardi/crayon@84be620)
+ data.table * 1.12.3 2019-06-03 local
+ datasets * 3.5.1 2018-08-05 local
+ devtools * 1.13.6 2018-06-27 CRAN (R 3.5.1)
+ digest 0.6.15 2018-01-28 CRAN (R 3.5.1)
+ dplyr * 0.8.0.9010 2019-03-31 Github (tidyverse/dplyr@6832c62)
+ forcats 0.3.0 2018-02-19 CRAN (R 3.5.1)
+ ggplot2 3.1.0.9000 2019-03-31 Github (tidyverse/ggplot2@230e8f7)
+ glue 1.3.0 2018-07-17 CRAN (R 3.5.1)
+ graphics * 3.5.1 2018-08-05 local
+ grDevices * 3.5.1 2018-08-05 local
+ grid 3.5.1 2018-08-05 local
+ gtable 0.2.0 2016-02-26 CRAN (R 3.5.1)
+ haven * 1.1.2 2018-06-27 CRAN (R 3.5.1)
+ hms 0.4.2 2018-03-10 CRAN (R 3.5.1)
+ jsonlite 1.5 2017-06-01 CRAN (R 3.5.0)
+ lazyeval 0.2.1 2017-10-29 CRAN (R 3.5.1)
+ lubridate * 1.7.4 2018-04-11 CRAN (R 3.5.1)
+ magrittr 1.5 2014-11-22 CRAN (R 3.5.1)
+ matrixStats 0.54.0 2018-07-23 CRAN (R 3.5.1)
+ memoise 1.1.0 2017-04-21 CRAN (R 3.5.1)
+ methods * 3.5.1 2018-08-05 local
+ munsell 0.5.0 2018-06-12 CRAN (R 3.5.1)
+ parallel 3.5.1 2018-08-05 local
+ pillar 1.4.0.9002 2019-05-19 Github (r-lib/pillar@5ded57f)
+ pkgconfig 2.0.2 2019-05-19 Github (r-lib/pkgconfig@5453f79)
+ purrr 0.2.5 2018-05-29 CRAN (R 3.5.1)
+ R6 2.2.2 2017-06-17 CRAN (R 3.5.0)
+ Rcpp 1.0.1.3 2019-05-19 Github (RcppCore/Rcpp@6062d56)
+ RcppRoll * 0.3.0 2018-06-05 CRAN (R 3.5.1)
+ rlang 0.3.4.9003 2019-05-19 Github (r-lib/rlang@6a232c0)
+ scales 1.0.0.9000 2019-03-31 Github (r-lib/scales@c374014)
+ statar * 0.6.5 2017-07-06 CRAN (R 3.5.1)
+ stats * 3.5.1 2018-08-05 local
+ stringi 1.2.4 2018-07-20 CRAN (R 3.5.1)
+ stringr * 1.3.1 2018-05-10 CRAN (R 3.5.1)
+ tibble 2.1.1.9000 2019-05-19 Github (tidyverse/tibble@71b8ff6)
+ tidyr 0.8.3.9000 2019-05-19 Github (tidyverse/tidyr@b6ec78b)
+ tidyselect 0.2.5.9000 2019-05-19 Github (tidyverse/tidyselect@19150c0)
+ tools 3.5.1 2018-08-05 local
+ utils * 3.5.1 2018-08-05 local
+ vctrs 0.1.0.9003 2019-05-19 Github (r-lib/vctrs@b1e6b81)
+ withr 2.1.2 2018-03-15 CRAN (R 3.5.1)
+ zeallot 0.1.0 2018-01-28 CRAN (R 3.5.1)
+
+
+# -----
+# Session info for rp_measure.csv
+
+ setting value
+ version R version 3.5.1 (2018-07-02)
+ system x86_64, darwin15.6.0
+ ui X11
+ language (EN)
+ collate en_US.UTF-8
+ tz America/New_York
+ date 2019-06-04
+
+ package * version date source
+ assertthat 0.2.0 2017-04-11 CRAN (R 3.5.1)
+ backports 1.1.2 2017-12-13 CRAN (R 3.5.1)
+ base * 3.5.1 2018-08-05 local
+ colorspace 1.3-2 2016-12-14 CRAN (R 3.5.1)
+ compiler 3.5.1 2018-08-05 local
+ crayon * 1.3.4 2019-05-19 Github (gaborcsardi/crayon@84be620)
+ data.table * 1.12.3 2019-06-03 local
+ datasets * 3.5.1 2018-08-05 local
+ devtools * 1.13.6 2018-06-27 CRAN (R 3.5.1)
+ digest 0.6.15 2018-01-28 CRAN (R 3.5.1)
+ dplyr 0.8.0.9010 2019-03-31 Github (tidyverse/dplyr@6832c62)
+ ggplot2 3.1.0.9000 2019-03-31 Github (tidyverse/ggplot2@230e8f7)
+ glue 1.3.0 2018-07-17 CRAN (R 3.5.1)
+ graphics * 3.5.1 2018-08-05 local
+ grDevices * 3.5.1 2018-08-05 local
+ grid 3.5.1 2018-08-05 local
+ gtable 0.2.0 2016-02-26 CRAN (R 3.5.1)
+ lattice 0.20-35 2017-03-25 CRAN (R 3.5.1)
+ lazyeval 0.2.1 2017-10-29 CRAN (R 3.5.1)
+ lmtest * 0.9-36 2018-04-04 CRAN (R 3.5.1)
+ lubridate * 1.7.4 2018-04-11 CRAN (R 3.5.1)
+ magrittr 1.5 2014-11-22 CRAN (R 3.5.1)
+ matrixStats 0.54.0 2018-07-23 CRAN (R 3.5.1)
+ memoise 1.1.0 2017-04-21 CRAN (R 3.5.1)
+ methods * 3.5.1 2018-08-05 local
+ munsell 0.5.0 2018-06-12 CRAN (R 3.5.1)
+ parallel 3.5.1 2018-08-05 local
+ pillar 1.4.0.9002 2019-05-19 Github (r-lib/pillar@5ded57f)
+ pkgconfig 2.0.2 2019-05-19 Github (r-lib/pkgconfig@5453f79)
+ purrr 0.2.5 2018-05-29 CRAN (R 3.5.1)
+ R6 2.2.2 2017-06-17 CRAN (R 3.5.0)
+ Rcpp 1.0.1.3 2019-05-19 Github (RcppCore/Rcpp@6062d56)
+ rlang 0.3.4.9003 2019-05-19 Github (r-lib/rlang@6a232c0)
+ sandwich * 2.4-0 2017-07-26 CRAN (R 3.5.1)
+ scales 1.0.0.9000 2019-03-31 Github (r-lib/scales@c374014)
+ stargazer * 5.2.2 2018-05-30 CRAN (R 3.5.1)
+ statar * 0.6.5 2017-07-06 CRAN (R 3.5.1)
+ stats * 3.5.1 2018-08-05 local
+ stringi 1.2.4 2018-07-20 CRAN (R 3.5.1)
+ stringr * 1.3.1 2018-05-10 CRAN (R 3.5.1)
+ tibble 2.1.1.9000 2019-05-19 Github (tidyverse/tibble@71b8ff6)
+ tidyr 0.8.3.9000 2019-05-19 Github (tidyverse/tidyr@b6ec78b)
+ tidyselect 0.2.5.9000 2019-05-19 Github (tidyverse/tidyselect@19150c0)
+ tools 3.5.1 2018-08-05 local
+ utils * 3.5.1 2018-08-05 local
+ vctrs 0.1.0.9003 2019-05-19 Github (r-lib/vctrs@b1e6b81)
+ withr 2.1.2 2018-03-15 CRAN (R 3.5.1)
+ zeallot 0.1.0 2018-01-28 CRAN (R 3.5.1)
+ zoo * 1.8-3 2018-07-16 CRAN (R 3.5.1)
diff --git a/log/import_predictors.log.R b/log/import_predictors.log.R
@@ -0,0 +1,240 @@
+
+R version 3.5.1 (2018-07-02) -- "Feather Spray"
+Copyright (C) 2018 The R Foundation for Statistical Computing
+Platform: x86_64-apple-darwin15.6.0 (64-bit)
+
+R is free software and comes with ABSOLUTELY NO WARRANTY.
+You are welcome to redistribute it under certain conditions.
+Type 'license()' or 'licence()' for distribution details.
+
+ Natural language support but running in an English locale
+
+R is a collaborative project with many contributors.
+Type 'contributors()' for more information and
+'citation()' on how to cite R or R packages in publications.
+
+Type 'demo()' for some demos, 'help()' for on-line help, or
+'help.start()' for an HTML browser interface to help.
+Type 'q()' to quit R.
+
+> #!/usr/bin/env Rscript
+> #
+> # import_predictors.R
+> #
+> # This code creates or imports the predictors of aggregate equity returns
+> # There are three parts for T-bill, D/P ratio and cay
+> #
+> # 1. T-bill comes from the H15 release of the FRB
+> # we downloaded it directly from FRED at https://fred.stlouisfed.org/series/TB3MS
+> #
+> # 2. cay comes from Martin Lettau's website at http://faculty.haas.berkeley.edu/lettau/data_cay.html
+> #
+> # 3. D-P ratio is estimated from the MSI CRSP Files
+> # We use a method of continuously reinvested dividends
+> # See attached LaTeX file for explanations of the procedure
+> # Data is from CRSP and available at /wrds/crsp/sasdata/a_stock/msi.sas7bdat
+> #
+> # 4. Estimate future excess returns: we use a horizon of three years in the paper
+> #
+> # (c) Valentin Haddad, Erik Loualiche & Matthew Plosser
+> #
+> # Last updated on June 4th 2019
+> #
+> ##################################################################################
+>
+>
+> ##################################################################################
+> message("Log file for code executed at\n")
+Log file for code executed at
+
+> message(format(Sys.time(), "%a %b %d %X %Y"))
+Tue Jun 04 12:05:52 2019
+> ##################################################################################
+>
+>
+> ##################################################################################
+> # APPEND REQUIRED PACKAGES
+> library(crayon)
+> library(devtools)
+>
+> library(alfred)
+> library(haven)
+> library(dplyr)
+
+Attaching package: ‘dplyr’
+
+The following objects are masked from ‘package:stats’:
+
+ filter, lag
+
+The following objects are masked from ‘package:base’:
+
+ intersect, setdiff, setequal, union
+
+> library(stringr)
+> library(lubridate)
+
+Attaching package: ‘lubridate’
+
+The following object is masked from ‘package:base’:
+
+ date
+
+> library(RcppRoll)
+> library(statar)
+> library(data.table)
+
+Attaching package: ‘data.table’
+
+The following objects are masked from ‘package:lubridate’:
+
+ hour, isoweek, mday, minute, month, quarter, second, wday, week,
+ yday, year
+
+The following objects are masked from ‘package:dplyr’:
+
+ between, first, last
+
+>
+> check_file = file.exists("log/R-session-info.log.R")
+> sink("log/R-session-info.log.R", append=check_file)
+> cat(bold("\n\n# -----\n# Session info for import_predictors\n\n"))
+> session_info()
+Session info ------------------------------------------------------------------
+Packages ----------------------------------------------------------------------
+> sink()
+> ##################################################################################
+>
+>
+> ##################################################################################
+> # 1. TREASURIES
+> dt_tbill <- get_fred_series("TB3MS", "rf", observation_start = "1950-01-01", observation_end = "2019-05-31") %>% data.table
+> dt_tbill <- dt_tbill[, .(dateym=year(date)*100+month(date), rf=rf/100)]
+> # fwrite(dt_tbill, "./input/tbill.csv")
+> ##################################################################################
+>
+>
+> ##################################################################################
+> # 2. CAY
+> dt_cay <- fread("./input/cay_current.csv", skip=1, header=T)
+> dt_cay <- dt_cay[, .(dateym=as.integer(str_sub(date, 1, 6)), cay=cay) ]
+> dt_cay
+ dateym cay
+ 1: 195201 0.01646544
+ 2: 195202 0.02551783
+ 3: 195203 0.01633620
+ 4: 195204 0.02542006
+ 5: 195301 0.02543387
+ ---
+259: 201603 -0.02916950
+260: 201604 -0.02042846
+261: 201701 -0.02529660
+262: 201702 -0.02655350
+263: 201703 -0.02760623
+> ##################################################################################
+>
+>
+> ##################################################################################
+> # 3. Dividend-Price RATIO
+> dt_msi <- read_sas("./input/msi.sas7bdat") %>% data.table
+> dt_msi <- dt_msi[, .(date=DATE, vwretd, vwretx) ]
+> fwrite(dt_msi, "./output/msi.csv") # SAVED HERE IF YOU NEED IT
+>
+> # ESTIMATE THE DP RATIO
+> dt_dp <- dt_msi[, .(date, vwretx, vwretd, vwrx=1+vwretx, vwrd=1+vwretd) ]
+> dt_dp[, `:=`(vwrx=1+vwretx, vwrd=1+vwretd) ]
+> dt_dp[, `:=`(dpvw = 100 * (vwretd-vwretx) / (1+vwretx) ) ]
+> dt_dp[, `:=`(retd_retx = (1+vwretd) / (1+vwretx) ) ]
+> dt_dp[, `:=`(datem = as.monthly(date)) ]
+> dt_dp[, dp := 0 ]
+> for (i in seq(11,0)){
++ dt_dp[, dp := (dp*tlag(retd_retx, i, time=datem) + tlag(dpvw, i, time=datem)) ]
++ }
+> dt_dp <- dt_dp[, .(dateym=year(datem)*100+month(datem), dp=dp/100)]
+> dt_dp[]
+ dateym dp
+ 1: 192512 NA
+ 2: 192601 NA
+ 3: 192602 NA
+ 4: 192603 NA
+ 5: 192604 NA
+ ---
+1113: 201808 0.02033382
+1114: 201809 0.02040150
+1115: 201810 0.02047582
+1116: 201811 0.02050859
+1117: 201812 0.02114445
+> ##################################################################################
+>
+>
+> ##################################################################################
+> # ESTIMATE FUTURE EXCESS RETURNS
+> dt_rmrf <- fread("./output/msi.csv") %>% data.table
+> dt_rmrf <- dt_rmrf[, .(dateym=year(date)*100+month(date), retm=vwretd) ]
+> dt_rmrf <- merge(dt_rmrf, dt_tbill, by = "dateym")
+>
+> dt_rmrf[, lead1_retm := shift(retm, 1, type="lead") ]
+> dt_rmrf[, retm_y := exp( roll_sum(log(1+lead1_retm), n=12, align="left", fill=NA) ) - 1 ]
+> dt_rmrf[, rf_y := (1+rf)^(1/4) * (1+shift(rf, 3, type="lead"))^(1/4) *
++ (1+shift(rf, 6, type="lead"))^(1/4) * (1+shift(rf, 9, type="lead"))^(1/4) - 1 ]
+> dt_rmrf[, rmrf_y3 := 1 * (
++ ( (1+retm_y) * (1 + shift(retm_y, 12, type="lead")) * (1 + shift(retm_y, 24, type="lead")) )^(1/3) -
++ ( ((1+rf_y) * (1 + shift(rf_y, 12, type="lead")) * (1 + shift(rf_y, 24, type="lead")) )^(1/3) - 1) -1) ]
+>
+> dt_rmrf <- dt_rmrf[, .(dateym, rmrf_y3) ]
+> dt_rmrf[ !is.na(rmrf_y3) ]
+ dateym rmrf_y3
+ 1: 195001 0.19164596
+ 2: 195002 0.18441326
+ 3: 195003 0.17389623
+ 4: 195004 0.14728401
+ 5: 195005 0.13288460
+ ---
+788: 201508 0.13987039
+789: 201509 0.15268617
+790: 201510 0.09634409
+791: 201511 0.10151984
+792: 201512 0.07465740
+> ##################################################################################
+>
+>
+> ##################################################################################
+> # MERGE THE PREDICTORS
+> dt_predict <- merge(dt_dp, dt_tbill, by = c("dateym"))
+> dt_predict <- merge(dt_predict, dt_rmrf, by = c("dateym"), all.x = T)
+> dt_predict <- merge(dt_predict, dt_cay, by = c("dateym"), all.x = T)
+> dt_predict <- dt_predict[ !is.na(rmrf_y3) & !is.na(cay) ]
+> dt_predict[]
+ dateym dp rf rmrf_y3 cay
+ 1: 195201 0.05812871 0.0157 0.17701996 0.01646544
+ 2: 195202 0.05899675 0.0154 0.19964326 0.02551783
+ 3: 195203 0.05817138 0.0159 0.18092953 0.01633620
+ 4: 195204 0.05847809 0.0157 0.21473395 0.02542006
+ 5: 195301 0.05472504 0.0196 0.21110181 0.02543387
+ ---
+252: 201404 0.02159773 0.0003 0.08441447 -0.02747550
+253: 201501 0.02090927 0.0003 0.12632351 -0.03462231
+254: 201502 0.02098770 0.0002 0.09072934 -0.03462943
+255: 201503 0.02111608 0.0003 0.08734601 -0.02656083
+256: 201504 0.02109137 0.0002 0.08565438 -0.03519129
+>
+> fwrite(dt_predict, "./tmp/predict.csv")
+> ##################################################################################
+>
+>
+>
+>
+>
+>
+>
+>
+>
+>
+>
+>
+>
+>
+>
+> proc.time()
+ user system elapsed
+ 1.336 0.138 1.783
diff --git a/log/rp_measure.log.R b/log/rp_measure.log.R
@@ -0,0 +1,191 @@
+
+R version 3.5.1 (2018-07-02) -- "Feather Spray"
+Copyright (C) 2018 The R Foundation for Statistical Computing
+Platform: x86_64-apple-darwin15.6.0 (64-bit)
+
+R is free software and comes with ABSOLUTELY NO WARRANTY.
+You are welcome to redistribute it under certain conditions.
+Type 'license()' or 'licence()' for distribution details.
+
+ Natural language support but running in an English locale
+
+R is a collaborative project with many contributors.
+Type 'contributors()' for more information and
+'citation()' on how to cite R or R packages in publications.
+
+Type 'demo()' for some demos, 'help()' for on-line help, or
+'help.start()' for an HTML browser interface to help.
+Type 'q()' to quit R.
+
+> #!/usr/bin/env Rscript
+> #
+> # rp_measure.R
+> #
+> # This code runs the predictive regression
+> # We save in output the expected excess return estimate
+> #
+> #
+> # (c) Valentin Haddad, Erik Loualiche & Matthew Plosser
+> #
+> # Last updated on June 4th 2019
+> #
+> ##################################################################################
+>
+> ##################################################################################
+> message("Log file for code executed at\n")
+Log file for code executed at
+
+> message(format(Sys.time(), "%a %b %d %X %Y"))
+Tue Jun 04 12:05:54 2019
+> ##################################################################################
+>
+>
+> ##################################################################################
+> # APPEND REQUIRED PACKAGES
+> library(crayon)
+> library(devtools)
+>
+> # library(ggplot2)
+> library(statar)
+> library(stringr)
+> library(lubridate)
+
+Attaching package: ‘lubridate’
+
+The following object is masked from ‘package:base’:
+
+ date
+
+> library(data.table)
+
+Attaching package: ‘data.table’
+
+The following objects are masked from ‘package:lubridate’:
+
+ hour, isoweek, mday, minute, month, quarter, second, wday, week,
+ yday, year
+
+> library(lmtest)
+Loading required package: zoo
+
+Attaching package: ‘zoo’
+
+The following objects are masked from ‘package:base’:
+
+ as.Date, as.Date.numeric
+
+
+Attaching package: ‘lmtest’
+
+The following object is masked from ‘package:crayon’:
+
+ reset
+
+> library(sandwich)
+> library(stargazer)
+
+Please cite as:
+
+ Hlavac, Marek (2018). stargazer: Well-Formatted Regression and Summary Statistics Tables.
+ R package version 5.2.2. https://CRAN.R-project.org/package=stargazer
+
+>
+> check_file = file.exists("log/R-session-info.log.R")
+> sink("log/R-session-info.log.R", append=check_file)
+> cat(bold("\n\n# -----\n# Session info for rp_measure.csv\n\n"))
+> session_info()
+Session info ------------------------------------------------------------------
+Packages ----------------------------------------------------------------------
+> sink()
+> ##################################################################################
+>
+>
+> ##################################################################################
+> dt_predict <- fread("./tmp/predict.csv")
+> dt_predict[, datem := as.monthly(ISOdate(str_sub(dateym, 1, 4), str_sub(dateym, 5, 6), 1)) ]
+> ##################################################################################
+>
+>
+> ##################################################################################
+> r1_3 = lm(rmrf_y3 ~ dp + cay + rf, data = dt_predict[ year(datem) < 2011])
+> nw_r1_3 = coeftest(r1_3, df = Inf, vcov = NeweyWest(r1_3, lag = 12, prewhite = FALSE) )
+> r2_3 = lm(rmrf_y3 ~ dp + cay + rf, data = dt_predict)
+> nw_r2_3 = coeftest(r2_3, df = Inf, vcov = NeweyWest(r2_3, lag = 12, prewhite = FALSE) )
+>
+> stargazer(r1_3, nw_r1_3, r2_3, nw_r2_3, type="text")
+
+===========================================================================================
+ Dependent variable:
+ -----------------------------------------------------------------------
+ rmrf_y3 rmrf_y3
+ OLS coefficient OLS coefficient
+ test test
+ (1) (2) (3) (4)
+-------------------------------------------------------------------------------------------
+dp 2.932*** 2.932*** 2.788*** 2.788***
+ (0.411) (1.022) (0.411) (1.077)
+
+cay 2.363*** 2.363*** 2.076*** 2.076***
+ (0.244) (0.545) (0.234) (0.568)
+
+rf -0.852*** -0.852** -1.093*** -1.093***
+ (0.161) (0.353) (0.151) (0.376)
+
+Constant 0.001 0.001 0.022* 0.022
+ (0.014) (0.036) (0.013) (0.036)
+
+-------------------------------------------------------------------------------------------
+Observations 236 256
+R2 0.438 0.400
+Adjusted R2 0.431 0.393
+Residual Std. Error 0.070 (df = 232) 0.070 (df = 252)
+F Statistic 60.270*** (df = 3; 232) 56.022*** (df = 3; 252)
+===========================================================================================
+Note: *p<0.1; **p<0.05; ***p<0.01
+>
+> # --- output for the readme
+> star = stargazer(r2_3, type="text", style = "aer",
++ covariate.labels = c("D/P ratio", "cay", "T-bill (three-month)"),
++ dep.var.labels = "Future Excess Returns",
++ omit.stat = c("ser", "adj.rsq") )
+
+===========================================================
+ Future Excess Returns
+-----------------------------------------------------------
+D/P ratio 2.788***
+ (0.411)
+
+cay 2.076***
+ (0.234)
+
+T-bill (three-month) -1.093***
+ (0.151)
+
+Constant 0.022*
+ (0.013)
+
+Observations 256
+R2 0.400
+F Statistic 56.022*** (df = 3; 252)
+-----------------------------------------------------------
+Notes: ***Significant at the 1 percent level.
+ **Significant at the 5 percent level.
+ *Significant at the 10 percent level.
+>
+> star[1] = "~~~R"
+> star[length(star)+1] = "~~~"
+> cat(star, sep = '\n', file = './tmp/reg_update.txt')
+> ##################################################################################
+>
+>
+> ##################################################################################
+> # OUTPUT PREDICTED VALUE
+> dt_exp_rmrf <- cbind(dt_predict[!is.na(rmrf_y3), -c("datem")], exp_rmrf = predict(r2_3))
+>
+> fwrite(dt_exp_rmrf, "./output/predict.csv")
+> ##################################################################################
+>
+>
+> proc.time()
+ user system elapsed
+ 1.685 0.135 1.793
diff --git a/output/msi.csv b/output/msi.csv
@@ -0,0 +1,1118 @@
+date,vwretd,vwretx
+1925-12-31,,
+1926-01-30,0.0005610363,-0.001395089
+1926-02-27,-0.03304553,-0.03658723
+1926-03-31,-0.06400222,-0.07002128
+1926-04-30,0.03701948,0.03403132
+1926-05-28,0.01209523,0.008584509
+1926-06-30,0.05366369,0.04618894
+1926-07-31,0.03141126,0.029225
+1926-08-31,0.02864728,0.02535763
+1926-09-30,0.00578737,3.00449e-05
+1926-10-30,-0.02899619,-0.03106881
+1926-11-30,0.02855394,0.0229787
+1926-12-31,0.029211,0.0214219
+1927-01-31,0.002416228,5.323665e-05
+1927-02-28,0.0453671,0.04116976
+1927-03-31,0.003756279,-0.002241672
+1927-04-30,0.007225051,0.005134092
+1927-05-31,0.05777311,0.05362266
+1927-06-30,-0.02108671,-0.02740624
+1927-07-30,0.07527909,0.07286946
+1927-08-31,0.02249037,0.01843828
+1927-09-30,0.04992352,0.04500271
+1927-10-31,-0.0407699,-0.0425937
+1927-11-30,0.06845258,0.06329948
+1927-12-31,0.02378212,0.01820621
+1928-01-31,-0.003339723,-0.005101366
+1928-02-29,-0.01447756,-0.01811899
+1928-03-31,0.09047843,0.08558162
+1928-04-30,0.04384581,0.04208157
+1928-05-31,0.01769032,0.01395029
+1928-06-30,-0.04524517,-0.05028869
+1928-07-31,0.009399799,0.00762611
+1928-08-31,0.07020616,0.06618632
+1928-09-29,0.03149783,0.0280404
+1928-10-31,0.01922795,0.01765021
+1928-11-30,0.1214999,0.1163827
+1928-12-31,0.005557177,0.001348304
+1929-01-31,0.05393473,0.05234604
+1929-02-28,-0.0004461388,-0.003385589
+1929-03-28,-0.007808392,-0.01179483
+1929-04-30,0.01717913,0.01579548
+1929-05-31,-0.05992296,-0.06397036
+1929-06-29,0.1015726,0.09807518
+1929-07-31,0.04595761,0.04414874
+1929-08-30,0.08534303,0.08195264
+1929-09-30,-0.05045466,-0.05323604
+1929-10-31,-0.1966836,-0.1985132
+1929-11-27,-0.1238121,-0.1279924
+1929-12-31,0.01639001,0.01077326
+1930-01-31,0.05840661,0.05580596
+1930-02-28,0.02824166,0.02434828
+1930-03-31,0.07463142,0.07057096
+1930-04-30,-0.0205411,-0.02246035
+1930-05-29,-0.01401008,-0.01761061
+1930-06-30,-0.1599798,-0.1642593
+1930-07-31,0.04196365,0.03952891
+1930-08-29,0.003662904,-0.0005810863
+1930-09-30,-0.1248049,-0.1294385
+1930-10-31,-0.08657879,-0.08912858
+1930-11-29,-0.02805652,-0.0319168
+1930-12-31,-0.07773924,-0.08443576
+1931-01-31,0.06379242,0.06107003
+1931-02-28,0.1096945,0.1047697
+1931-03-31,-0.06286591,-0.06799862
+1931-04-30,-0.100219,-0.1023665
+1931-05-29,-0.1338355,-0.1383846
+1931-06-30,0.1403397,0.1331774
+1931-07-31,-0.06643803,-0.06902687
+1931-08-31,0.003078467,-0.001546856
+1931-09-30,-0.2917314,-0.2969413
+1931-10-31,0.08150863,0.07821291
+1931-11-30,-0.08840158,-0.09490846
+1931-12-31,-0.134971,-0.1434927
+1932-01-30,-0.01053417,-0.01296311
+1932-02-29,0.05766299,0.05059035
+1932-03-31,-0.1105994,-0.1179782
+1932-04-30,-0.1794166,-0.1820323
+1932-05-31,-0.2061975,-0.2128041
+1932-06-30,-0.004288589,-0.01585415
+1932-07-30,0.340643,0.3381621
+1932-08-31,0.3713858,0.3653115
+1932-09-30,-0.02864878,-0.03460884
+1932-10-31,-0.1325531,-0.1340244
+1932-11-30,-0.0582601,-0.06351208
+1932-12-31,0.0452272,0.03653667
+1933-01-31,0.009813348,0.00788943
+1933-02-28,-0.1532038,-0.1580706
+1933-03-31,0.03310537,0.02502997
+1933-04-29,0.3941433,0.3921327
+1933-05-31,0.2132608,0.209702
+1933-06-30,0.1333642,0.1287616
+1933-07-31,-0.09634148,-0.09726182
+1933-08-31,0.1212846,0.1188808
+1933-09-30,-0.1058357,-0.1099314
+1933-10-31,-0.0836499,-0.08504699
+1933-11-29,0.09989588,0.09480579
+1933-12-30,0.01787564,0.01352499
+1934-01-31,0.1267794,0.1250781
+1934-02-28,-0.0242871,-0.02769406
+1934-03-31,0.004425098,0.0001793101
+1934-04-30,-0.01834544,-0.0197426
+1934-05-31,-0.07227332,-0.07535212
+1934-06-30,0.02534446,0.02082335
+1934-07-31,-0.1093659,-0.111132
+1934-08-31,0.05704261,0.05171052
+1934-09-29,-0.002361888,-0.006752963
+1934-10-31,-0.01889535,-0.02033311
+1934-11-30,0.08209548,0.07748412
+1934-12-31,0.003554074,-0.001823934
+1935-01-31,-0.03341629,-0.03524853
+1935-02-28,-0.01946191,-0.02377938
+1935-03-30,-0.0360132,-0.04113876
+1935-04-30,0.09045231,0.08898704
+1935-05-31,0.03456105,0.0306583
+1935-06-29,0.05779622,0.05303206
+1935-07-31,0.07416016,0.07261322
+1935-08-31,0.02677315,0.02297936
+1935-09-30,0.02607417,0.02172667
+1935-10-31,0.06943941,0.06791967
+1935-11-30,0.05287168,0.04789818
+1935-12-31,0.04692622,0.0424954
+1936-01-31,0.06955885,0.06774869
+1936-02-29,0.02540242,0.02223048
+1936-03-31,0.008253022,0.004881346
+1936-04-30,-0.08148064,-0.08264557
+1936-05-29,0.05204289,0.04748753
+1936-06-30,0.02467073,0.02075382
+1936-07-31,0.06595436,0.06432601
+1936-08-31,0.01095011,0.006604931
+1936-09-30,0.01189897,0.007962374
+1936-10-31,0.06998621,0.06846856
+1936-11-30,0.03285445,0.02401865
+1936-12-31,0.00279573,-0.003385325
+1937-01-30,0.0332575,0.03183618
+1937-02-27,0.01311363,0.01021223
+1937-03-31,-0.002732144,-0.006259466
+1937-04-30,-0.07541613,-0.0765765
+1937-05-28,-0.007054292,-0.01190365
+1937-06-30,-0.04174794,-0.04627191
+1937-07-31,0.08972497,0.08811642
+1937-08-31,-0.04836485,-0.05275796
+1937-09-30,-0.1366226,-0.1412787
+1937-10-30,-0.09579819,-0.09736761
+1937-11-30,-0.08305334,-0.09520221
+1937-12-31,-0.04077352,-0.05000376
+1938-01-31,0.00677615,0.005110966
+1938-02-28,0.05801302,0.053921
+1938-03-31,-0.2384162,-0.2431282
+1938-04-30,0.145963,0.1440598
+1938-05-31,-0.03905327,-0.04367674
+1938-06-30,0.2379136,0.2324737
+1938-07-30,0.07209713,0.07062814
+1938-08-31,-0.02713935,-0.03048395
+1938-09-30,0.008912485,0.004988994
+1938-10-31,0.07892665,0.0774769
+1938-11-30,-0.0182064,-0.0232553
+1938-12-31,0.04191948,0.03651909
+1939-01-31,-0.0603808,-0.06161134
+1939-02-28,0.03525531,0.0311949
+1939-03-31,-0.1207268,-0.1246727
+1939-04-29,-0.001931715,-0.003435781
+1939-05-31,0.06897085,0.06424364
+1939-06-30,-0.05362552,-0.05818541
+1939-07-31,0.1022428,0.100681
+1939-08-31,-0.06726375,-0.07178942
+1939-09-30,0.1618149,0.15731
+1939-10-31,-0.00419136,-0.005407186
+1939-11-30,-0.0371309,-0.04581723
+1939-12-30,0.0296858,0.02279488
+1940-01-31,-0.0242149,-0.02561323
+1940-02-29,0.01475754,0.009781705
+1940-03-30,0.01864297,0.01460406
+1940-04-30,0.0008372561,-0.0009295185
+1940-05-31,-0.221112,-0.2270364
+1940-06-29,0.06685613,0.06111708
+1940-07-31,0.03192315,0.0300306
+1940-08-31,0.02429623,0.0176306
+1940-09-30,0.02311811,0.01819161
+1940-10-31,0.0301431,0.028254
+1940-11-30,-0.01675246,-0.02688218
+1940-12-31,0.006585705,-0.001261003
+1941-01-31,-0.04122673,-0.04285342
+1941-02-28,-0.01380112,-0.019944
+1941-03-31,0.009514603,0.003859863
+1941-04-30,-0.05401833,-0.05586177
+1941-05-31,0.01314046,0.005155658
+1941-06-30,0.05849508,0.05156917
+1941-07-31,0.05954285,0.05728114
+1941-08-30,-0.001156274,-0.007953304
+1941-09-30,-0.007611061,-0.01275818
+1941-10-31,-0.05292592,-0.05529963
+1941-11-29,-0.02027067,-0.03268477
+1941-12-31,-0.04669163,-0.05660914
+1942-01-31,0.008978517,0.007175041
+1942-02-28,-0.02365086,-0.02996957
+1942-03-31,-0.06514447,-0.07173388
+1942-04-30,-0.04358327,-0.04599215
+1942-05-29,0.06017389,0.0523934
+1942-06-30,0.02577185,0.01822644
+1942-07-31,0.03532647,0.03281493
+1942-08-31,0.01840786,0.01191974
+1942-09-30,0.0270694,0.02107176
+1942-10-31,0.06908754,0.06705298
+1942-11-30,0.001176534,-0.009144468
+1942-12-31,0.05128972,0.0424831
+1943-01-30,0.07338221,0.0718694
+1943-02-27,0.06047818,0.05534167
+1943-03-31,0.06179447,0.05672722
+1943-04-30,0.007333476,0.00583973
+1943-05-29,0.05714205,0.05172483
+1943-06-30,0.01735075,0.01227068
+1943-07-31,-0.04775291,-0.04928124
+1943-08-31,0.0134443,0.00879481
+1943-09-30,0.02407737,0.01910466
+1943-10-30,-0.01157259,-0.01276298
+1943-11-30,-0.05990256,-0.06856292
+1943-12-31,0.06421655,0.05694492
+1944-01-31,0.01803042,0.01662886
+1944-02-29,0.003458829,-0.001590943
+1944-03-31,0.02476819,0.01997652
+1944-04-29,-0.01648407,-0.01783581
+1944-05-31,0.05090894,0.04492671
+1944-06-30,0.05684176,0.05152419
+1944-07-31,-0.0151938,-0.01661343
+1944-08-31,0.01559742,0.01041734
+1944-09-30,0.0004530501,-0.003469491
+1944-10-31,0.002118638,0.0006111126
+1944-11-30,0.01666823,0.007607566
+1944-12-30,0.04106975,0.03530129
+1945-01-31,0.02021756,0.01895089
+1945-02-28,0.06447703,0.05989389
+1945-03-31,-0.03917724,-0.0431643
+1945-04-30,0.07823165,0.07698071
+1945-05-31,0.01818529,0.01243866
+1945-06-30,0.004676164,0.001087326
+1945-07-31,-0.02206635,-0.02330517
+1945-08-31,0.0618262,0.05714744
+1945-09-29,0.04829652,0.04496875
+1945-10-31,0.03874934,0.03760473
+1945-11-30,0.05485895,0.04786152
+1945-12-31,0.01300259,0.009218492
+1946-01-31,0.06340188,0.06222815
+1946-02-28,-0.05825729,-0.06174299
+1946-03-30,0.0579414,0.05461988
+1946-04-30,0.04229307,0.04115438
+1946-05-31,0.0401952,0.03607458
+1946-06-28,-0.03866839,-0.04151737
+1946-07-31,-0.02630898,-0.0276966
+1946-08-30,-0.06446838,-0.06841994
+1946-09-30,-0.1020226,-0.1054101
+1946-10-31,-0.01416352,-0.01590263
+1946-11-30,0.000696889,-0.006475042
+1946-12-31,0.0501611,0.04341165
+1947-01-31,0.01308428,0.01153595
+1947-02-28,-0.01109093,-0.01638117
+1947-03-31,-0.01679013,-0.02080455
+1947-04-30,-0.04769807,-0.04948724
+1947-05-29,-0.009624612,-0.01631714
+1947-06-30,0.05322647,0.04853845
+1947-07-31,0.04134795,0.03934192
+1947-08-29,-0.01735736,-0.02266835
+1947-09-30,-0.00466713,-0.009472784
+1947-10-31,0.02483112,0.02284688
+1947-11-29,-0.01874959,-0.02851441
+1947-12-31,0.03070795,0.02324921
+1948-01-31,-0.03790801,-0.03968485
+1948-02-28,-0.04342223,-0.04950245
+1948-03-31,0.08262763,0.07686526
+1948-04-30,0.03812801,0.03597245
+1948-05-28,0.07431936,0.06838211
+1948-06-30,-0.0002798976,-0.005418804
+1948-07-30,-0.05028754,-0.05175009
+1948-08-31,0.003762302,-0.002899625
+1948-09-30,-0.02981309,-0.03512317
+1948-10-30,0.06031576,0.05742474
+1948-11-30,-0.09207732,-0.1025649
+1948-12-31,0.03256602,0.02402407
+1949-01-31,0.00307437,0.001117831
+1949-02-28,-0.02885193,-0.03623671
+1949-03-31,0.04153747,0.03533921
+1949-04-30,-0.01797221,-0.02056604
+1949-05-31,-0.02848772,-0.03551464
+1949-06-30,0.002180482,-0.004382391
+1949-07-29,0.05637717,0.05477603
+1949-08-31,0.02691613,0.01888697
+1949-09-30,0.03208201,0.02726529
+1949-10-31,0.03180142,0.03000247
+1949-11-30,0.01853478,0.004548589
+1949-12-31,0.05226684,0.04476902
+1950-01-31,0.01776387,0.01587194
+1950-02-28,0.01523364,0.008173049
+1950-03-31,0.01274167,0.007457455
+1950-04-29,0.04067758,0.03873637
+1950-05-31,0.04417265,0.03681714
+1950-06-30,-0.0580182,-0.06279892
+1950-07-31,0.01612194,0.01457708
+1950-08-31,0.05087451,0.04021266
+1950-09-29,0.0490439,0.04412192
+1950-10-31,-0.001184262,-0.002931113
+1950-11-30,0.02905564,0.01226841
+1950-12-30,0.05794587,0.0510475
+1951-01-31,0.05873524,0.05676111
+1951-02-28,0.01408586,0.00743502
+1951-03-31,-0.02111456,-0.02575298
+1951-04-30,0.05006079,0.04848769
+1951-05-31,-0.02246361,-0.02996986
+1951-06-29,-0.02553251,-0.02983426
+1951-07-31,0.07161052,0.07024319
+1951-08-31,0.0450037,0.03675028
+1951-09-28,0.009086545,0.005339418
+1951-10-31,-0.02262877,-0.02455598
+1951-11-30,0.00619348,-0.004035376
+1951-12-31,0.03526568,0.0302408
+1952-01-31,0.01700245,0.01542049
+1952-02-29,-0.02514076,-0.03232816
+1952-03-31,0.04586996,0.04172604
+1952-04-30,-0.04914772,-0.05084731
+1952-05-29,0.03284694,0.02536721
+1952-06-30,0.03957465,0.03558823
+1952-07-31,0.01140411,0.009897133
+1952-08-29,-0.006732553,-0.01380302
+1952-09-30,-0.0191469,-0.02306495
+1952-10-31,-0.005309009,-0.006960132
+1952-11-28,0.05934718,0.0497615
+1952-12-31,0.03106571,0.02639906
+1953-01-30,-0.001644253,-0.002727623
+1953-02-27,-0.001820268,-0.00910893
+1953-03-31,-0.01286202,-0.01668057
+1953-04-30,-0.02770464,-0.02912582
+1953-05-29,0.006921144,-0.0003487054
+1953-06-30,-0.01637693,-0.02052332
+1953-07-31,0.02511135,0.02355676
+1953-08-31,-0.04405621,-0.05136548
+1953-09-30,0.003009872,-0.001313044
+1953-10-30,0.04752312,0.04592758
+1953-11-30,0.02850134,0.0184451
+1953-12-31,0.0006782706,-0.00464209
+1954-01-29,0.05272153,0.05150025
+1954-02-26,0.01755125,0.01032486
+1954-03-31,0.0373766,0.0333743
+1954-04-30,0.04316166,0.04181948
+1954-05-28,0.0317037,0.02520822
+1954-06-30,0.01155965,0.007766757
+1954-07-30,0.05066832,0.04944175
+1954-08-31,-0.02276267,-0.02936904
+1954-09-30,0.06463256,0.06138108
+1954-10-29,-0.0162159,-0.01762221
+1954-11-30,0.09538717,0.08604553
+1954-12-31,0.05546865,0.05180648
+1955-01-31,0.006837672,0.006027111
+1955-02-28,0.03135416,0.02572471
+1955-03-31,-0.0009945033,-0.004255666
+1955-04-29,0.03235196,0.03134342
+1955-05-31,0.01203341,0.006450131
+1955-06-30,0.06610822,0.06318117
+1955-07-29,0.02024557,0.01936649
+1955-08-31,0.004196894,-0.00157858
+1955-09-30,-0.00200948,-0.004542534
+1955-10-31,-0.02575151,-0.02681207
+1955-11-30,0.07186419,0.06269655
+1955-12-30,0.01654255,0.01339
+1956-01-31,-0.02811947,-0.02947479
+1956-02-29,0.03960966,0.034439
+1956-03-29,0.06845615,0.06564111
+1956-04-30,0.005083206,0.004136442
+1956-05-31,-0.04930901,-0.05484805
+1956-06-29,0.0372509,0.0345402
+1956-07-31,0.05082991,0.04953136
+1956-08-31,-0.0298204,-0.03496549
+1956-09-28,-0.04960825,-0.05206443
+1956-10-31,0.007291722,0.005533645
+1956-11-30,0.004677877,-0.0022382
+1956-12-31,0.03495719,0.03154783
+1957-01-31,-0.03212142,-0.03352918
+1957-02-28,-0.01870262,-0.02419817
+1957-03-29,0.02411172,0.02094724
+1957-04-30,0.04517923,0.04378531
+1957-05-31,0.03667944,0.0311772
+1957-06-28,-0.005054421,-0.007812272
+1957-07-31,0.008937786,0.007362433
+1957-08-30,-0.05005114,-0.05522611
+1957-09-30,-0.05758639,-0.06038686
+1957-10-31,-0.04125081,-0.04304999
+1957-11-29,0.02560463,0.01852138
+1957-12-31,-0.03736046,-0.04117944
+1958-01-31,0.04959513,0.04823868
+1958-02-28,-0.01425682,-0.02035136
+1958-03-31,0.03369981,0.03026349
+1958-04-30,0.03083256,0.02928199
+1958-05-29,0.02458158,0.01918583
+1958-06-30,0.02949272,0.02626498
+1958-07-31,0.04484433,0.04327591
+1958-08-29,0.01918109,0.0144639
+1958-09-30,0.04868042,0.04574565
+1958-10-31,0.02718404,0.02573935
+1958-11-28,0.03061017,0.02544129
+1958-12-31,0.05309946,0.05029324
+1959-01-30,0.009120074,0.008121918
+1959-02-27,0.01121954,0.006813199
+1959-03-31,0.004669121,0.002112742
+1959-04-30,0.03789878,0.03687685
+1959-05-29,0.01959489,0.01536404
+1959-06-30,0.000676478,-0.001864918
+1959-07-31,0.03436159,0.03332653
+1959-08-31,-0.01244558,-0.01650202
+1959-09-30,-0.04497696,-0.04740272
+1959-10-30,0.01574567,0.01461263
+1959-11-30,0.01855666,0.01327213
+1959-12-31,0.02804312,0.02527081
+1960-01-29,-0.06624392,-0.06719053
+1960-02-29,0.01441908,0.009714183
+1960-03-31,-0.01282217,-0.01548754
+1960-04-29,-0.01527067,-0.01632874
+1960-05-31,0.03409799,0.02927934
+1960-06-30,0.0228328,0.02013439
+1960-07-29,-0.02270468,-0.02363535
+1960-08-31,0.03221498,0.0270645
+1960-09-30,-0.05867334,-0.06086004
+1960-10-31,-0.004704664,-0.0059214
+1960-11-30,0.0486173,0.04264591
+1960-12-30,0.04853724,0.04623041
+1961-01-31,0.0639524,0.06278691
+1961-02-28,0.03700465,0.03283449
+1961-03-30,0.03060992,0.02834709
+1961-04-28,0.005644733,0.004884156
+1961-05-31,0.02589407,0.02161854
+1961-06-30,-0.02849906,-0.03057025
+1961-07-31,0.02995465,0.02920686
+1961-08-31,0.02685441,0.0218724
+1961-09-29,-0.01999036,-0.02126599
+1961-10-31,0.02733113,0.0260924
+1961-11-30,0.04545113,0.03987947
+1961-12-29,0.0007129512,-0.0005986127
+1962-01-31,-0.03614699,-0.03748801
+1962-02-28,0.01951236,0.01525198
+1962-03-30,-0.004687611,-0.006113366
+1962-04-30,-0.06343471,-0.06421227
+1962-05-31,-0.08461992,-0.08976255
+1962-06-29,-0.08261504,-0.0843363
+1962-07-31,0.06543834,0.06412908
+1962-08-31,0.02341672,0.01788764
+1962-09-28,-0.05015597,-0.05178447
+1962-10-31,0.002183681,0.0004271689
+1962-11-30,0.1101368,0.1029244
+1962-12-31,0.01186474,0.01005597
+1963-01-31,0.05184811,0.05047498
+1963-02-28,-0.02193102,-0.02660777
+1963-03-29,0.03291725,0.03123254
+1963-04-30,0.0474385,0.04643453
+1963-05-31,0.02005121,0.01472589
+1963-06-28,-0.01803017,-0.01945858
+1963-07-31,-0.001717713,-0.002994894
+1963-08-30,0.0526837,0.04803517
+1963-09-30,-0.01189818,-0.01331662
+1963-10-31,0.02770818,0.02627621
+1963-11-29,-0.005549108,-0.01169168
+1963-12-31,0.02173631,0.01997825
+1964-01-31,0.02578997,0.02473084
+1964-02-28,0.01720724,0.0126531
+1964-03-31,0.0176361,0.01596718
+1964-04-30,0.004607626,0.003672387
+1964-05-28,0.01740315,0.01253057
+1964-06-30,0.01507977,0.01341283
+1964-07-31,0.02011826,0.01912654
+1964-08-31,-0.01126617,-0.01557534
+1964-09-30,0.03048011,0.0287915
+1964-10-30,0.008869391,0.007730329
+1964-11-30,0.003089464,-0.002672711
+1964-12-31,0.003689812,0.001939214
+1965-01-29,0.03864561,0.03766311
+1965-02-26,0.006946041,0.002633822
+1965-03-31,-0.009715187,-0.01142809
+1965-04-30,0.03365206,0.03273698
+1965-05-28,-0.004350448,-0.009102405
+1965-06-30,-0.05186821,-0.05359144
+1965-07-30,0.01675948,0.0158707
+1965-08-31,0.03088309,0.02613319
+1965-09-30,0.03195209,0.03035679
+1965-10-29,0.02927135,0.02821175
+1965-11-30,0.003065044,-0.002960564
+1965-12-31,0.01354471,0.01197604
+1966-01-31,0.01212212,0.01123132
+1966-02-28,-0.008620756,-0.01301414
+1966-03-31,-0.02092288,-0.02274645
+1966-04-29,0.02483739,0.02385366
+1966-05-31,-0.05253867,-0.05748318
+1966-06-30,-0.01031721,-0.012063
+1966-07-29,-0.01287018,-0.01383052
+1966-08-31,-0.07538754,-0.08071169
+1966-09-30,-0.006958117,-0.00869541
+1966-10-31,0.04229421,0.04117124
+1966-11-30,0.01751637,0.01060577
+1966-12-30,0.006209978,0.004409485
+1967-01-31,0.08552976,0.0840772
+1967-02-28,0.01094539,0.006257046
+1967-03-31,0.04338417,0.04158221
+1967-04-28,0.04160927,0.04069712
+1967-05-31,-0.03929281,-0.04421654
+1967-06-30,0.02690269,0.02534123
+1967-07-31,0.04918948,0.04827718
+1967-08-31,-0.006282217,-0.0110734
+1967-09-29,0.03428572,0.03287484
+1967-10-31,-0.02743312,-0.02864967
+1967-11-30,0.007901741,0.002565456
+1967-12-29,0.03369925,0.03220332
+1968-01-31,-0.03632957,-0.03782917
+1968-02-29,-0.03362427,-0.03810726
+1968-03-29,0.005116275,0.003739882
+1968-04-30,0.09414836,0.09273028
+1968-05-31,0.02704065,0.02249407
+1968-06-28,0.01152704,0.01003735
+1968-07-30,-0.02202445,-0.02316198
+1968-08-30,0.01803775,0.01349507
+1968-09-30,0.04445377,0.04320716
+1968-10-31,0.009040978,0.00746743
+1968-11-29,0.05850155,0.0541251
+1968-12-31,-0.03387295,-0.03536253
+1969-01-31,-0.006711497,-0.007725011
+1969-02-28,-0.05364015,-0.0578821
+1969-03-28,0.03050577,0.02906242
+1969-04-30,0.0205258,0.01934541
+1969-05-29,0.005039671,0.0002406223
+1969-06-30,-0.06738747,-0.06895787
+1969-07-31,-0.06517229,-0.06637257
+1969-08-29,0.05148963,0.04651694
+1969-09-30,-0.02258988,-0.02416673
+1969-10-31,0.05563813,0.05377064
+1969-11-28,-0.03216413,-0.03667784
+1969-12-31,-0.01968058,-0.0214711
+1970-01-30,-0.07325444,-0.07451907
+1970-02-27,0.05670589,0.05165083
+1970-03-31,-0.004729233,-0.006568934
+1970-04-30,-0.1053181,-0.1063926
+1970-05-29,-0.06434634,-0.06993096
+1970-06-30,-0.05106682,-0.05337178
+1970-07-31,0.07416943,0.07213157
+1970-08-31,0.05003589,0.0445838
+1970-09-30,0.04753591,0.04560075
+1970-10-30,-0.01820787,-0.02044983
+1970-11-30,0.05044786,0.04535408
+1970-12-31,0.06072318,0.05896893
+1971-01-29,0.05202988,0.05077222
+1971-02-26,0.01691275,0.01241273
+1971-03-31,0.04477803,0.04297191
+1971-04-30,0.03333182,0.03229977
+1971-05-28,-0.03640874,-0.04073733
+1971-06-30,0.003119002,0.001385168
+1971-07-30,-0.0402827,-0.04131726
+1971-08-31,0.042511,0.03766605
+1971-09-30,-0.005015607,-0.006491065
+1971-10-29,-0.04068223,-0.04234599
+1971-11-30,-0.00126244,-0.005696284
+1971-12-31,0.09125715,0.08955748
+1972-01-31,0.02838269,0.02716926
+1972-02-29,0.03134902,0.02727213
+1972-03-30,0.008722363,0.007247163
+1972-04-28,0.005505237,0.004722689
+1972-05-31,0.0163754,0.01195969
+1972-06-30,-0.02089637,-0.02241182
+1972-07-31,-0.004253711,-0.005309554
+1972-08-31,0.03596627,0.03185657
+1972-09-29,-0.00767067,-0.009085381
+1972-10-31,0.008675651,0.007357888
+1972-11-30,0.04976369,0.04530478
+1972-12-29,0.01124339,0.009903268
+1973-01-31,-0.02745212,-0.02865205
+1973-02-28,-0.04437003,-0.04791617
+1973-03-30,-0.00785923,-0.009332621
+1973-04-30,-0.05176649,-0.05296189
+1973-05-31,-0.02451079,-0.02877977
+1973-06-29,-0.008646034,-0.01042188
+1973-07-31,0.05695646,0.05551017
+1973-08-31,-0.02965682,-0.03403885
+1973-09-28,0.05393452,0.05253284
+1973-10-31,-0.0004137742,-0.002140434
+1973-11-30,-0.1207083,-0.1255516
+1973-12-31,0.01143777,0.009422302
+1974-01-31,0.004412651,0.002807493
+1974-02-28,0.002345542,-0.002451242
+1974-03-29,-0.02336409,-0.02529904
+1974-04-30,-0.04596036,-0.04769372
+1974-05-31,-0.04198125,-0.04732036
+1974-06-28,-0.02294235,-0.02540684
+1974-07-31,-0.0708743,-0.0726949
+1974-08-30,-0.08775711,-0.0945784
+1974-09-30,-0.1097183,-0.1122735
+1974-10-31,0.1655842,0.1624591
+1974-11-29,-0.04104608,-0.04824106
+1974-12-31,-0.02700541,-0.0303016
+1975-01-31,0.1415996,0.1395913
+1975-02-28,0.05841161,0.05162884
+1975-03-31,0.03019048,0.02744221
+1975-04-30,0.0464966,0.04443246
+1975-05-30,0.05513955,0.04954172
+1975-06-30,0.0514733,0.04895755
+1975-07-31,-0.06038475,-0.06231802
+1975-08-29,-0.02355747,-0.0289601
+1975-09-30,-0.03800994,-0.04048618
+1975-10-31,0.05585663,0.0532725
+1975-11-28,0.0312231,0.02580286
+1975-12-31,-0.01099778,-0.01367704
+1976-01-30,0.1260121,0.1243717
+1976-02-27,0.007309568,0.002080979
+1976-03-31,0.02674024,0.02429468
+1976-04-30,-0.01040185,-0.01166792
+1976-05-28,-0.009325552,-0.01530534
+1976-06-30,0.0445222,0.04216931
+1976-07-30,-0.006135181,-0.007573178
+1976-08-31,-0.001398304,-0.00738748
+1976-09-30,0.02451242,0.02238528
+1976-10-29,-0.02037325,-0.02225018
+1976-11-30,0.005360551,-0.001441307
+1976-12-31,0.06159296,0.05930214
+1977-01-31,-0.03632781,-0.03799669
+1977-02-28,-0.01574357,-0.02176887
+1977-03-31,-0.009248926,-0.01179684
+1977-04-29,0.004962074,0.003563683
+1977-05-31,-0.010777,-0.01800518
+1977-06-30,0.05136869,0.04871236
+1977-07-29,-0.01280639,-0.01416153
+1977-08-31,-0.0133381,-0.02027791
+1977-09-30,0.001571886,-0.001008369
+1977-10-31,-0.03927759,-0.04131206
+1977-11-30,0.0454397,0.03708068
+1977-12-30,0.008222711,0.005497335
+1978-01-31,-0.05519892,-0.05720906
+1978-02-28,-0.009274695,-0.01670032
+1978-03-31,0.03400927,0.03086472
+1978-04-28,0.08285324,0.08120263
+1978-05-31,0.02322997,0.01549907
+1978-06-30,-0.01074848,-0.01374031
+1978-07-31,0.05674101,0.05486828
+1978-08-31,0.04237023,0.03550362
+1978-09-29,-0.006888614,-0.009455548
+1978-10-31,-0.1109954,-0.1135999
+1978-11-30,0.03378727,0.02575158
+1978-12-29,0.01770776,0.01457982
+1979-01-31,0.04952989,0.04701915
+1979-02-28,-0.02676539,-0.03378078
+1979-03-30,0.06561343,0.06247229
+1979-04-30,0.008519714,0.006437891
+1979-05-31,-0.0135714,-0.02145847
+1979-06-29,0.04685158,0.04382055
+1979-07-31,0.0149913,0.01277309
+1979-08-31,0.06473161,0.05730538
+1979-09-28,0.001426022,-0.0009315157
+1979-10-31,-0.07266193,-0.07546969
+1979-11-30,0.06360384,0.0558097
+1979-12-31,0.02821459,0.02517364
+1980-01-31,0.0656071,0.06330267
+1980-02-29,0.001014553,-0.005740018
+1980-03-31,-0.1202242,-0.1232577
+1980-04-30,0.05228722,0.04983296
+1980-05-30,0.06009048,0.0526288
+1980-06-30,0.03771436,0.03443834
+1980-07-31,0.06943817,0.06706572
+1980-08-29,0.02355349,0.01723647
+1980-09-30,0.02949784,0.02661672
+1980-10-31,0.02009481,0.0173695
+1980-11-28,0.1049521,0.09901022
+1980-12-31,-0.03440953,-0.03704026
+1981-01-30,-0.0400866,-0.04182503
+1981-02-27,0.01552131,0.009122989
+1981-03-31,0.04618385,0.0430958
+1981-04-30,-0.01126798,-0.0130372
+1981-05-29,0.01354971,0.007405337
+1981-06-30,-0.01024293,-0.01335654
+1981-07-31,-0.003079696,-0.004806411
+1981-08-31,-0.05627897,-0.06301168
+1981-09-30,-0.0637726,-0.06671281
+1981-10-30,0.06016174,0.05700452
+1981-11-30,0.04584871,0.03922646
+1981-12-31,-0.02809612,-0.03110403
+1982-01-29,-0.02620954,-0.02791291
+1982-02-26,-0.05112618,-0.05863886
+1982-03-31,-0.01009922,-0.01405281
+1982-04-30,0.04326658,0.04142182
+1982-05-28,-0.02821212,-0.03659585
+1982-06-30,-0.02391208,-0.02737914
+1982-07-30,-0.02052648,-0.02274425
+1982-08-31,0.1190134,0.1099314
+1982-09-30,0.0167605,0.0136702
+1982-10-29,0.1186357,0.1159299
+1982-11-30,0.05193514,0.04499053
+1982-12-31,0.01451638,0.01202965
+1983-01-31,0.0418502,0.03976163
+1983-02-28,0.03021464,0.02420383
+1983-03-31,0.03468012,0.03162277
+1983-04-29,0.07418793,0.07284208
+1983-05-31,0.01322573,0.00796144
+1983-06-30,0.03783816,0.03486615
+1983-07-29,-0.0315681,-0.03286362
+1983-08-31,0.003463272,-0.001802754
+1983-09-30,0.01602804,0.01310332
+1983-10-31,-0.02807411,-0.02977511
+1983-11-30,0.02955602,0.02420569
+1983-12-30,-0.01046448,-0.01344247
+1984-01-31,-0.01302285,-0.01487287
+1984-02-29,-0.03907315,-0.04393793
+1984-03-30,0.01338927,0.01002427
+1984-04-30,0.002538022,0.0008008646
+1984-05-31,-0.05231993,-0.057705
+1984-06-29,0.02338528,0.01950237
+1984-07-31,-0.02062114,-0.0225417
+1984-08-31,0.1126885,0.1068118
+1984-09-28,0.0004043814,-0.002537604
+1984-10-31,-7.382668e-05,-0.002921365
+1984-11-30,-0.010685,-0.01525722
+1984-12-31,0.0236557,0.02009463
+1985-01-31,0.08571779,0.08350623
+1985-02-28,0.01689597,0.01226748
+1985-03-29,-0.001746779,-0.004924281
+1985-04-30,-0.002186324,-0.003957598
+1985-05-31,0.05577472,0.05079897
+1985-06-28,0.01709133,0.01403798
+1985-07-31,-0.0002511031,-0.002220191
+1985-08-30,-0.00479548,-0.009592973
+1985-09-30,-0.0398255,-0.04257619
+1985-10-31,0.04444139,0.04202319
+1985-11-29,0.06922796,0.06469836
+1985-12-31,0.04306141,0.04008036
+1986-01-31,0.009829425,0.008006301
+1986-02-28,0.07250004,0.06818967
+1986-03-31,0.05388493,0.05135969
+1986-04-30,-0.007902812,-0.009633468
+1986-05-30,0.05084357,0.04712284
+1986-06-30,0.01424553,0.01162394
+1986-07-31,-0.05970048,-0.06145449
+1986-08-29,0.06618101,0.06242792
+1986-09-30,-0.07902107,-0.0812735
+1986-10-31,0.04930313,0.0468585
+1986-11-28,0.01509289,0.01087366
+1986-12-31,-0.02638821,-0.02905734
+1987-01-30,0.1284963,0.1269244
+1987-02-27,0.04791798,0.04449139
+1987-03-31,0.02366442,0.02121804
+1987-04-30,-0.01700052,-0.01889795
+1987-05-29,0.005124947,0.001874354
+1987-06-30,0.04366169,0.04114968
+1987-07-31,0.04424779,0.04234821
+1987-08-31,0.03714636,0.03385976
+1987-09-30,-0.02077383,-0.02284639
+1987-10-30,-0.225363,-0.2273441
+1987-11-30,-0.07227264,-0.07651292
+1987-12-31,0.07032661,0.06721444
+1988-01-29,0.04488041,0.04304757
+1988-02-29,0.05169475,0.0459987
+1988-03-31,-0.01659758,-0.01927279
+1988-04-29,0.01099083,0.009188472
+1988-05-31,0.000447785,-0.003858654
+1988-06-30,0.05145948,0.04874565
+1988-07-29,-0.007271733,-0.009940206
+1988-08-31,-0.02800588,-0.0324433
+1988-09-30,0.03720232,0.03460302
+1988-10-31,0.01764623,0.0144825
+1988-11-30,-0.01641204,-0.02113119
+1988-12-30,0.02107465,0.01763094
+1989-01-31,0.06610258,0.06330663
+1989-02-28,-0.01644639,-0.02017669
+1989-03-31,0.02146523,0.01864206
+1989-04-28,0.04820446,0.0462695
+1989-05-31,0.03933809,0.03458369
+1989-06-30,-0.004866142,-0.007438884
+1989-07-31,0.07713073,0.07488354
+1989-08-31,0.0221267,0.01822815
+1989-09-29,-0.001474362,-0.003969902
+1989-10-31,-0.02928529,-0.0313375
+1989-11-30,0.0178139,0.01433103
+1989-12-29,0.01829512,0.01551648
+1990-01-31,-0.07011517,-0.07194859
+1990-02-28,0.01490096,0.01095788
+1990-03-30,0.02414006,0.02161839
+1990-04-30,-0.0282857,-0.03056491
+1990-05-31,0.08893429,0.08464792
+1990-06-29,-0.004196256,-0.006739403
+1990-07-31,-0.009402919,-0.01160359
+1990-08-31,-0.09190542,-0.09571898
+1990-09-28,-0.05384322,-0.05610874
+1990-10-31,-0.01250398,-0.01505387
+1990-11-30,0.06574359,0.0614158
+1990-12-31,0.02951265,0.02627569
+1991-01-31,0.04907785,0.04698179
+1991-02-28,0.07584678,0.07183495
+1991-03-28,0.02892273,0.02670245
+1991-04-30,0.003314882,0.001189869
+1991-05-31,0.0407327,0.03717303
+1991-06-28,-0.04402925,-0.04627695
+1991-07-31,0.04679512,0.04498963
+1991-08-30,0.0268165,0.02328449
+1991-09-30,-0.01097486,-0.01307413
+1991-10-31,0.01781452,0.01621535
+1991-11-29,-0.03727527,-0.0405571
+1991-12-31,0.1067778,0.104142
+1992-01-31,-0.001182341,-0.002610427
+1992-02-28,0.01335434,0.01030639
+1992-03-31,-0.02369961,-0.02597122
+1992-04-30,0.01341884,0.01187601
+1992-05-29,0.006438549,0.003333374
+1992-06-30,-0.01927053,-0.02167862
+1992-07-31,0.03989998,0.0383686
+1992-08-31,-0.02081965,-0.02397173
+1992-09-30,0.01244722,0.01027109
+1992-10-30,0.01098552,0.009548468
+1992-11-30,0.04019304,0.03696318
+1992-12-31,0.01776835,0.01555981
+1993-01-29,0.01264374,0.01132782
+1993-02-26,0.005402277,0.00264014
+1993-03-31,0.02511569,0.02268481
+1993-04-30,-0.02540042,-0.02672407
+1993-05-28,0.02959926,0.02656515
+1993-06-30,0.005440016,0.003222431
+1993-07-30,-0.0007919354,-0.002139848
+1993-08-31,0.03947853,0.03654622
+1993-09-30,0.0006406775,-0.001341677
+1993-10-29,0.01806427,0.01674332
+1993-11-30,-0.01760636,-0.02048276
+1993-12-31,0.01951495,0.0174882
+1994-01-31,0.03146612,0.03007716
+1994-02-28,-0.02422607,-0.02677939
+1994-03-31,-0.04579477,-0.04788306
+1994-04-29,0.009477681,0.008027069
+1994-05-31,0.009360213,0.006368834
+1994-06-30,-0.02790886,-0.03008349
+1994-07-29,0.03062849,0.02925417
+1994-08-31,0.04259737,0.03969129
+1994-09-30,-0.01836337,-0.02037859
+1994-10-31,0.01451999,0.0129993
+1994-11-30,-0.03721879,-0.03999278
+1994-12-30,0.01260929,0.01016868
+1995-01-31,0.02039915,0.01879849
+1995-02-28,0.03961473,0.03703996
+1995-03-31,0.02704092,0.02486156
+1995-04-28,0.02504808,0.02359617
+1995-05-31,0.03400704,0.03122701
+1995-06-30,0.03116877,0.02923957
+1995-07-31,0.04077881,0.03893033
+1995-08-31,0.009298149,0.006800372
+1995-09-29,0.03636483,0.03465203
+1995-10-31,-0.01131434,-0.01264595
+1995-11-30,0.04280418,0.04033424
+1995-12-29,0.01518271,0.01334402
+1996-01-31,0.02813779,0.02682067
+1996-02-29,0.01631033,0.01418833
+1996-03-29,0.0109254,0.009221327
+1996-04-30,0.02550821,0.02426316
+1996-05-31,0.02680193,0.02454256
+1996-06-28,-0.008302097,-0.009833575
+1996-07-31,-0.05381449,-0.05525121
+1996-08-30,0.03244783,0.03037689
+1996-09-30,0.05303539,0.05132859
+1996-10-31,0.01372897,0.01235742
+1996-11-29,0.06557749,0.06359541
+1996-12-31,-0.01139712,-0.01307643
+1997-01-31,0.05347287,0.05238989
+1997-02-28,-0.001122383,-0.002857378
+1997-03-31,-0.04486756,-0.04651896
+1997-04-30,0.04237316,0.04115718
+1997-05-30,0.07162357,0.06977165
+1997-06-30,0.04409472,0.04270323
+1997-07-31,0.0765142,0.07520195
+1997-08-29,-0.03629111,-0.03764974
+1997-09-30,0.0584994,0.05709451
+1997-10-31,-0.03443615,-0.03550582
+1997-11-28,0.03040374,0.02889054
+1997-12-31,0.01781677,0.01630194
+1998-01-30,0.00450245,0.003623927
+1998-02-27,0.07330329,0.07179834
+1998-03-31,0.05130106,0.05004393
+1998-04-30,0.0109035,0.009902244
+1998-05-29,-0.02574788,-0.02703987
+1998-06-30,0.03194402,0.03072486
+1998-07-31,-0.02336717,-0.02434328
+1998-08-31,-0.1578439,-0.1591526
+1998-09-30,0.06382662,0.06230775
+1998-10-30,0.07439252,0.07337496
+1998-11-30,0.0620232,0.06061488
+1998-12-31,0.0630511,0.06172314
+1999-01-29,0.03845626,0.03765754
+1999-02-26,-0.03808507,-0.03927058
+1999-03-31,0.03793213,0.03665881
+1999-04-30,0.04910528,0.04828381
+1999-05-28,-0.02070659,-0.02238053
+1999-06-30,0.05082082,0.04972238
+1999-07-30,-0.03071601,-0.03159358
+1999-08-31,-0.009984309,-0.01114291
+1999-09-30,-0.02284508,-0.02404924
+1999-10-29,0.06214998,0.06135997
+1999-11-30,0.03682369,0.03561741
+1999-12-31,0.08375403,0.0826427
+2000-01-31,-0.03960688,-0.04024791
+2000-02-29,0.03178237,0.03067913
+2000-03-31,0.05349877,0.05251489
+2000-04-28,-0.05952697,-0.06031731
+2000-05-31,-0.03886961,-0.04002852
+2000-06-30,0.05160347,0.05080572
+2000-07-31,-0.01771172,-0.01843186
+2000-08-31,0.07500581,0.07382455
+2000-09-29,-0.05114141,-0.05188189
+2000-10-31,-0.02448968,-0.02516421
+2000-11-30,-0.1023722,-0.1035794
+2000-12-29,0.02042246,0.01942778
+2001-01-31,0.03960141,0.03881325
+2001-02-28,-0.09910251,-0.1002012
+2001-03-30,-0.07039204,-0.07134826
+2001-04-30,0.08382919,0.08282384
+2001-05-31,0.01045539,0.009069419
+2001-06-29,-0.01755298,-0.01832802
+2001-07-31,-0.01829797,-0.01926488
+2001-08-31,-0.05898125,-0.06035627
+2001-09-28,-0.09148504,-0.09261797
+2001-10-31,0.02783571,0.02681765
+2001-11-30,0.07877681,0.07734103
+2001-12-31,0.01785255,0.0165704
+2002-01-31,-0.01597466,-0.01692923
+2002-02-28,-0.02169649,-0.02306285
+2002-03-28,0.04467795,0.04370853
+2002-04-30,-0.04961811,-0.05052143
+2002-05-31,-0.0105211,-0.0119692
+2002-06-28,-0.07025092,-0.07150696
+2002-07-31,-0.08114888,-0.08233408
+2002-08-30,0.007976094,0.006431337
+2002-09-30,-0.09992006,-0.1013843
+2002-10-31,0.07491931,0.07350148
+2002-11-29,0.06126282,0.05959323
+2002-12-31,-0.0533152,-0.05495828
+2003-01-31,-0.0233996,-0.02460976
+2003-02-28,-0.01539111,-0.01721772
+2003-03-31,0.01031803,0.008897427
+2003-04-30,0.08274979,0.08116248
+2003-05-30,0.06343608,0.06174282
+2003-06-30,0.01632021,0.0147709
+2003-07-31,0.02309801,0.02174949
+2003-08-29,0.024996,0.02351638
+2003-09-30,-0.009116273,-0.01060211
+2003-10-31,0.06031565,0.0588359
+2003-11-28,0.01659348,0.01505179
+2003-12-31,0.04550484,0.04384754
+2004-01-30,0.0230366,0.02201326
+2004-02-27,0.01547919,0.01399358
+2004-03-31,-0.01066659,-0.01199073
+2004-04-30,-0.02421352,-0.02556025
+2004-05-28,0.01405848,0.01237351
+2004-06-30,0.02160102,0.02003895
+2004-07-30,-0.03767046,-0.0387651
+2004-08-31,0.002727823,0.001083412
+2004-09-30,0.02054298,0.01908519
+2004-10-29,0.01780594,0.01657873
+2004-11-30,0.04820797,0.04431315
+2004-12-31,0.03517713,0.03342184
+2005-01-31,-0.02655135,-0.0274052
+2005-02-28,0.02267583,0.02083903
+2005-03-31,-0.01694849,-0.01858328
+2005-04-29,-0.02518493,-0.02656883
+2005-05-31,0.03795411,0.03615026
+2005-06-30,0.01152576,0.009901968
+2005-07-29,0.0433351,0.04222868
+2005-08-31,-0.00594371,-0.007761298
+2005-09-30,0.01060712,0.009338492
+2005-10-31,-0.02087304,-0.0219813
+2005-11-30,0.04032233,0.03807018
+2005-12-30,0.003457065,0.001886002
+2006-01-31,0.04004084,0.03893497
+2006-02-28,-0.001638789,-0.003553021
+2006-03-31,0.01904188,0.01757468
+2006-04-28,0.01296329,0.01149243
+2006-05-31,-0.03104144,-0.03302072
+2006-06-30,-0.0003881133,-0.001882678
+2006-07-31,-0.001874151,-0.002917871
+2006-08-31,0.0250479,0.02297407
+2006-09-29,0.01942438,0.01810526
+2006-10-31,0.03713327,0.03608699
+2006-11-30,0.02370242,0.02133826
+2006-12-29,0.01085541,0.009152518
+2007-01-31,0.01939655,0.01846114
+2007-02-28,-0.01398767,-0.01597926
+2007-03-30,0.01294977,0.01147453
+2007-04-30,0.03981525,0.03844891
+2007-05-31,0.03893219,0.03664323
+2007-06-29,-0.01476538,-0.01612821
+2007-07-31,-0.03176044,-0.03276376
+2007-08-31,0.01163043,0.009677425
+2007-09-28,0.04084195,0.03932541
+2007-10-31,0.0257964,0.02465501
+2007-11-30,-0.04932737,-0.05127594
+2007-12-31,-0.004423245,-0.00651094
+2008-01-31,-0.06213814,-0.0632433
+2008-02-29,-0.02166337,-0.02360476
+2008-03-31,-0.01042054,-0.01215964
+2008-04-30,0.05106048,0.04973567
+2008-05-30,0.02380778,0.02149424
+2008-06-30,-0.0784257,-0.08024146
+2008-07-31,-0.01334129,-0.01468987
+2008-08-29,0.01056561,0.008576034
+2008-09-30,-0.0979804,-0.09977011
+2008-10-31,-0.1846477,-0.1861356
+2008-11-28,-0.08461469,-0.08735445
+2008-12-31,0.02215415,0.01908681
+2009-01-30,-0.0773147,-0.07870851
+2009-02-27,-0.1002706,-0.1034573
+2009-03-31,0.08674762,0.0834888
+2009-04-30,0.1093522,0.107516
+2009-05-29,0.06777447,0.06512436
+2009-06-30,-0.003099177,-0.005042021
+2009-07-31,0.08175195,0.08033118
+2009-08-31,0.03146854,0.02930973
+2009-09-30,0.04521635,0.0435763
+2009-10-30,-0.02797095,-0.02922734
+2009-11-30,0.05711698,0.05466094
+2009-12-31,0.02843039,0.0264044
+2010-01-29,-0.0370975,-0.03811114
+2010-02-26,0.03478612,0.03269988
+2010-03-31,0.06362589,0.06194045
+2010-04-30,0.02006337,0.01895046
+2010-05-28,-0.07916304,-0.08125114
+2010-06-30,-0.05074473,-0.05248471
+2010-07-30,0.0703086,0.06861097
+2010-08-31,-0.0428441,-0.04496922
+2010-09-30,0.09154681,0.08966427
+2010-10-29,0.03851223,0.03699011
+2010-11-30,0.005124568,0.002925025
+2010-12-31,0.06720514,0.06487305
+2011-01-31,0.01913697,0.01818246
+2011-02-28,0.03817539,0.03624303
+2011-03-31,0.003353141,0.001767873
+2011-04-29,0.02866651,0.02755178
+2011-05-31,-0.01489983,-0.01690679
+2011-06-30,-0.01838774,-0.02015326
+2011-07-29,-0.02252416,-0.02366471
+2011-08-31,-0.05749821,-0.05963816
+2011-09-30,-0.08486247,-0.08655386
+2011-10-31,0.1140301,0.1126193
+2011-11-30,-0.006207173,-0.008874736
+2011-12-30,0.003696332,0.001449072
+2012-01-31,0.05409463,0.05294651
+2012-02-29,0.0412389,0.03896671
+2012-03-30,0.02400399,0.02211977
+2012-04-30,-0.006806476,-0.008024212
+2012-05-31,-0.06557433,-0.06798601
+2012-06-29,0.03818888,0.03608854
+2012-07-31,0.01028388,0.009030609
+2012-08-31,0.02627828,0.02367814
+2012-09-28,0.0265544,0.02461306
+2012-10-31,-0.01410401,-0.01555276
+2012-11-30,0.006192178,0.002951245
+2012-12-31,0.01252873,0.008977878
+2013-01-31,0.05414457,0.05293669
+2013-02-28,0.008340364,0.006136131
+2013-03-28,0.03529375,0.03352784
+2013-04-30,0.01494684,0.01377032
+2013-05-31,0.01907392,0.01651525
+2013-06-28,-0.01503552,-0.01705119
+2013-07-31,0.05271696,0.0512797
+2013-08-30,-0.02572692,-0.02790395
+2013-09-30,0.03747036,0.03567591
+2013-10-31,0.03989509,0.03860836
+2013-11-29,0.02496603,0.02284231
+2013-12-31,0.02613987,0.02408599
+2014-01-31,-0.0299865,-0.03109327
+2014-02-28,0.04618626,0.04395092
+2014-03-31,0.004501169,0.00278364
+2014-04-30,0.001670388,0.000505876
+2014-05-30,0.0202225,0.01801537
+2014-06-30,0.02796136,0.02597744
+2014-07-31,-0.0205357,-0.02183117
+2014-08-29,0.040206,0.03820307
+2014-09-30,-0.02513232,-0.02682636
+2014-10-31,0.0211983,0.01994964
+2014-11-28,0.02115884,0.01899398
+2014-12-31,-0.00362297,-0.005757123
+2015-01-30,-0.02720044,-0.02827245
+2015-02-27,0.05601658,0.05367929
+2015-03-31,-0.01045352,-0.01226968
+2015-04-30,0.00871562,0.0075673
+2015-05-29,0.01034363,0.008184228
+2015-06-30,-0.01926152,-0.02120294
+2015-07-31,0.01211343,0.0109001
+2015-08-31,-0.06004619,-0.06211171
+2015-09-30,-0.03376882,-0.03570382
+2015-10-30,0.07402138,0.07262567
+2015-11-30,0.002448329,0.0001824339
+2015-12-31,-0.02228683,-0.02452637
+2016-01-29,-0.05709413,-0.05826406
+2016-02-29,0.0006846646,-0.001736709
+2016-03-31,0.070518,0.06814585
+2016-04-29,0.01181365,0.01057875
+2016-05-31,0.01431555,0.01190449
+2016-06-30,0.00311101,0.001037212
+2016-07-29,0.03877537,0.03752758
+2016-08-31,0.002788585,0.0004525085
+2016-09-30,0.003016602,0.001240005
+2016-10-31,-0.02159442,-0.02283931
+2016-11-30,0.0404907,0.03804553
+2016-12-30,0.01879242,0.01665213
+2017-01-31,0.02219,0.02116547
+2017-02-28,0.03266478,0.03056341
+2017-03-31,0.002091833,0.0002195278
+2017-04-28,0.009614812,0.008495667
+2017-05-31,0.009335237,0.006988799
+2017-06-30,0.009469109,0.007585479
+2017-07-31,0.02032973,0.01894529
+2017-08-31,0.001588974,-0.0006474075
+2017-09-29,0.02373355,0.02212826
+2017-10-31,0.01928119,0.01817913
+2017-11-30,0.02730852,0.02498395
+2017-12-29,0.01217303,0.01031513
+2018-01-31,0.05065625,0.04970231
+2018-02-28,-0.03946469,-0.0413317
+2018-03-29,-0.01843277,-0.02030103
+2018-04-30,0.004768712,0.003659677
+2018-05-31,0.02616975,0.0238773
+2018-06-29,0.005333833,0.003548951
+2018-07-31,0.03160488,0.03046812
+2018-08-31,0.03022094,0.02775483
+2018-09-28,0.0004429955,-0.001192022
+2018-10-31,-0.07403137,-0.07509991
+2018-11-30,0.01853031,0.01619297
+2018-12-31,-0.08980951,-0.09204594
diff --git a/output/predict.csv b/output/predict.csv
@@ -0,0 +1,257 @@
+dateym,dp,rf,rmrf_y3,cay,exp_rmrf
+195201,0.0581287131894728,0.0157,0.177019961562261,0.016465442,0.201294617486037
+195202,0.0589967453225037,0.0154,0.19964325804685,0.025517831,0.222836429411759
+195203,0.0581713806310763,0.0159,0.180929532251361,0.016336205,0.200926734684572
+195204,0.0584780946526435,0.0157,0.214733953196853,0.025420057,0.220859636404277
+195301,0.0547250371055443,0.0196,0.211101809171043,0.025433872,0.206163415216804
+195302,0.0546498098979295,0.0197,0.227929429874815,0.020293056,0.195171419127699
+195303,0.0545504244369111,0.0201,0.260587223971332,0.019145117,0.192074005009544
+195304,0.054206387694773,0.0219,0.2748816063734,0.015786553,0.182175259682799
+195401,0.0570604043316226,0.0118,0.21766172756048,0.020888805,0.211760914645625
+195402,0.0568472586516797,0.0097,0.202697379083833,0.026069547,0.224217091252964
+195403,0.056836429875606,0.0103,0.196594741462133,0.026467811,0.224358164083958
+195404,0.0566512145759913,0.0097,0.196775291888223,0.026721624,0.22502431191414
+195501,0.0487919016478713,0.0122,0.05890251816168,0.036556615,0.220799481829112
+195502,0.0470588193792381,0.0117,0.0424017681122801,0.029382724,0.201620006439142
+195503,0.0464351569511314,0.0128,0.0538608706994908,0.021232813,0.181759051820372
+195504,0.0461107465486547,0.0159,0.053349266978119,0.020523432,0.175994639323023
+195601,0.0422207458629858,0.0241,0.110128089148917,0.007713701,0.129594932312297
+195602,0.0417131044839564,0.0232,0.0997714119762674,0.001744495,0.116770150872083
+195603,0.0410553744034771,0.0225,0.0761698431974343,0.001832813,0.115884591875336
+195604,0.0410189463354631,0.026,0.0883760916392848,-0.001335726,0.105380495628137
+195701,0.0403717456935299,0.0311,0.0939832648286218,0.00339647,0.107828273231766
+195702,0.0410273505043959,0.031,0.106745572597796,-0.003867536,0.0946843648738425
+195703,0.041502794604927,0.0308,0.0911975128943467,0.00490717,0.114445862877671
+195704,0.0419112858899417,0.0307,0.0696125988619829,0.007711104,0.121515338293684
+195801,0.0431248954963795,0.0244,0.160284113322251,0.005998902,0.128227786058988
+195802,0.0437361859869378,0.0153,0.180945823832762,0.005183657,0.138182543721839
+195803,0.0439815664307764,0.013,0.179254470012994,-0.005604405,0.118982332875378
+195804,0.0441598605316312,0.0113,0.169573655380948,-0.008257894,0.115827922682284
+195901,0.0392451362165543,0.0282,0.0854793445355173,0.000662285,0.102179394709798
+195902,0.0373399699812126,0.027,0.0882617201272629,-0.000131677,0.0965305484135261
+195903,0.0365289954269653,0.028,0.0847294324818499,0.014178326,0.122886305298493
+195904,0.0359899073915628,0.0295,0.0476326508030944,0.007738833,0.106375138518521
+196001,0.0328208955319162,0.0435,0.0639376048973606,0.005221836,0.0770172983816412
+196002,0.0331120229155267,0.0396,0.0505676889186921,0.011585551,0.0953021552906516
+196003,0.0332730977456775,0.0331,0.0680967522149993,0.009399733,0.0983153524806848
+196004,0.0333660513456849,0.0323,0.0910793739935867,0.006348754,0.0931143949683263
+196101,0.0348464332571762,0.0224,0.071761592646868,-0.005321467,0.0838299805903801
+196102,0.0342056981952254,0.0242,0.0641226630105651,-0.006330947,0.0779810350154744
+196103,0.033682930604447,0.0239,0.0594052751881322,-0.014107274,0.0607066813859207
+196104,0.0333537946182845,0.0229,0.0586827512911197,-0.013516911,0.0621073521288498
+196201,0.029878590670065,0.0272,0.0763108810275168,-0.011333983,0.0522520955212678
+196202,0.0300414665195343,0.0273,0.0714587023419917,0.004442257,0.0853504418846922
+196203,0.0292542603363362,0.0272,0.0692992845659701,0.005495361,0.0854513370407508
+196204,0.0293304031898459,0.0273,0.105779935826169,0.002257557,0.0788322624109096
+196301,0.0342681523639691,0.0291,0.121617041636105,-0.002865398,0.0799961515498509
+196302,0.0348945784287379,0.0292,0.126406967292778,-0.004627073,0.0779759130382434
+196303,0.0351003938894386,0.0289,0.105351263735985,-0.002128803,0.0840642537300026
+196304,0.0352332988866019,0.029,0.0966248887361794,-0.003280283,0.0819349109138234
+196401,0.0320657076692646,0.0352,0.046512759692763,-0.002650558,0.067636620648273
+196402,0.0317500155493335,0.0353,0.0438772839775481,-0.009752038,0.0519036116674162
+196403,0.031759291322847,0.0354,0.0526435900742601,-0.005761464,0.0601051550389221
+196404,0.0317308391899695,0.0347,0.0656240544843905,-0.014444917,0.042762709258473
+196501,0.0305239211978884,0.0381,0.0324675692881407,-0.004525471,0.0562768695031782
+196502,0.0303224890675833,0.0393,0.0176689595298194,0.000414293,0.0646596918652699
+196503,0.0304150800505866,0.0393,0.0228091536101451,-0.011596207,0.0399824906940131
+196504,0.0303679882632506,0.0393,0.0425146869214896,-0.006742255,0.0499286280660711
+196601,0.0304920957244396,0.0459,0.0475749895784574,0.00580688,0.0691168441303839
+196602,0.0306464414128182,0.0465,0.0305852424674575,-0.001231731,0.0542785154947143
+196603,0.030783599975638,0.0459,0.048708194942642,0.002559774,0.06318815371497
+196604,0.0308605709738825,0.0462,0.0464735356983772,-0.010629308,0.0356927235882057
+196701,0.0343631993231889,0.0472,-0.0161308303151717,-0.024489963,0.0155889832366433
+196702,0.0345772669688965,0.0456,-0.000782038401440532,-0.020558797,0.026095639493092
+196703,0.0344368333870317,0.0426,-0.0186109941464203,-0.027978763,0.0135772198139344
+196704,0.0343496816777643,0.0384,-0.0709861780170376,-0.034737055,0.00389223919442565
+196801,0.0310181330706487,0.05,-0.0256019382403263,-0.024159319,0.00388993229511627
+196802,0.031019571013416,0.0498,-0.00717480015657768,-0.032152456,-0.0124823140116765
+196803,0.0306503240878144,0.0517,0.0062696448580386,-0.019056095,0.0116019365275069
+196804,0.031084116037858,0.0538,-0.0138484295137018,-0.0314476,-0.0152095472347831
+196901,0.0287304251075091,0.0614,-0.0353184634872716,-0.02064361,-0.00764527433685784
+196902,0.0285686148239374,0.0612,-0.00377592389930559,-0.019709664,-0.00593888479210475
+196903,0.0286007883374296,0.0602,-0.0107937706839798,-0.029871379,-0.025853575600708
+196904,0.0284572256823781,0.0611,-0.0158541165290558,-0.026299811,-0.0198221713232771
+197001,0.0312810778590221,0.0787,0.0766171543491634,-0.02606305,-0.0306881175733153
+197002,0.0315934052735381,0.0713,0.0414275791232244,-0.024923509,-0.0193659750643643
+197003,0.0320562287254379,0.0663,0.0401370039109226,-0.031320803,-0.0258940225515469
+197004,0.0321020416674714,0.0651,0.0616474532654956,-0.03582528,-0.0338070027566125
+197101,0.0358454347245295,0.0444,-0.0317583271522957,-0.04100823,-0.0115131730131573
+197102,0.0354723161654168,0.037,-0.0368434372985778,-0.046916453,-0.0167341362337077
+197103,0.035348123314701,0.0338,-0.0611257772726066,-0.043619693,-0.00673944324423086
+197104,0.0351385396969431,0.0386,-0.0879776156243998,-0.040591807,-0.00628215504293933
+197201,0.0299826775163236,0.0338,-0.14773401343699,-0.040636151,-0.0155042086381803
+197202,0.0294943794242715,0.032,-0.141536189375517,-0.033364191,0.000198683262483249
+197203,0.029219856887389,0.0373,-0.136373174429339,-0.031477741,-0.00244116780944888
+197204,0.0289927412163766,0.0371,-0.123309158834157,-0.047133812,-0.0353598659423875
+197301,0.0270523733261653,0.0541,-0.0917762275027932,-0.034177498,-0.0324455486027433
+197302,0.0268027147848457,0.056,-0.0752160467029755,-0.035712602,-0.0384046912215465
+197303,0.0268259739761796,0.0609,-0.0637272576536563,-0.037736915,-0.0478965126655736
+197304,0.0273219364362691,0.0626,-0.048195068824771,-0.036300172,-0.045388381653215
+197401,0.031193365755036,0.0777,0.00143235668895825,-0.029528202,-0.0370341237779474
+197402,0.0323069923269764,0.0712,-0.00452756369145879,-0.017242602,-0.00132066089854589
+197403,0.0328202165665916,0.0796,0.00119638056991866,-0.00362426,0.0192054819302283
+197404,0.0333957206773164,0.0833,0.0212630857869154,-0.017182557,-0.011381539074101
+197501,0.0454258856890025,0.0626,0.0646618944602968,-0.016113014,0.0469969787447845
+197502,0.047133432598942,0.055,0.040716479747033,-0.045009185,6.95408316139373e-05
+197503,0.0478542021372892,0.0549,0.0419109094756205,-0.013775729,0.0670330090592572
+197504,0.0480175337974316,0.0561,0.0540375701360212,-0.0128038,0.0681950638947964
+197601,0.0417125234366044,0.0487,0.0189444281903521,-0.010228867,0.0640479790159743
+197602,0.0404373120187926,0.0488,0.00530997678992984,-0.010633726,0.0595428575018741
+197603,0.0401391807499351,0.05,0.0173208165885408,-0.006595377,0.0657846267053299
+197604,0.0394173879384201,0.0486,0.0230589356868332,-0.000572058,0.0778071345253925
+197701,0.0401037249062322,0.0462,0.05847017731622,0.010392845,0.10510754499098
+197702,0.0410780566419435,0.0467,0.0631461768146131,0.004378317,0.0947907481966622
+197703,0.0412761952784178,0.046,0.0171040336151946,0.001528312,0.0901910329159228
+197704,0.0413930937959936,0.0454,0.0314683234991175,0.005165188,0.0987231559297251
+197801,0.0470403872453736,0.0644,0.129339057164307,0.00444079,0.0922038419480239
+197802,0.0484893185113683,0.0645,0.138827425985482,0.013631273,0.11521485883633
+197803,0.0489830060815238,0.0629,0.139045184922963,0.006915016,0.104395678448077
+197804,0.0491225543481276,0.0629,0.100237295010496,0.006995976,0.104952825549401
+197901,0.0511549337686618,0.0935,0.0208035395233326,0.001784946,0.0663656047954971
+197902,0.0508512561339812,0.0932,0.0111574965788912,0.004303872,0.0710763518178869
+197903,0.0507528225233245,0.0948,-0.0166563830087978,0.006291217,0.0731796779526639
+197904,0.0513213193151607,0.0946,-0.00613643735343183,0.005172593,0.072660779995055
+198001,0.0515216624713932,0.12,0.0247400625771699,0.005551196,0.0462523255707995
+198002,0.0510340428298784,0.1286,0.0376004319678256,-0.013591904,-0.00424741332773023
+198003,0.0515617031634157,0.152,0.103090629769648,-0.016861347,-0.0351318349933684
+198004,0.0518442582028578,0.132,0.111997942462514,-0.012252971,-0.00292369152904895
+198101,0.0477105999751177,0.1502,0.0217296280143886,-0.000656473,-0.0102586377239826
+198102,0.0472390967085149,0.1479,0.00181678279157271,-0.002968948,-0.0138611248012841
+198103,0.0467178030561748,0.1336,-0.00639481956761356,-0.005012755,-0.0039329647052285
+198104,0.0461484927075865,0.1369,-0.00056251358349968,-0.018003848,-0.0360971096578331
+198201,0.047621919492213,0.1228,0.0964090436000729,-0.010536118,-0.00107897465637962
+198202,0.0493293815806123,0.1348,0.125569733665592,-0.010129066,-0.00858511404120856
+198203,0.0504273755428024,0.1268,0.129611161205343,-0.009341453,0.00485242025251581
+198204,0.0504051417274013,0.127,0.113392348351659,0.001620691,0.0273307286236981
+198301,0.054334571696416,0.0786,0.0873079616261392,0.001407171,0.0907265262434894
+198302,0.0521255590989965,0.0811,0.102851885484558,0.009525456,0.0986907572952144
+198303,0.0510291071718311,0.0835,0.110082922237482,0.019629272,0.113988314845248
+198304,0.0504867758796362,0.0821,0.0798396176757434,0.022546142,0.120061776669356
+198401,0.0402661928167683,0.089,0.137475523373395,0.01920593,0.077092637917725
+198402,0.0394590934704041,0.0909,0.173336252332096,0.022594949,0.0798024521965501
+198403,0.039840454429322,0.0952,0.17857368414452,0.018463237,0.0675893781436793
+198404,0.0403402980370102,0.0969,0.171981821710548,0.020343021,0.0710281401346039
+198501,0.0437785351644467,0.0776,0.0776049939310044,0.035196616,0.132539944333949
+198502,0.043242720450722,0.0827,0.0903005360043643,0.024499652,0.103265342454712
+198503,0.0430988392508497,0.0852,0.0850360088732933,0.04183229,0.136117391348908
+198504,0.0431431405331655,0.0795,0.0913816554094593,0.029125732,0.116088496607621
+198601,0.0389000583167243,0.0707,0.0738942690797737,0.022771886,0.100682512358721
+198602,0.0383445139896593,0.0706,0.0408095949761631,0.017067207,0.0873992569586973
+198603,0.0375254395304934,0.0656,0.0288927205062337,0.027325011,0.111875380654162
+198604,0.0374935182573745,0.0606,0.0494023651594953,0.021211805,0.104557777090311
+198701,0.0333294504703391,0.0543,0.0144849167054759,0.007796727,0.0719804597266016
+198702,0.0325528543214645,0.0559,0.00205079410135212,0.025258639,0.104320250217909
+198703,0.0325463348731633,0.0559,0.00139829870948671,0.021948048,0.0974288599897444
+198704,0.0327385562944684,0.0564,-0.00279511141368394,0.02035166,0.0941041504954885
+198801,0.0326950788726818,0.0581,0.0512784362521324,0.0244132,0.10055772807933
+198802,0.0349234819569352,0.0566,0.0591227555690028,0.018659534,0.0964641725935412
+198803,0.035266493781447,0.057,0.0761245556543548,0.022300122,0.104541771635358
+198804,0.0351135387258204,0.0591,0.0737851518950918,0.023521022,0.104355532324735
+198901,0.0413744878095797,0.0827,0.0764770055965554,0.022297344,0.0934843924806671
+198902,0.039677492741945,0.0853,0.08900641767259,0.026676691,0.095004358474637
+198903,0.0397228253409198,0.0882,0.0724971759416639,0.024340993,0.0871128818479614
+198904,0.0397886696307462,0.0865,0.0615992217114592,0.018987378,0.0780391492644659
+199001,0.0348446362214279,0.0764,0.0872871384282876,0.023154046,0.0839412725744131
+199002,0.0349407442953082,0.0774,0.0847488792100579,0.018641932,0.0737488539430378
+199003,0.0346278233854251,0.079,0.0856787701052506,0.029146169,0.0929363508282301
+199004,0.0351459179191807,0.0777,0.0890670260149438,0.023433537,0.0839410806712705
+199101,0.0364909906042412,0.0622,0.129502409008131,0.009401295,0.0754943423421341
+199102,0.0363284957133145,0.0594,0.092842239694229,0.01121824,0.08187290578639
+199103,0.0360123935239196,0.0591,0.0650827725762568,0.010833146,0.0805198928399897
+199104,0.0357761344415821,0.0565,0.0689019636761747,-0.003085985,0.0538041490061633
+199201,0.0303470424514033,0.038,0.0380285739130228,-0.001607785,0.0619504839502538
+199202,0.0296016993930297,0.0384,0.0460444315358757,-0.001785133,0.0590671976337984
+199203,0.029775988783822,0.0404,0.0637924299288661,0.003543874,0.0684315470671352
+199204,0.029161728359763,0.0375,0.0682590357562942,0.008274394,0.0797087994592784
+199301,0.0276437388994999,0.03,0.109639853928239,0.007972312,0.0830442461162833
+199302,0.0273753129071636,0.0293,0.112587941588281,0.013835014,0.0952324415242554
+199303,0.0274212113045772,0.0295,0.107111442495542,0.018501155,0.104829389854721
+199304,0.0272522241364197,0.0287,0.126446215034468,0.020335099,0.109039865722124
+199401,0.0256939859149916,0.0298,0.137212156960081,0.02901429,0.121512678892551
+199402,0.0255596966435273,0.0325,0.145489634574989,0.028091141,0.116271574256635
+199403,0.0253718026889765,0.035,0.145672024310562,0.031220071,0.119512185041045
+199404,0.0254527645983689,0.0368,0.158004548859599,0.031979031,0.119346856329445
+199501,0.0263468779194327,0.0571,0.230604640792382,0.024243013,0.0835981106691384
+199502,0.0262027762253157,0.0577,0.244220273752323,0.027573572,0.0894554381900568
+199503,0.026134354988406,0.0573,0.254863224957284,0.025775226,0.085968135844827
+199504,0.026113226176634,0.0565,0.248959124962406,0.026728157,0.0887617475234709
+199601,0.0235834350929694,0.05,0.200113551377747,0.025622442,0.0865151832509582
+199602,0.0231847224785404,0.0483,0.17702640947273,0.027487219,0.091132568285887
+199603,0.0227375294445726,0.0496,0.188213524823256,0.026370129,0.0861461297623556
+199604,0.022530326788953,0.0495,0.198212292608126,0.030863757,0.0950070593002141
+199701,0.0200323292311045,0.0503,0.173292155264978,0.032053288,0.0896380941532532
+199702,0.0196736744997328,0.0501,0.185459324363413,0.017952815,0.0595822842293424
+199703,0.0197179215892745,0.0514,0.226776213443,0.017702389,0.0577652980357671
+199704,0.0196693964017317,0.0516,0.184319478413282,0.016068651,0.0540196300357122
+199801,0.0167390553956587,0.0504,0.0708702195784121,-0.001197769,0.011313626314598
+199802,0.0163981956468204,0.0509,0.00587630533427963,0.002405112,0.0172970275066738
+199803,0.0158556135621491,0.0503,-0.0360392483627068,0.014950352,0.0424854163083576
+199804,0.015676551095275,0.0495,-0.0114121627501222,0.004770242,0.0217250765436369
+199901,0.0144814295259761,0.0434,-0.0683339334308187,-0.000294038,0.0145440535793045
+199902,0.0143090405823458,0.0444,-0.0630305335654549,0.00435737,0.0226277126625035
+199903,0.0143405232438358,0.0444,-0.059411234641064,0.01210938,0.0388096595124767
+199904,0.0141299466499881,0.0429,-0.0903532327183455,-0.003013774,0.00846390851758376
+200001,0.0129961264987269,0.0532,-0.177486605753926,-0.008913269,-0.0181995072117348
+200002,0.0128306373240103,0.0555,-0.190163321831619,-0.000734884,-0.00419458371713142
+200003,0.0125337335411665,0.0569,-0.200282709615165,-0.003131727,-0.0115282086569602
+200004,0.012591845860272,0.0566,-0.158928322584084,0.011924126,0.0202194941319994
+200101,0.0112578865522286,0.0515,-0.0484413500910134,0.015450696,0.0293944613978595
+200102,0.0114100581491096,0.0488,-0.00778181982689796,0.011814846,0.0252203524921057
+200103,0.0115059479913705,0.0442,0.014857934585645,0.008715752,0.0240797185929963
+200104,0.0115942600024322,0.0387,-0.0196377786421292,0.018847405,0.0513700701651803
+200201,0.0136812603106086,0.0165,0.0431076504824983,0.000721509,0.0438135739858472
+200202,0.0138610466895884,0.0172,0.0586157766818067,0.008108901,0.0588871532622519
+200203,0.0137588900057899,0.0179,0.0368367252228277,0.025250542,0.0934257478110871
+200204,0.0137821172885179,0.0171,0.0456964107047744,0.021793208,0.0871867463758538
+200301,0.0165527999081915,0.0117,0.180431160925209,0.025375429,0.108248878009648
+200302,0.0170197559924967,0.0117,0.184946861084575,0.013072913,0.084009152270915
+200303,0.0175067126772454,0.0113,0.187869651489375,0.01078192,0.0810474573355358
+200304,0.0180320256323542,0.0113,0.160390384859626,0.004045023,0.0685253746660711
+200401,0.0177718398564348,0.0088,0.0901612831685799,-0.000580633,0.0609281113343209
+200402,0.0173720864185431,0.0093,0.0778961276276027,-0.007059009,0.0458173259573301
+200403,0.0173031398894564,0.0094,0.0859898168419429,-0.007663768,0.0442602798567384
+200404,0.0172156830484293,0.0094,0.10848213259375,-0.009227707,0.0407695091659961
+200501,0.0192736126936636,0.0233,0.0471563808748539,-0.005667035,0.0387117878944119
+200502,0.0196137518734737,0.0254,0.0314758127450017,-0.004489698,0.039809863977284
+200503,0.0199452274958486,0.0274,0.0343071130107064,-0.004428843,0.0386750892045024
+200504,0.0199855783655234,0.0278,0.0605264189406032,-0.007859664,0.0312277056742929
+200601,0.0184750078448584,0.0424,-0.155478857082191,-0.02014197,-0.0144359873452237
+200602,0.0185987878333952,0.0443,-0.184171517003988,-0.011287754,0.0022155932002081
+200603,0.018371117849624,0.0451,-0.163746782474996,-0.00743754,0.00870027334172241
+200604,0.0184041436570087,0.046,-0.13684992276182,-0.015704402,-0.00935409718283291
+200701,0.0188208214129466,0.0498,-0.0843095457579262,-0.023348222,-0.0282139765832369
+200702,0.0189254299755447,0.0503,-0.0676679654669013,-0.016337918,-0.0139143501574004
+200703,0.0189423651353736,0.0494,-0.0500487461050242,-0.010609077,-0.000989946241451287
+200704,0.018801550837406,0.0487,-0.0555853220855459,-0.003443059,0.0142598855312116
+200801,0.019441222120112,0.0275,0.00627043904276392,0.003889482,0.0544305624035247
+200802,0.0194049961854164,0.0212,0.0267986215937781,-0.009554972,0.0333007724393872
+200803,0.0197124109673598,0.0126,0.0329154588552374,0.01848986,0.101779239769953
+200804,0.0196577148981871,0.0129,0.0259989443918609,0.012678682,0.0892341990840244
+200901,0.0241948221895367,0.0013,0.203231677298922,0.010884289,0.110832983457312
+200902,0.025795638974274,0.003,0.2631978153692,-0.012382822,0.0651330863448992
+200903,0.0270727657520087,0.0021,0.238538189244968,-0.005200904,0.0845877080310545
+200904,0.0274788743388603,0.0016,0.193717827015612,-0.007043664,0.0824404602509268
+201001,0.0245648608240395,6e-04,0.137648837881743,-0.006705542,0.0761107495616637
+201002,0.0229984881270686,0.0011,0.127824082229511,-0.004120902,0.0765633935072562
+201003,0.0215495972350554,0.0015,0.117769576402331,-0.007853384,0.0643376833693894
+201004,0.020972630143447,0.0016,0.115871081288574,-0.007991569,0.0623329323290496
+201101,0.0213434266746334,0.0015,0.123919048758371,-0.01288464,0.053317338915787
+201102,0.0211850243532811,0.0013,0.126787522600043,-0.004873942,0.0697254797272708
+201103,0.0211802712171474,0.001,0.127284031990848,0.010090533,0.101108199703162
+201104,0.0211727519309622,6e-04,0.117371277018052,0.012108104,0.10571302916825
+201201,0.0211658586732192,3e-04,0.154390044302511,-0.000895883,0.0790236484267843
+201202,0.0214942618614368,9e-04,0.159744823319373,-0.001858043,0.0772860919223373
+201203,0.0217604231538474,8e-04,0.146605644044365,-0.006244276,0.069031034165439
+201204,0.0219061170123271,8e-04,0.152609462957521,-0.017425398,0.0462237806904129
+201301,0.0252021807564931,7e-04,0.0819983397259792,0.001312162,0.0944241353803307
+201302,0.0252060875495074,0.001,0.0791105080473253,-0.009971338,0.0706812345905963
+201303,0.0250681236840484,9e-04,0.0911684364904197,-0.016509419,0.0568319528631174
+201304,0.0249994797905416,6e-04,0.0900772496515472,-0.018592692,0.0526432205953193
+201401,0.0216405776417744,4e-04,0.0875275170374201,-0.023218232,0.0338938363334556
+201402,0.021590056740278,5e-04,0.0825257245573758,-0.024412266,0.0311647504015807
+201403,0.021594276610221,5e-04,0.0815669234019389,-0.022332177,0.0354950485123565
+201404,0.0215977298744457,3e-04,0.0844144651466634,-0.027475502,0.0250449981994929
+201501,0.0209092721050217,3e-04,0.126323506372446,-0.034622307,0.00828787362706267
+201502,0.0209877006284761,2e-04,0.0907293442922747,-0.034629428,0.0086010139509312
+201503,0.0211160835567631,3e-04,0.0873460063801046,-0.02656083,0.0256011344826058
+201504,0.0210913731078685,2e-04,0.0856543815657862,-0.035191286,0.00772356548424264
diff --git a/readme.md b/readme.md
@@ -0,0 +1,37 @@
+# Measuring the Risk Premium
+
+1. Measuring Dividend Price ratio uses CRSP Monthly Index files available on [WRDS](https://wrds-web.wharton.upenn.edu/wrds/ds/crsp/stock_a/stkmktix.cfm)
+ - `msi.sas7bdat` downloaded from `/wrds/crsp/sasdata/a_stock/msi.sas7bdat`
+ - See our [note](./doc/dividendpriceratio.pdf) on how to account for reinvested dividends
+2. Measuring the risk-free rate from H15 release available on [FRED](https://fred.stlouisfed.org/series/TB3MS
+)
+3. Measuring cay from Lettau's [website](http://faculty.haas.berkeley.edu/lettau/data_cay.html). *Last downloaded on May 29 2019*
+
+
+## Latest estimates
+
+
+~~~R
+===========================================================
+ Future Excess Returns
+-----------------------------------------------------------
+D/P ratio 2.788***
+ (0.411)
+
+cay 2.076***
+ (0.234)
+
+T-bill (three-month) -1.093***
+ (0.151)
+
+Constant 0.022*
+ (0.013)
+
+Observations 256
+R2 0.400
+F Statistic 56.022*** (df = 3; 252)
+-----------------------------------------------------------
+Notes: ***Significant at the 1 percent level.
+ **Significant at the 5 percent level.
+ *Significant at the 10 percent level.
+~~~
diff --git a/src/import_predictors.R b/src/import_predictors.R
@@ -0,0 +1,134 @@
+#!/usr/bin/env Rscript
+#
+# import_predictors.R
+#
+# This code creates or imports the predictors of aggregate equity returns
+# There are three parts for T-bill, D/P ratio and cay
+#
+# 1. T-bill comes from the H15 release of the FRB
+# we downloaded it directly from FRED at https://fred.stlouisfed.org/series/TB3MS
+#
+# 2. cay comes from Martin Lettau's website at http://faculty.haas.berkeley.edu/lettau/data_cay.html
+#
+# 3. D-P ratio is estimated from the MSI CRSP Files
+# We use a method of continuously reinvested dividends
+# See attached LaTeX file for explanations of the procedure
+# Data is from CRSP and available at /wrds/crsp/sasdata/a_stock/msi.sas7bdat
+#
+# 4. Estimate future excess returns: we use a horizon of three years in the paper
+#
+# (c) Valentin Haddad, Erik Loualiche & Matthew Plosser
+#
+# Last updated on June 4th 2019
+#
+##################################################################################
+
+
+##################################################################################
+message("Log file for code executed at\n")
+message(format(Sys.time(), "%a %b %d %X %Y"))
+##################################################################################
+
+
+##################################################################################
+# APPEND REQUIRED PACKAGES
+library(crayon)
+library(devtools)
+
+library(alfred)
+library(haven)
+library(dplyr)
+library(stringr)
+library(lubridate)
+library(RcppRoll)
+library(statar)
+library(data.table)
+
+check_file = file.exists("log/R-session-info.log.R")
+sink("log/R-session-info.log.R", append=check_file)
+cat(bold("\n\n# -----\n# Session info for import_predictors\n\n"))
+session_info()
+sink()
+##################################################################################
+
+
+##################################################################################
+# 1. TREASURIES
+dt_tbill <- get_fred_series("TB3MS", "rf", observation_start = "1950-01-01", observation_end = "2019-05-31") %>% data.table
+dt_tbill <- dt_tbill[, .(dateym=year(date)*100+month(date), rf=rf/100)]
+# fwrite(dt_tbill, "./input/tbill.csv")
+##################################################################################
+
+
+##################################################################################
+# 2. CAY
+dt_cay <- fread("./input/cay_current.csv", skip=1, header=T)
+dt_cay <- dt_cay[, .(dateym=as.integer(str_sub(date, 1, 6)), cay=cay) ]
+dt_cay
+##################################################################################
+
+
+##################################################################################
+# 3. Dividend-Price RATIO
+dt_msi <- read_sas("./input/msi.sas7bdat") %>% data.table
+dt_msi <- dt_msi[, .(date=DATE, vwretd, vwretx) ]
+fwrite(dt_msi, "./output/msi.csv") # SAVED HERE IF YOU NEED IT
+
+# ESTIMATE THE DP RATIO
+dt_dp <- dt_msi[, .(date, vwretx, vwretd, vwrx=1+vwretx, vwrd=1+vwretd) ]
+dt_dp[, `:=`(vwrx=1+vwretx, vwrd=1+vwretd) ]
+dt_dp[, `:=`(dpvw = 100 * (vwretd-vwretx) / (1+vwretx) ) ]
+dt_dp[, `:=`(retd_retx = (1+vwretd) / (1+vwretx) ) ]
+dt_dp[, `:=`(datem = as.monthly(date)) ]
+dt_dp[, dp := 0 ]
+for (i in seq(11,0)){
+ dt_dp[, dp := (dp*tlag(retd_retx, i, time=datem) + tlag(dpvw, i, time=datem)) ]
+}
+dt_dp <- dt_dp[, .(dateym=year(datem)*100+month(datem), dp=dp/100)]
+dt_dp[]
+##################################################################################
+
+
+##################################################################################
+# ESTIMATE FUTURE EXCESS RETURNS
+dt_rmrf <- fread("./output/msi.csv") %>% data.table
+dt_rmrf <- dt_rmrf[, .(dateym=year(date)*100+month(date), retm=vwretd) ]
+dt_rmrf <- merge(dt_rmrf, dt_tbill, by = "dateym")
+
+dt_rmrf[, lead1_retm := shift(retm, 1, type="lead") ]
+dt_rmrf[, retm_y := exp( roll_sum(log(1+lead1_retm), n=12, align="left", fill=NA) ) - 1 ]
+dt_rmrf[, rf_y := (1+rf)^(1/4) * (1+shift(rf, 3, type="lead"))^(1/4) *
+ (1+shift(rf, 6, type="lead"))^(1/4) * (1+shift(rf, 9, type="lead"))^(1/4) - 1 ]
+dt_rmrf[, rmrf_y3 := 1 * (
+ ( (1+retm_y) * (1 + shift(retm_y, 12, type="lead")) * (1 + shift(retm_y, 24, type="lead")) )^(1/3) -
+ ( ((1+rf_y) * (1 + shift(rf_y, 12, type="lead")) * (1 + shift(rf_y, 24, type="lead")) )^(1/3) - 1) -1) ]
+
+dt_rmrf <- dt_rmrf[, .(dateym, rmrf_y3) ]
+dt_rmrf[ !is.na(rmrf_y3) ]
+##################################################################################
+
+
+##################################################################################
+# MERGE THE PREDICTORS
+dt_predict <- merge(dt_dp, dt_tbill, by = c("dateym"))
+dt_predict <- merge(dt_predict, dt_rmrf, by = c("dateym"), all.x = T)
+dt_predict <- merge(dt_predict, dt_cay, by = c("dateym"), all.x = T)
+dt_predict <- dt_predict[ !is.na(rmrf_y3) & !is.na(cay) ]
+dt_predict[]
+
+fwrite(dt_predict, "./tmp/predict.csv")
+##################################################################################
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/readme_in.md b/src/readme_in.md
@@ -0,0 +1,13 @@
+# Measuring the Risk Premium
+
+1. Measuring Dividend Price ratio uses CRSP Monthly Index files available on [WRDS](https://wrds-web.wharton.upenn.edu/wrds/ds/crsp/stock_a/stkmktix.cfm)
+ - `msi.sas7bdat` downloaded from `/wrds/crsp/sasdata/a_stock/msi.sas7bdat`
+ - See our [note](./doc/dividendpriceratio.pdf) on how to account for reinvested dividends
+2. Measuring the risk-free rate from H15 release available on [FRED](https://fred.stlouisfed.org/series/TB3MS
+)
+3. Measuring cay from Lettau's [website](http://faculty.haas.berkeley.edu/lettau/data_cay.html). *Last downloaded on May 29 2019*
+
+
+## Latest estimates
+
+
diff --git a/src/rp_measure.R b/src/rp_measure.R
@@ -0,0 +1,75 @@
+#!/usr/bin/env Rscript
+#
+# rp_measure.R
+#
+# This code runs the predictive regression
+# We save in output the expected excess return estimate
+#
+#
+# (c) Valentin Haddad, Erik Loualiche & Matthew Plosser
+#
+# Last updated on June 4th 2019
+#
+##################################################################################
+
+##################################################################################
+message("Log file for code executed at\n")
+message(format(Sys.time(), "%a %b %d %X %Y"))
+##################################################################################
+
+
+##################################################################################
+# APPEND REQUIRED PACKAGES
+library(crayon)
+library(devtools)
+
+# library(ggplot2)
+library(statar)
+library(stringr)
+library(lubridate)
+library(data.table)
+library(lmtest)
+library(sandwich)
+library(stargazer)
+
+check_file = file.exists("log/R-session-info.log.R")
+sink("log/R-session-info.log.R", append=check_file)
+cat(bold("\n\n# -----\n# Session info for rp_measure.csv\n\n"))
+session_info()
+sink()
+##################################################################################
+
+
+##################################################################################
+dt_predict <- fread("./tmp/predict.csv")
+dt_predict[, datem := as.monthly(ISOdate(str_sub(dateym, 1, 4), str_sub(dateym, 5, 6), 1)) ]
+##################################################################################
+
+
+##################################################################################
+r1_3 = lm(rmrf_y3 ~ dp + cay + rf, data = dt_predict[ year(datem) < 2011])
+nw_r1_3 = coeftest(r1_3, df = Inf, vcov = NeweyWest(r1_3, lag = 12, prewhite = FALSE) )
+r2_3 = lm(rmrf_y3 ~ dp + cay + rf, data = dt_predict)
+nw_r2_3 = coeftest(r2_3, df = Inf, vcov = NeweyWest(r2_3, lag = 12, prewhite = FALSE) )
+
+stargazer(r1_3, nw_r1_3, r2_3, nw_r2_3, type="text")
+
+# --- output for the readme
+star = stargazer(r2_3, type="text", style = "aer",
+ covariate.labels = c("D/P ratio", "cay", "T-bill (three-month)"),
+ dep.var.labels = "Future Excess Returns",
+ omit.stat = c("ser", "adj.rsq") )
+
+star[1] = "~~~R"
+star[length(star)+1] = "~~~"
+cat(star, sep = '\n', file = './tmp/reg_update.txt')
+##################################################################################
+
+
+##################################################################################
+# OUTPUT PREDICTED VALUE
+dt_exp_rmrf <- cbind(dt_predict[!is.na(rmrf_y3), -c("datem")], exp_rmrf = predict(r2_3))
+
+fwrite(dt_exp_rmrf, "./output/predict.csv")
+##################################################################################
+