commit 48a7572ef0f44f331c7b93926c7b05822fd2ef6d
parent cafb1aaf36fefe07113763dba8dfdf1476c12700
Author: Erik Loualiche <eloualic@umn.edu>
Date: Mon, 23 Mar 2020 09:04:18 -0400
🚀 RELEASE: update cay to 2019q3
Also add new index msi.csv
Predictor now goes to 2016q4
Diffstat:
13 files changed, 1048 insertions(+), 898 deletions(-)
diff --git a/Makefile b/Makefile
@@ -2,32 +2,43 @@
# Makefile for PREDICTING THE EQUITY RISK PREMIUM
#
# Created on June 04th 2019
-# Last modified on June 14th 2019
+# Last modified on March 23rd 2020
## --------------------------------------------------------------------------------------------------------
+
+## --------------------------------------------------------------------------------------------------------
+## LOAD A FEW OPTIONS
+-include ./rules.mk
+## --------------------------------------------------------------------------------------------------------
+
# --------------------------------------------------------------------------------------------------------
## ALL
all: output/predict.csv readme.md
##
## DOWNLOAD THE DATA FROM WRDS
+## Edit rules.mk to change your user name under WRDS_USERNAME
input/msi.sas7bdat:
- rsync -aPvzh --stats --human-readable XXXX@wrds-cloud.wharton.upenn.edu:/wrds/crsp/sasdata/a_stock/msi.sas7bdat ./input/
+ $(call colorecho,"Download stock market index from crsp ...")
+ rsync -aPvzh --stats --human-readable ${WRDS_USERNAME}@wrds-cloud.wharton.upenn.edu:/wrds/crsp/sasdata/a_stock/msi.sas7bdat ./input/
@echo
## GENERATE PREDICTORS
tmp/predict.csv: src/import_predictors.R input/cay_current.csv input/msi.sas7bdat
+ $(call colorecho,"Import and merge all return predictors ...")
R CMD BATCH $(R_OPTS) src/import_predictors.R log/import_predictors.log.R
@echo
## RUN REGRESSIONS
output/predict.csv: src/rp_measure.R tmp/predict.csv
+ $(call colorecho,"Estimate predictive regression ...")
R CMD BATCH $(R_OPTS) src/rp_measure.R log/rp_measure.log.R
@echo
## OUTPUT RESULTS
-readme.md: src/readme_in.md
+readme.md: src/readme_in.md output/predict.png tmp/reg_update.txt
+ $(call colorecho,"Update readme file ...")
cat src/readme_in.md tmp/reg_update.txt > readme.md
@echo
@@ -47,10 +58,6 @@ clean:
rm -rf readme.md
##
-## --------------------------------------------------------------------------------------------------------
-SHELL := /bin/bash
-R_OPTS := --vanilla
-# DATE := `date '+%Y-%m-%d %H:%M:%S'`
# --------------------------------------------------------------------------------------------------------
diff --git a/input/cay_current.csv b/input/cay_current.csv
@@ -1,265 +1,272 @@
-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
+date,c,w,y,cay=c-0.218 a-0.801y+0.441
+1952-03-31,9.1556540884,10.9643718239,8.9796593725,0.0151049319
+1952-06-30,9.1711401350,10.9818567342,8.9820861154,0.0248372672
+1952-09-30,9.1715980319,10.9784775908,8.9960572608,0.0148400790
+1952-12-31,9.2016945323,10.9726876684,9.0260586723,0.0221659845
+1953-03-31,9.2096309236,10.9734574885,9.0365619088,0.0215211835
+1953-06-30,9.2119469014,10.9738925842,9.0463206797,0.0159252450
+1953-09-30,9.2050127674,10.9725099681,9.0394441277,0.0148007265
+1953-12-31,9.1936232823,10.9762906307,9.0274548335,0.0121913077
+1954-03-31,9.1930344261,10.9837854565,9.0170638996,0.0182928929
+1954-06-30,9.2018884145,11.0001860022,9.0160657078,0.0243729346
+1954-09-30,9.2107094813,11.0215391010,9.0195419272,0.0257567794
+1954-12-31,9.2265831250,11.0273445804,9.0381945630,0.0254240549
+1955-03-31,9.2446462125,11.0348100683,9.0461933695,0.0354531586
+1955-06-30,9.2595633089,11.0564073458,9.0676902438,0.0284446613
+1955-09-30,9.2673407085,11.0708889003,9.0835836488,0.0203354925
+1955-12-31,9.2749679574,11.0744546905,9.0934386381,0.0192916004
+1956-03-31,9.2724975199,11.0927250558,9.1003856920,0.0072753827
+1956-06-30,9.2717277128,11.0916649062,9.1078281721,0.0007748890
+1956-09-30,9.2693038308,11.0861976806,9.1064284729,0.0006634742
+1956-12-31,9.2779929520,11.0966775426,9.1184046015,-0.0025241662
+1957-03-31,9.2804820378,11.0907212144,9.1174325101,0.0020414294
+1957-06-30,9.2781192776,11.1049157176,9.1188232991,-0.0045282568
+1957-09-30,9.2815191226,11.0893443713,9.1173644318,0.0034330491
+1957-12-31,9.2774138817,11.0879797669,9.1085245001,0.0067062341
+1958-03-31,9.2597671624,11.0904142363,9.0865049333,0.0061674996
+1958-06-30,9.2641458224,11.1028707404,9.0888073430,0.0059876886
+1958-09-30,9.2762825998,11.1247090139,9.1112788191,-0.0046343284
+1958-12-31,9.2851865040,11.1355024043,9.1229235075,-0.0074100057
+1959-03-31,9.2990184818,11.1347349954,9.1294197648,0.0013854570
+1959-06-30,9.3104597427,11.1438757472,9.1421344560,0.0006501225
+1959-09-30,9.3165642227,11.1384415389,9.1333307294,0.0149907574
+1959-12-31,9.3132973366,11.1444905068,9.1352072881,0.0089026666
+1960-03-31,9.3169670834,11.1414102530,9.1446741925,0.0056602557
+1960-06-30,9.3234499943,11.1418096444,9.1446672654,0.0120616917
+1960-09-30,9.3144568103,11.1290486846,9.1405301832,0.0091629529
+1960-12-31,9.3117994854,11.1454750020,9.1349667918,0.0073829485
+1961-03-31,9.3080538372,11.1642433711,9.1388392415,-0.0035541263
+1961-06-30,9.3189937024,11.1734975790,9.1511544456,-0.0044955746
+1961-09-30,9.3196598277,11.1809520088,9.1597204829,-0.0123153951
+1961-12-31,9.3353373272,11.1996689446,9.1728094306,-0.0112008487
+1962-03-31,9.3423037746,11.1976255378,9.1803689105,-0.0098445659
+1962-06-30,9.3510454845,11.1502678026,9.1884264129,0.0027616350
+1962-09-30,9.3551394256,11.1600868014,9.1890635468,0.0042057374
+1962-12-31,9.3652265409,11.1985147196,9.1925674352,0.0031130157
+1963-03-31,9.3688516496,11.2067290201,9.1991173853,-0.0002984348
+1963-06-30,9.3750235375,11.2176671905,9.2053969559,-0.0015400299
+1963-09-30,9.3846881241,11.2253811769,9.2122398144,0.0009623816
+1963-12-31,9.3891767308,11.2149146684,9.2232137671,-0.0010589681
+1964-03-31,9.4055091881,11.2255073886,9.2405388612,-0.0009125693
+1964-06-30,9.4198636783,11.2399920068,9.2633750689,-0.0080067401
+1964-09-30,9.4345138174,11.2504320435,9.2737497468,-0.0039418676
+1964-12-31,9.4338237337,11.2602132428,9.2808561955,-0.0124556986
+1965-03-31,9.4531876449,11.2699828405,9.2897830634,-0.0023712254
+1965-06-30,9.4613911456,11.2629832924,9.2964863764,0.0019878291
+1965-09-30,9.4751017127,11.2842913200,9.3227207589,-0.0099590803
+1965-12-31,9.4995839164,11.3067561450,9.3406434987,-0.0047284959
+1966-03-31,9.5117556852,11.2979151308,9.3433702206,0.0071854526
+1966-06-30,9.5116651833,11.3002020006,9.3515354256,0.0000560508
+1966-09-30,9.5199562286,11.2791386610,9.3653151122,0.0018986050
+1966-12-31,9.5210853231,11.2992968199,9.3770158462,-0.0107372762
+1967-03-31,9.5243468744,11.3290407977,9.3888367724,-0.0234256432
+1967-06-30,9.5354904491,11.3366250038,9.3953298801,-0.0191358031
+1967-09-30,9.5378107297,11.3527272827,9.4023010894,-0.0259082452
+1967-12-31,9.5410606950,11.3621888489,9.4125117350,-0.0328989510
+1968-03-31,9.5626305065,11.3560553526,9.4288888867,-0.0231113698
+1968-06-30,9.5754630369,11.3862012077,9.4448418451,-0.0296262239
+1968-09-30,9.5913157706,11.3919090995,9.4466588391,-0.0164726639
+1968-12-31,9.5931582734,11.4258091325,9.4535869720,-0.0275663503
+1969-03-31,9.6021235632,11.4185977190,9.4540394674,-0.0173922222
+1969-06-30,9.6062470391,11.4061160979,9.4624119446,-0.0172557558
+1969-09-30,9.6083035026,11.3977221552,9.4816485149,-0.0287794845
+1969-12-31,9.6133142402,11.3874331832,9.4876742680,-0.0263537082
+1970-03-31,9.6170145829,11.3809718727,9.4952234026,-0.0272926211
+1970-06-30,9.6184789021,11.3523972525,9.5067296739,-0.0288190676
+1970-09-30,9.6237730178,11.3752908316,9.5137818797,-0.0341623195
+1970-12-31,9.6176259240,11.3870521170,9.5067510844,-0.0372401825
+1971-03-31,9.6335337157,11.4156367093,9.5242289729,-0.0415611117
+1971-06-30,9.6398108918,11.4221987569,9.5379265934,-0.0476860148
+1971-09-30,9.6446676353,11.4251794715,9.5393063729,-0.0445839936
+1971-12-31,9.6580498216,11.4408457605,9.5472660731,-0.0409913471
+1972-03-31,9.6687516974,11.4637353234,9.5534217247,-0.0402077930
+1972-06-30,9.6852754110,11.4731534767,9.5623805181,-0.0329125142
+1972-09-30,9.6979578242,11.4882709136,9.5714703931,-0.0308053599
+1972-12-31,9.7185145258,11.5275948375,9.6050180577,-0.0456898299
+1973-03-31,9.7344611217,11.5176818492,9.6129936822,-0.0339720330
+1973-06-30,9.7317895469,11.5072547476,9.6153237097,-0.0362380677
+1973-09-30,9.7327954169,11.5218311493,9.6139779843,-0.0373302933
+1973-12-31,9.7273934829,11.4906872456,9.6164784533,-0.0379492102
+1974-03-31,9.7163252644,11.4642879136,9.6027770875,-0.0322899817
+1974-06-30,9.7177769475,11.4336927131,9.5993404374,-0.0214190014
+1974-09-30,9.7195229377,11.3962071807,9.5981920653,-0.0105853618
+1974-12-31,9.7022356264,11.3941188447,9.5931829162,-0.0234051416
+1975-03-31,9.7085403853,11.4203991927,9.5902890612,-0.0205085588
+1975-06-30,9.7224519350,11.4501047113,9.6357075392,-0.0494513477
+1975-09-30,9.7336070282,11.4272276919,9.6186424492,-0.0196418288
+1975-12-31,9.7417337602,11.4356656911,9.6247142567,-0.0182173893
+1976-03-31,9.7593862865,11.4556139990,9.6373628942,-0.0150434174
+1976-06-30,9.7664423998,11.4761608458,9.6397672633,-0.0143902618
+1976-09-30,9.7743147336,11.4764782913,9.6450420483,-0.0108123816
+1976-12-31,9.7845586866,11.4829354655,9.6484211935,-0.0046822015
+1977-03-31,9.7939829748,11.4790491127,9.6481067839,0.0058407414
+1977-06-30,9.7969611912,11.4880437281,9.6561013612,0.0004551784
+1977-09-30,9.8035926206,11.4903008812,9.6678582845,-0.0028229076
+1977-12-31,9.8156516379,11.4948761035,9.6772555186,0.0007117002
+1978-03-31,9.8189158910,11.5000498164,9.6823090646,-0.0011994177
+1978-06-30,9.8375531622,11.5124105525,9.6901744416,0.0084441204
+1978-09-30,9.8387913494,11.5239366534,9.6963173690,0.0022501757
+1978-12-31,9.8439340774,11.5246595296,9.7008589076,0.0035974660
+1979-03-31,9.8465604554,11.5410513146,9.7077420704,-0.0028614314
+1979-06-30,9.8432813559,11.5451882491,9.6978396026,0.0008902870
+1979-09-30,9.8499624733,11.5502923344,9.7019444904,0.0031711126
+1979-12-31,9.8493436386,11.5540159984,9.6987466645,0.0043024938
+1980-03-31,9.8451069652,11.5417994065,9.6987804757,0.0027006231
+1980-06-30,9.8195053083,11.5538447735,9.6882743853,-0.0171098706
+1980-09-30,9.8274632489,11.5674196515,9.6961075526,-0.0183844128
+1980-12-31,9.8381699737,11.5706835820,9.6986800186,-0.0104495035
+1981-03-31,9.8394590536,11.5613422242,9.6919951797,-0.0017702379
+1981-06-30,9.8372573071,11.5710057122,9.6895754106,-0.0041392538
+1981-09-30,9.8391678441,11.5611246601,9.6989023604,-0.0075469325
+1981-12-31,9.8296626043,11.5700005954,9.6975362743,-0.0178918775
+1982-03-31,9.8349088885,11.5677560045,9.6970350123,-0.0117549888
+1982-06-30,9.8357422667,11.5687549161,9.6983745127,-0.0122122506
+1982-09-30,9.8398509747,11.5700878158,9.7030217821,-0.0121165930
+1982-12-31,9.8547569791,11.5826037954,9.7031791612,-0.0000637752
+1983-03-31,9.8625731804,11.6006878040,9.7083563391,-0.0003350167
+1983-06-30,9.8806485243,11.6140642591,9.7155320980,0.0090776858
+1983-09-30,9.8959704099,11.6113841199,9.7230657381,0.0189488438
+1983-12-31,9.9094475603,11.6085543389,9.7388844194,0.0203712679
+1984-03-31,9.9158090104,11.6153097380,9.7493688835,0.0168623585
+1984-06-30,9.9276810181,11.6212672014,9.7591935863,0.0195663615
+1984-09-30,9.9326338679,11.6357616635,9.7661344102,0.0158011573
+1984-12-31,9.9431034854,11.6454214247,9.7748633610,0.0171738076
+1985-03-31,9.9580750546,11.6605089490,9.7695235304,0.0331353284
+1985-06-30,9.9651142267,11.6743927004,9.7893116908,0.0212983544
+1985-09-30,9.9813299269,11.6777155492,9.7877922457,0.0380071635
+1985-12-31,9.9810153321,11.6987526386,9.7960811434,0.0264690807
+1986-03-31,9.9877229463,11.7208460735,9.8054972857,0.0208200767
+1986-06-30,9.9964464070,11.7453000077,9.8156043316,0.0161191498
+1986-09-30,10.0115414427,11.7485537851,9.8215511765,0.0257415882
+1986-12-31,10.0152257667,11.7720633484,9.8263602741,0.0204511343
+1987-03-31,10.0142932631,11.7955518569,9.8339637148,0.0083100750
+1987-06-30,10.0257347750,11.8024926081,9.8238299967,0.0263567175
+1987-09-30,10.0346152402,11.8133993640,9.8359329091,0.0231658465
+1987-12-31,10.0342512544,11.7977635995,9.8455005141,0.0185447723
+1988-03-31,10.0497948523,11.8142404852,9.8550230212,0.0228703463
+1988-06-30,10.0550397045,11.8265837386,9.8654748753,0.0170534172
+1988-09-30,10.0612822388,11.8282643186,9.8682377402,0.0207166177
+1988-12-31,10.0701265864,11.8398397039,9.8744723729,0.0220446356
+1989-03-31,10.0727225556,11.8463342547,9.8761066364,0.0219163985
+1989-06-30,10.0751413198,11.8536766138,9.8707646136,0.0270144730
+1989-09-30,10.0820136923,11.8705729982,9.8762862975,0.0257822142
+1989-12-31,10.0836447671,11.8770898018,9.8838239604,0.0199554069
+1990-03-31,10.0897359609,11.8639369857,9.8911737692,0.0230250315
+1990-06-30,10.0896799192,11.8655286397,9.8978476344,0.0172761858
+1990-09-30,10.0901131217,11.8422461623,9.8931567949,0.0265399573
+1990-12-31,10.0789190207,11.8438620966,9.8837650342,0.0225168835
+1991-03-31,10.0720994306,11.8591372410,9.8875635080,0.0093262667
+1991-06-30,10.0771349349,11.8548975167,9.8940795888,0.0100659633
+1991-09-30,10.0785511866,11.8563865428,9.8966346150,0.0091111052
+1991-12-31,10.0746331562,11.8702475644,9.9050788930,-0.0045912769
+1992-03-31,10.0902704897,11.8631390407,9.9253244989,-0.0036224895
+1992-06-30,10.0936850013,11.8585718088,9.9318175827,-0.0044140032
+1992-09-30,10.1006514245,11.8640856310,9.9329794086,0.0004203445
+1992-12-31,10.1090665188,11.8764059974,9.9343322036,0.0050673051
+1993-03-31,10.1099465931,11.8782690801,9.9324191750,0.0070738324
+1993-06-30,10.1159483842,11.8798089680,9.9336331118,0.0117676902
+1993-09-30,10.1236017328,11.8892198806,9.9343499112,0.0167963037
+1993-12-31,10.1291761850,11.8959440775,9.9374186136,0.0184474766
+1994-03-31,10.1378554437,11.8923662849,9.9380282710,0.0274179478
+1994-06-30,10.1426801842,11.8926275943,9.9450214521,0.0265839715
+1994-09-30,10.1470389499,11.8971208862,9.9452216695,0.0298033079
+1994-12-31,10.1547293956,11.8965957944,9.9539727147,0.0305982768
+1995-03-31,10.1545434601,11.9063092179,9.9597136464,0.0236971880
+1995-06-30,10.1604404920,11.9195155437,9.9584002289,0.0277687719
+1995-09-30,10.1662510031,11.9362665039,9.9623610092,0.0267566761
+1995-12-31,10.1701281233,11.9519434192,9.9613158031,0.0280551823
+1996-03-31,10.1768018988,11.9617631044,9.9670925453,0.0279619657
+1996-06-30,10.1846687388,11.9679205799,9.9721529103,0.0304336193
+1996-09-30,10.1874777763,11.9721037573,9.9761126227,0.0291593133
+1996-12-31,10.1921895613,11.9858870700,9.9763526278,0.0306755847
+1997-03-31,10.2000430170,11.9868712165,9.9835555552,0.0325448099
+1997-06-30,10.2016812613,12.0253521269,9.9895022472,0.0210349007
+1997-09-30,10.2152539520,12.0536679011,9.9970592760,0.0223843951
+1997-12-31,10.2240218378,12.0611032856,10.0088890513,0.0200561179
+1998-03-31,10.2315335508,12.1031542364,10.0246289837,0.0057970734
+1998-06-30,10.2462511605,12.1174736194,10.0343485174,0.0096089346
+1998-09-30,10.2560926971,12.0947280629,10.0419055521,0.0183530795
+1998-12-31,10.2674124634,12.1429054555,10.0500415957,0.0126581688
+1999-03-31,10.2745250841,12.1461850924,10.0622654045,0.0092644926
+1999-06-30,10.2862832854,12.1660925098,10.0625451499,0.0164609591
+1999-09-30,10.2943086765,12.1564607623,10.0674339889,0.0226688932
+1999-12-31,10.3058680993,12.2109465750,10.0794423503,0.0127372301
+2000-03-31,10.3185798824,12.2279399432,10.0974410921,0.0073286953
+2000-06-30,10.3257123148,12.2161915979,10.1015546509,0.0137258848
+2000-09-30,10.3327699146,12.2262495837,10.1112402856,0.0108334110
+2000-12-31,10.3386833211,12.2054888816,10.1106633133,0.0217325643
+2001-03-31,10.3403784700,12.1889322101,10.1206238982,0.0190564917
+2001-06-30,10.3403958043,12.2096999060,10.1170102562,0.0174433822
+2001-09-30,10.3412132809,12.1850538636,10.1348787921,0.0093176972
+2001-12-31,10.3535093548,12.2161454870,10.1268088921,0.0213034519
+2002-03-31,10.3543827548,12.2246864250,10.1473986994,0.0038227104
+2002-06-30,10.3572634514,12.2028057553,10.1538994030,0.0062637218
+2002-09-30,10.3619695171,12.1736713334,10.1529675100,0.0180643970
+2002-12-31,10.3652511448,12.1924652862,10.1548863263,0.0157139517
+2003-03-31,10.3678807807,12.1878617254,10.1532120574,0.0206878097
+2003-06-30,10.3768191043,12.2269418552,10.1665327464,0.0104405888
+2003-09-30,10.3888946957,12.2390153186,10.1807616983,0.0084875978
+2003-12-31,10.3932723719,12.2717679603,10.1814714338,0.0051602424
+2004-03-31,10.4001863204,12.3068564519,10.1822978565,0.0037667278
+2004-06-30,10.4042039210,12.3153599061,10.1918718835,-0.0017376250
+2004-09-30,10.4127167527,12.3320041034,10.1994965328,-0.0029590234
+2004-12-31,10.4210525006,12.3636251171,10.1986474528,-0.0008330703
+2005-03-31,10.4247377332,12.3698723473,10.1951933914,0.0042577690
+2005-06-30,10.4338805383,12.3889491069,10.1992687461,0.0059794180
+2005-09-30,10.4409993159,12.4034891262,10.2003730888,0.0090454383
+2005-12-31,10.4414567948,12.4177722431,10.2010257863,0.0058679199
+2006-03-31,10.4503768770,12.4388811489,10.2157449450,-0.0016019952
+2006-06-30,10.4531742190,12.4311684471,10.2114020164,0.0063547117
+2006-09-30,10.4566432454,12.4369823268,10.2119562845,0.0081129576
+2006-12-31,10.4637146178,12.4583778972,10.2248830965,0.0001676025
+2007-03-31,10.4670936895,12.4604859429,10.2375887637,-0.0070903288
+2007-06-30,10.4667023453,12.4599179550,10.2312116154,-0.0022495972
+2007-09-30,10.4697304080,12.4595530433,10.2304004076,0.0015077819
+2007-12-31,10.4700299692,12.4367304860,10.2312729360,0.0060812497
+2008-03-31,10.4651994540,12.3943162486,10.2320831530,0.0098434074
+2008-06-30,10.4646106682,12.3624172219,10.2607488318,-0.0067570640
+2008-09-30,10.4546535064,12.3151089236,10.2287698275,0.0192101188
+2008-12-31,10.4429648246,12.2768244807,10.2396053343,0.0071836608
+2009-03-31,10.4386948203,12.2574138517,10.2420003449,0.0052245734
+2009-06-30,10.4325647547,12.2638723926,10.2606347230,-0.0172395316
+2009-09-30,10.4371470970,12.2801760846,10.2490778517,-0.0069521652
+2009-12-31,10.4333512760,12.2756000740,10.2463287504,-0.0075487891
+2010-03-31,10.4362726138,12.2852609138,10.2468334104,-0.0071367124
+2010-06-30,10.4423950455,12.2748323321,10.2590493795,-0.0085273990
+2010-09-30,10.4474183176,12.3036071429,10.2632335745,-0.0131255868
+2010-12-31,10.4520356709,12.3215523145,10.2616862065,-0.0111788314
+2011-03-31,10.4546758300,12.3256015515,10.2671838420,-0.0138247610
+2011-06-30,10.4552483699,12.3232153585,10.2587416330,-0.0059697897
+2011-09-30,10.4572011695,12.2898850324,10.2576121785,0.0041501232
+2011-12-31,10.4571330391,12.3052411336,10.2498579743,0.0069474207
+2012-03-31,10.4635422235,12.3254415837,10.2614622406,-0.0003403114
+2012-06-30,10.4634174603,12.3227310984,10.2640749087,-0.0019673215
+2012-09-30,10.4631418245,12.3471558299,10.2614522015,-0.0054640097
+2012-12-31,10.4657075563,12.3526879483,10.2747440517,-0.0147509086
+2013-03-31,10.4694468474,12.3840164651,10.2474087941,0.0040586637
+2013-06-30,10.4686594686,12.3991957309,10.2526669635,-0.0042481174
+2013-09-30,10.4707865329,12.4276545051,10.2522849075,-0.0080159264
+2013-12-31,10.4774167343,12.4504885662,10.2548281795,-0.0083983124
+2014-03-31,10.4797213536,12.4607200659,10.2648323883,-0.0163367627
+2014-06-30,10.4889662202,12.4773241708,10.2700026195,-0.0148513167
+2014-09-30,10.4976628610,12.4795548206,10.2775335826,-0.0126732763
+2014-12-31,10.5077323342,12.4988555576,10.2909488130,-0.0175553251
+2015-03-31,10.5144298598,12.5220358412,10.3052299945,-0.0273482968
+2015-06-30,10.5207439161,12.5222551764,10.3096077089,-0.0245887322
+2015-09-30,10.5263838806,12.5072298631,10.3135707905,-0.0188494511
+2015-12-31,10.5289031023,12.5218042005,10.3185592672,-0.0235017900
+2016-03-31,10.5350734644,12.5289136410,10.3239742182,-0.0232180745
+2016-06-30,10.5406071218,12.5390022047,10.3219174855,-0.0182351113
+2016-09-30,10.5451004448,12.5569190709,10.3241352647,-0.0194222318
+2016-12-31,10.5495019780,12.5607555081,10.3280943873,-0.0190280181
+2017-03-31,10.5540585341,12.5757230599,10.3330303148,-0.0216866067
+2017-06-30,10.5585956108,12.5909784811,10.3378338358,-0.0243213368
+2017-09-30,10.5628289665,12.6069175649,10.3433703110,-0.0279958735
+2017-12-31,10.5726662125,12.6219794500,10.3476919040,-0.0249022235
+2018-03-31,10.5757309265,12.6208666443,10.3606036747,-0.0319378136
+2018-06-30,10.5843901948,12.6330737022,10.3643945647,-0.0289749884
+2018-09-30,10.5915083160,12.6478917201,10.3697120597,-0.0293450786
+2018-12-31,10.5937480336,12.6051619518,10.3727236858,-0.0202073417
+2019-03-31,10.5956038879,12.6508405395,10.3927603272,-0.0443544871
+2019-06-30,10.6056768569,12.6621897479,10.3938678190,-0.0376415487
+2019-09-30,10.6120343768,12.6625904488,10.4004691369,-0.0366592218
diff --git a/log/R-session-info.log.R b/log/R-session-info.log.R
@@ -3,128 +3,150 @@
# -----
# Session info for import_predictors
+─ Session info ───────────────────────────────────────────────────────────────
setting value
- version R version 3.5.1 (2018-07-02)
+ version R version 3.6.2 (2019-12-12)
+ os macOS Mojave 10.14.6
system x86_64, darwin15.6.0
ui X11
language (EN)
collate en_US.UTF-8
- tz Europe/Paris
- date 2019-08-27
+ ctype en_US.UTF-8
+ tz America/New_York
+ date 2020-03-23
- 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-07-10 Github (gaborcsardi/crayon@84be620)
- data.table * 1.12.3 2019-07-02 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.3.9000 2019-07-05 Github (tidyverse/dplyr@b1b79b9)
- forcats 0.3.0 2018-02-19 CRAN (R 3.5.1)
- ggplot2 3.2.0.9000 2019-07-10 Github (tidyverse/ggplot2@125cc5f)
- 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.2.9000 2019-07-10 Github (r-lib/pillar@a6aa768)
- pkgconfig 2.0.2 2019-07-10 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-07-10 Github (RcppCore/Rcpp@d04eae8)
- RcppRoll * 0.3.0 2018-06-05 CRAN (R 3.5.1)
- rlang 0.4.0.9000 2019-07-10 Github (r-lib/rlang@a3d7e47)
- scales 1.0.0.9000 2019-07-10 Github (r-lib/scales@7f6f4a5)
- 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.3.9000 2019-07-10 Github (tidyverse/tibble@f0d0106)
- tidyr 0.8.3.9000 2019-05-19 Github (tidyverse/tidyr@b6ec78b)
- tidyselect 0.2.5.9000 2019-07-05 Github (tidyverse/tidyselect@013a51a)
- tools 3.5.1 2018-08-05 local
- utils * 3.5.1 2018-08-05 local
- vctrs 0.2.0.9000 2019-07-10 Github (r-lib/vctrs@9c5b2cc)
- withr 2.1.2 2018-03-15 CRAN (R 3.5.1)
- zeallot 0.1.0 2018-01-28 CRAN (R 3.5.1)
+─ Packages ───────────────────────────────────────────────────────────────────
+ package * version date lib source
+ alfred * 0.1.7 2019-04-01 [1] CRAN (R 3.6.0)
+ assertthat 0.2.1 2019-03-21 [1] CRAN (R 3.6.0)
+ backports 1.1.5 2019-10-02 [1] CRAN (R 3.6.0)
+ callr 3.4.2 2020-02-12 [1] CRAN (R 3.6.0)
+ cli 2.0.2 2020-02-28 [1] CRAN (R 3.6.0)
+ colorspace 1.4-1 2019-03-18 [1] CRAN (R 3.6.0)
+ crayon * 1.3.4 2017-09-16 [1] CRAN (R 3.6.0)
+ data.table * 1.12.9 2020-02-25 [1] local
+ desc 1.2.0 2018-05-01 [1] CRAN (R 3.6.0)
+ devtools * 2.2.1 2019-09-24 [1] CRAN (R 3.6.0)
+ digest 0.6.25 2020-02-23 [1] CRAN (R 3.6.0)
+ dplyr * 0.8.4 2020-01-31 [1] CRAN (R 3.6.0)
+ ellipsis 0.3.0 2019-09-20 [1] CRAN (R 3.6.0)
+ fansi 0.4.1 2020-01-08 [1] CRAN (R 3.6.2)
+ forcats 0.4.0 2019-02-17 [1] CRAN (R 3.6.0)
+ fs 1.3.1 2019-05-06 [1] CRAN (R 3.6.0)
+ ggplot2 3.3.0 2020-03-05 [1] CRAN (R 3.6.0)
+ glue 1.3.1 2019-03-12 [1] CRAN (R 3.6.0)
+ gtable 0.3.0 2019-03-25 [1] CRAN (R 3.6.0)
+ haven * 2.2.0 2019-11-08 [1] CRAN (R 3.6.0)
+ hms 0.5.3 2020-01-08 [1] CRAN (R 3.6.2)
+ jsonlite 1.6.1 2020-02-02 [1] CRAN (R 3.6.0)
+ lazyeval 0.2.2 2019-03-15 [1] CRAN (R 3.6.0)
+ lifecycle 0.2.0.9000 2020-03-11 [1] Github (r-lib/lifecycle@5ca22bb)
+ lubridate * 1.7.4 2018-04-11 [1] CRAN (R 3.6.0)
+ magrittr 1.5 2014-11-22 [1] CRAN (R 3.6.0)
+ matrixStats 0.55.0 2019-09-07 [1] CRAN (R 3.6.0)
+ memoise 1.1.0 2017-04-21 [1] CRAN (R 3.6.0)
+ munsell 0.5.0 2018-06-12 [1] CRAN (R 3.6.0)
+ pillar 1.4.3 2019-12-20 [1] CRAN (R 3.6.0)
+ pkgbuild 1.0.6 2019-10-09 [1] CRAN (R 3.6.0)
+ pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 3.6.0)
+ pkgload 1.0.2 2018-10-29 [1] CRAN (R 3.6.0)
+ prettyunits 1.1.1 2020-01-24 [1] CRAN (R 3.6.0)
+ processx 3.4.2 2020-02-09 [1] CRAN (R 3.6.0)
+ ps 1.3.2 2020-02-13 [1] CRAN (R 3.6.0)
+ purrr 0.3.3 2019-10-18 [1] CRAN (R 3.6.0)
+ R6 2.4.1 2019-11-12 [1] CRAN (R 3.6.0)
+ Rcpp 1.0.3 2019-11-08 [1] CRAN (R 3.6.0)
+ RcppRoll * 0.3.0 2018-06-05 [1] CRAN (R 3.6.0)
+ remotes 2.1.0 2019-06-24 [1] CRAN (R 3.6.0)
+ rlang 0.4.5 2020-03-01 [1] CRAN (R 3.6.0)
+ rprojroot 1.3-2 2018-01-03 [1] CRAN (R 3.6.0)
+ scales 1.1.0 2019-11-18 [1] CRAN (R 3.6.0)
+ sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 3.6.0)
+ statar * 0.7.1 2019-07-05 [1] CRAN (R 3.6.0)
+ stringi 1.4.6 2020-02-17 [1] CRAN (R 3.6.0)
+ stringr * 1.4.0 2019-02-10 [1] CRAN (R 3.6.0)
+ testthat 2.3.2 2020-03-02 [1] CRAN (R 3.6.0)
+ tibble 2.1.3 2019-06-06 [1] CRAN (R 3.6.0)
+ tidyr 1.0.0 2019-09-11 [1] CRAN (R 3.6.0)
+ tidyselect 1.0.0 2020-01-27 [1] CRAN (R 3.6.0)
+ usethis * 1.5.1 2019-07-04 [1] CRAN (R 3.6.0)
+ vctrs 0.2.4 2020-03-10 [1] CRAN (R 3.6.2)
+ withr 2.1.2 2018-03-15 [1] CRAN (R 3.6.0)
+
+[1] /Library/Frameworks/R.framework/Versions/3.6/Resources/library
# -----
# Session info for rp_measure.csv
+─ Session info ───────────────────────────────────────────────────────────────
setting value
- version R version 3.5.1 (2018-07-02)
+ version R version 3.6.2 (2019-12-12)
+ os macOS Mojave 10.14.6
system x86_64, darwin15.6.0
ui X11
language (EN)
collate en_US.UTF-8
- tz Europe/Paris
- date 2019-08-27
+ ctype en_US.UTF-8
+ tz America/New_York
+ date 2020-03-23
+
+─ Packages ───────────────────────────────────────────────────────────────────
+ package * version date lib source
+ assertthat 0.2.1 2019-03-21 [1] CRAN (R 3.6.0)
+ backports 1.1.5 2019-10-02 [1] CRAN (R 3.6.0)
+ callr 3.4.2 2020-02-12 [1] CRAN (R 3.6.0)
+ cli 2.0.2 2020-02-28 [1] CRAN (R 3.6.0)
+ colorspace 1.4-1 2019-03-18 [1] CRAN (R 3.6.0)
+ crayon * 1.3.4 2017-09-16 [1] CRAN (R 3.6.0)
+ data.table * 1.12.9 2020-02-25 [1] local
+ desc 1.2.0 2018-05-01 [1] CRAN (R 3.6.0)
+ devtools * 2.2.1 2019-09-24 [1] CRAN (R 3.6.0)
+ digest 0.6.25 2020-02-23 [1] CRAN (R 3.6.0)
+ dplyr 0.8.4 2020-01-31 [1] CRAN (R 3.6.0)
+ ellipsis 0.3.0 2019-09-20 [1] CRAN (R 3.6.0)
+ fansi 0.4.1 2020-01-08 [1] CRAN (R 3.6.2)
+ fs 1.3.1 2019-05-06 [1] CRAN (R 3.6.0)
+ ggplot2 * 3.3.0 2020-03-05 [1] CRAN (R 3.6.0)
+ glue 1.3.1 2019-03-12 [1] CRAN (R 3.6.0)
+ gtable 0.3.0 2019-03-25 [1] CRAN (R 3.6.0)
+ lattice 0.20-38 2018-11-04 [1] CRAN (R 3.6.2)
+ lazyeval 0.2.2 2019-03-15 [1] CRAN (R 3.6.0)
+ lifecycle 0.2.0.9000 2020-03-11 [1] Github (r-lib/lifecycle@5ca22bb)
+ lmtest * 0.9-37 2019-04-30 [1] CRAN (R 3.6.0)
+ lubridate * 1.7.4 2018-04-11 [1] CRAN (R 3.6.0)
+ magrittr 1.5 2014-11-22 [1] CRAN (R 3.6.0)
+ matrixStats 0.55.0 2019-09-07 [1] CRAN (R 3.6.0)
+ memoise 1.1.0 2017-04-21 [1] CRAN (R 3.6.0)
+ munsell 0.5.0 2018-06-12 [1] CRAN (R 3.6.0)
+ pillar 1.4.3 2019-12-20 [1] CRAN (R 3.6.0)
+ pkgbuild 1.0.6 2019-10-09 [1] CRAN (R 3.6.0)
+ pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 3.6.0)
+ pkgload 1.0.2 2018-10-29 [1] CRAN (R 3.6.0)
+ prettyunits 1.1.1 2020-01-24 [1] CRAN (R 3.6.0)
+ processx 3.4.2 2020-02-09 [1] CRAN (R 3.6.0)
+ ps 1.3.2 2020-02-13 [1] CRAN (R 3.6.0)
+ purrr 0.3.3 2019-10-18 [1] CRAN (R 3.6.0)
+ R6 2.4.1 2019-11-12 [1] CRAN (R 3.6.0)
+ Rcpp 1.0.3 2019-11-08 [1] CRAN (R 3.6.0)
+ remotes 2.1.0 2019-06-24 [1] CRAN (R 3.6.0)
+ rlang 0.4.5 2020-03-01 [1] CRAN (R 3.6.0)
+ rprojroot 1.3-2 2018-01-03 [1] CRAN (R 3.6.0)
+ sandwich * 2.5-1 2019-04-06 [1] CRAN (R 3.6.0)
+ scales 1.1.0 2019-11-18 [1] CRAN (R 3.6.0)
+ sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 3.6.0)
+ stargazer * 5.2.2 2018-05-30 [1] CRAN (R 3.6.0)
+ statar * 0.7.1 2019-07-05 [1] CRAN (R 3.6.0)
+ stringi 1.4.6 2020-02-17 [1] CRAN (R 3.6.0)
+ stringr * 1.4.0 2019-02-10 [1] CRAN (R 3.6.0)
+ testthat 2.3.2 2020-03-02 [1] CRAN (R 3.6.0)
+ tibble 2.1.3 2019-06-06 [1] CRAN (R 3.6.0)
+ tidyr 1.0.0 2019-09-11 [1] CRAN (R 3.6.0)
+ tidyselect 1.0.0 2020-01-27 [1] CRAN (R 3.6.0)
+ usethis * 1.5.1 2019-07-04 [1] CRAN (R 3.6.0)
+ vctrs 0.2.4 2020-03-10 [1] CRAN (R 3.6.2)
+ wesanderson * 0.3.6 2018-04-20 [1] CRAN (R 3.6.0)
+ withr 2.1.2 2018-03-15 [1] CRAN (R 3.6.0)
+ zoo * 1.8-7 2020-01-10 [1] CRAN (R 3.6.0)
- 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-07-10 Github (gaborcsardi/crayon@84be620)
- data.table * 1.12.3 2019-07-02 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.3.9000 2019-07-05 Github (tidyverse/dplyr@b1b79b9)
- ggplot2 * 3.2.0.9000 2019-07-10 Github (tidyverse/ggplot2@125cc5f)
- 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.2.9000 2019-07-10 Github (r-lib/pillar@a6aa768)
- pkgconfig 2.0.2 2019-07-10 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-07-10 Github (RcppCore/Rcpp@d04eae8)
- rlang 0.4.0.9000 2019-07-10 Github (r-lib/rlang@a3d7e47)
- sandwich * 2.4-0 2017-07-26 CRAN (R 3.5.1)
- scales 1.0.0.9000 2019-07-10 Github (r-lib/scales@7f6f4a5)
- 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.3.9000 2019-07-10 Github (tidyverse/tibble@f0d0106)
- tidyr 0.8.3.9000 2019-05-19 Github (tidyverse/tidyr@b6ec78b)
- tidyselect 0.2.5.9000 2019-07-05 Github (tidyverse/tidyselect@013a51a)
- tools 3.5.1 2018-08-05 local
- utils * 3.5.1 2018-08-05 local
- vctrs 0.2.0.9000 2019-07-10 Github (r-lib/vctrs@9c5b2cc)
- wesanderson * 0.3.6 2018-04-20 CRAN (R 3.5.1)
- 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)
+[1] /Library/Frameworks/R.framework/Versions/3.6/Resources/library
diff --git a/log/import_predictors.log.R b/log/import_predictors.log.R
@@ -1,6 +1,6 @@
-R version 3.5.1 (2018-07-02) -- "Feather Spray"
-Copyright (C) 2018 The R Foundation for Statistical Computing
+R version 3.6.2 (2019-12-12) -- "Dark and Stormy Night"
+Copyright (C) 2019 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.
@@ -48,18 +48,33 @@ Type 'q()' to quit R.
Log file for code executed at
> message(format(Sys.time(), "%a %b %d %X %Y"))
-Tue Aug 27 21:49:24 2019
+Mon Mar 23 08:59:59 2020
> ##################################################################################
>
>
> ##################################################################################
> # APPEND REQUIRED PACKAGES
-> library(crayon)
-> library(devtools)
>
-> library(alfred)
-> library(haven)
-> library(dplyr)
+> # See this https://stackoverflow.com/questions/4090169/elegant-way-to-check-for-missing-packages-and-install-them
+> using<-function(...) {
++ libs<-unlist(list(...))
++ req<-unlist(lapply(libs,require,character.only=TRUE))
++ need<-libs[req==FALSE]
++ if(length(need)>0){
++ install.packages(need)
++ lapply(need,require,character.only=TRUE)
++ }
++ }
+>
+> package_to_load <- c("crayon", "devtools", "alfred", "haven", "dplyr",
++ "stringr", "lubridate", "RcppRoll", "statar", "data.table")
+> using(package_to_load)
+Loading required package: crayon
+Loading required package: devtools
+Loading required package: usethis
+Loading required package: alfred
+Loading required package: haven
+Loading required package: dplyr
Attaching package: ‘dplyr’
@@ -71,8 +86,8 @@ The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
-> library(stringr)
-> library(lubridate)
+Loading required package: stringr
+Loading required package: lubridate
Attaching package: ‘lubridate’
@@ -80,9 +95,9 @@ The following object is masked from ‘package:base’:
date
-> library(RcppRoll)
-> library(statar)
-> library(data.table)
+Loading required package: RcppRoll
+Loading required package: statar
+Loading required package: data.table
Attaching package: ‘data.table’
@@ -93,46 +108,57 @@ The following objects are masked from ‘package:lubridate’:
The following objects are masked from ‘package:dplyr’:
- between, coalesce, first, last
+ 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 <- get_fred_series("TB3MS", "rf", observation_start = "1950-01-01", observation_end = "2020-12-31") %>% data.table
> dt_tbill <- dt_tbill[, .(dateym=year(date)*100+month(date), rf=rf/100)]
+> dt_tbill[]
+ dateym rf
+ 1: 195001 0.0107
+ 2: 195002 0.0112
+ 3: 195003 0.0112
+ 4: 195004 0.0115
+ 5: 195005 0.0116
+ ---
+838: 201910 0.0165
+839: 201911 0.0154
+840: 201912 0.0154
+841: 202001 0.0152
+842: 202002 0.0152
> # fwrite(dt_tbill, "./input/tbill.csv")
> ##################################################################################
>
>
> ##################################################################################
> # 2. CAY
-> dt_cay <- fread("./input/cay_current.csv", skip=1, header=T)
-> dt_cay <- dt_cay[, .(date_y=as.integer(str_sub(date, 1, 4)),
-+ quarter=as.integer(str_sub(date, 5, 6)), cay=cay) ]
-> dt_cay <- dt_cay[, .(dateym=date_y*100+quarter*3, cay) ]
-> dt_cay
+> dt_cay <- fread("./input/cay_current.csv", skip=0, header=T)
+> setnames(dt_cay, c("date", "c", "w", "y", "cay"))
+> dt_cay <- dt_cay[, .(date_y=year(date), month = month(date), cay) ]
+> dt_cay <- dt_cay[, .(dateym=date_y*100+month, cay) ]
+> dt_cay[]
dateym cay
- 1: 195203 0.01646544
- 2: 195206 0.02551783
- 3: 195209 0.01633620
- 4: 195212 0.02542006
- 5: 195303 0.02543387
+ 1: 195203 0.01510493
+ 2: 195206 0.02483727
+ 3: 195209 0.01484008
+ 4: 195212 0.02216598
+ 5: 195303 0.02152118
---
-259: 201609 -0.02916950
-260: 201612 -0.02042846
-261: 201703 -0.02529660
-262: 201706 -0.02655350
-263: 201709 -0.02760623
+267: 201809 -0.02934508
+268: 201812 -0.02020734
+269: 201903 -0.04435449
+270: 201906 -0.03764155
+271: 201909 -0.03665922
> ##################################################################################
>
>
@@ -161,11 +187,11 @@ Packages ----------------------------------------------------------------------
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
+1125: 201908 0.02129861
+1126: 201909 0.02150184
+1127: 201910 0.02149657
+1128: 201911 0.02113526
+1129: 201912 0.02085788
> ##################################################################################
>
>
@@ -185,18 +211,18 @@ Packages ----------------------------------------------------------------------
>
> 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
+ dateym rmrf_y3
+ 1: 195001 0.1916460
+ 2: 195002 0.1844133
+ 3: 195003 0.1738962
+ 4: 195004 0.1472840
+ 5: 195005 0.1328846
+ ---
+800: 201608 0.0992516
+801: 201609 0.1035328
+802: 201610 0.1184933
+803: 201611 0.1160087
+804: 201612 0.1191020
> ##################################################################################
>
>
@@ -209,17 +235,17 @@ Packages ----------------------------------------------------------------------
> dt_predict <- dt_predict[ !is.na(cay) ]
> dt_predict[]
dateym dp rf rmrf_y3 cay
- 1: 195203 0.05817138 0.0159 0.18092953 0.01646544
- 2: 195206 0.05739649 0.0170 0.21642173 0.02551783
- 3: 195209 0.05709103 0.0171 0.23193277 0.01633620
- 4: 195212 0.05522191 0.0209 0.22202729 0.02542006
- 5: 195303 0.05455042 0.0201 0.26058722 0.02543387
+ 1: 195203 0.05817138 0.0159 0.18092953 0.01510493
+ 2: 195206 0.05739649 0.0170 0.21642173 0.02483727
+ 3: 195209 0.05709103 0.0171 0.23193277 0.01484008
+ 4: 195212 0.05522191 0.0209 0.22202729 0.02216598
+ 5: 195303 0.05455042 0.0201 0.26058722 0.02152118
---
-252: 201412 0.02094913 0.0003 0.09787760 -0.02747550
-253: 201503 0.02111608 0.0003 0.08734601 -0.03462231
-254: 201506 0.02111542 0.0002 0.09928718 -0.03462943
-255: 201509 0.02153820 0.0002 0.15268617 -0.02656083
-256: 201512 0.02191271 0.0023 0.07465740 -0.03519129
+256: 201512 0.02191273 0.0023 0.07466284 -0.02350179
+257: 201603 0.02265601 0.0029 0.11699368 -0.02321807
+258: 201606 0.02307582 0.0027 0.11884748 -0.01823511
+259: 201609 0.02297658 0.0029 0.10353283 -0.01942223
+260: 201612 0.02284611 0.0051 0.11910203 -0.01902802
>
> fwrite(dt_predict, "./tmp/predict.csv")
> ##################################################################################
@@ -240,4 +266,4 @@ Packages ----------------------------------------------------------------------
>
> proc.time()
user system elapsed
- 1.400 0.153 2.169
+ 2.462 0.335 4.291
diff --git a/log/rp_measure.log.R b/log/rp_measure.log.R
@@ -1,6 +1,6 @@
-R version 3.5.1 (2018-07-02) -- "Feather Spray"
-Copyright (C) 2018 The R Foundation for Statistical Computing
+R version 3.6.2 (2019-12-12) -- "Dark and Stormy Night"
+Copyright (C) 2019 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.
@@ -36,16 +36,33 @@ Type 'q()' to quit R.
Log file for code executed at
> message(format(Sys.time(), "%a %b %d %X %Y"))
-Tue Aug 27 21:49:26 2019
+Mon Mar 23 09:00:04 2020
> ##################################################################################
>
>
> ##################################################################################
> # APPEND REQUIRED PACKAGES
-> library(crayon)
-> library(devtools)
-> library(wesanderson)
-> library(ggplot2)
+>
+> # See this https://stackoverflow.com/questions/4090169/elegant-way-to-check-for-missing-packages-and-install-them
+> using<-function(...) {
++ libs<-unlist(list(...))
++ req<-unlist(lapply(libs,require,character.only=TRUE))
++ need<-libs[req==FALSE]
++ if(length(need)>0){
++ install.packages(need)
++ lapply(need,require,character.only=TRUE)
++ }
++ }
+>
+> package_to_load <- c("crayon", "devtools", "wesanderson", "ggplot2", "statar",
++ "stringr", "lubridate", "lmtest", "sandwich", "stargazer", "data.table")
+>
+> using(package_to_load)
+Loading required package: crayon
+Loading required package: devtools
+Loading required package: usethis
+Loading required package: wesanderson
+Loading required package: ggplot2
Attaching package: ‘ggplot2’
@@ -53,9 +70,9 @@ The following object is masked from ‘package:crayon’:
%+%
-> library(statar)
-> library(stringr)
-> library(lubridate)
+Loading required package: statar
+Loading required package: stringr
+Loading required package: lubridate
Attaching package: ‘lubridate’
@@ -63,16 +80,7 @@ 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: lmtest
Loading required package: zoo
Attaching package: ‘zoo’
@@ -88,21 +96,29 @@ The following object is masked from ‘package:crayon’:
reset
-> library(sandwich)
-> library(stargazer)
+Loading required package: sandwich
+Loading required package: 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
+Loading required package: 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
+
+>
>
> 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()
> ##################################################################################
>
@@ -129,24 +145,24 @@ Packages ----------------------------------------------------------------------
test test
(1) (2) (3) (4)
-------------------------------------------------------------------------------------------
-dp 2.976*** 2.976*** 2.833*** 2.833***
- (0.415) (1.016) (0.419) (1.081)
+dp 3.633*** 3.633*** 3.411*** 3.411***
+ (0.441) (1.075) (0.437) (1.133)
-cay 2.561*** 2.561*** 2.270*** 2.270***
- (0.242) (0.548) (0.233) (0.565)
+cay 2.156*** 2.156*** 1.873*** 1.873***
+ (0.261) (0.605) (0.250) (0.629)
-rf -0.861*** -0.861** -1.152*** -1.152***
- (0.166) (0.346) (0.156) (0.378)
+rf -0.938*** -0.938** -1.229*** -1.229***
+ (0.177) (0.364) (0.163) (0.381)
-Constant -0.001 -0.001 0.024* 0.024
- (0.014) (0.034) (0.013) (0.036)
+Constant -0.019 -0.019 0.008 0.008
+ (0.015) (0.037) (0.014) (0.037)
-------------------------------------------------------------------------------------------
-Observations 236 256
-R2 0.463 0.423
-Adjusted R2 0.456 0.416
-Residual Std. Error 0.069 (df = 232) 0.070 (df = 252)
-F Statistic 66.603*** (df = 3; 232) 61.652*** (df = 3; 252)
+Observations 236 260
+R2 0.384 0.351
+Adjusted R2 0.376 0.343
+Residual Std. Error 0.074 (df = 232) 0.074 (df = 256)
+F Statistic 48.180*** (df = 3; 232) 46.061*** (df = 3; 256)
===========================================================================================
Note: *p<0.1; **p<0.05; ***p<0.01
>
@@ -159,21 +175,21 @@ Note: *p<0.1; **p<0.05
===========================================================
Future Excess Returns
-----------------------------------------------------------
-D/P ratio 2.833***
- (0.419)
+D/P ratio 3.411***
+ (0.437)
-cay 2.270***
- (0.233)
+cay 1.873***
+ (0.250)
-T-bill (three-month) -1.152***
- (0.156)
+T-bill (three-month) -1.229***
+ (0.163)
-Constant 0.024*
- (0.013)
+Constant 0.008
+ (0.014)
-Observations 256
-R2 0.423
-F Statistic 61.652*** (df = 3; 252)
+Observations 260
+R2 0.351
+F Statistic 46.061*** (df = 3; 256)
-----------------------------------------------------------
Notes: ***Significant at the 1 percent level.
**Significant at the 5 percent level.
@@ -199,18 +215,18 @@ Notes: ***Significant at the 1 percent level.
+ date=as.Date(ISOdate(str_sub(dateym,1, 4), as.integer(str_sub(dateym, 5, 6)), 1)),
+ dp, cay, rf, rmrf_y3, exp_rmrf)]
> dt_plot[]
- date dp cay rf rmrf_y3 exp_rmrf
- 1: 1952-03-01 0.05817138 0.01646544 0.0159 0.18092953 0.207727996
- 2: 1952-06-01 0.05739649 0.02551783 0.0170 0.21642173 0.224814274
- 3: 1952-09-01 0.05709103 0.01633620 0.0171 0.23193277 0.202990900
- 4: 1952-12-01 0.05522191 0.02542006 0.0209 0.22202729 0.213936934
- 5: 1953-03-01 0.05455042 0.02543387 0.0201 0.26058722 0.212987813
- ---
-252: 2014-12-01 0.02094913 -0.02747550 0.0003 0.09787760 0.020501440
-253: 2015-03-01 0.02111608 -0.03462231 0.0003 0.08734601 0.004750878
-254: 2015-06-01 0.02111542 -0.03462943 0.0002 0.09928718 0.004848069
-255: 2015-09-01 0.02153820 -0.02656083 0.0002 0.15268617 0.024361936
-256: 2015-12-01 0.02191271 -0.03519129 0.0023 0.07465740 0.003411385
+ date dp cay rf rmrf_y3 exp_rmrf
+ 1: 1952-03-01 0.05817138 0.01510493 0.0159 0.18092953 0.21561991
+ 2: 1952-06-01 0.05739649 0.02483727 0.0170 0.21642173 0.22985471
+ 3: 1952-09-01 0.05709103 0.01484008 0.0171 0.23193277 0.20996430
+ 4: 1952-12-01 0.05522191 0.02216598 0.0209 0.22202729 0.21264141
+ 5: 1953-03-01 0.05455042 0.02152118 0.0201 0.26058722 0.21012652
+ ---
+256: 2015-12-01 0.02191273 -0.02350179 0.0023 0.07466284 0.03635076
+257: 2016-03-01 0.02265601 -0.02321807 0.0029 0.11699368 0.03867995
+258: 2016-06-01 0.02307582 -0.01823511 0.0027 0.11884748 0.04969115
+259: 2016-09-01 0.02297658 -0.01942223 0.0029 0.10353283 0.04688330
+260: 2016-12-01 0.02284611 -0.01902802 0.0051 0.11910203 0.04447305
>
>
> p0 <- dt_plot[, .(date, dp, cay, rf, rmrf_y3) ] %>%
@@ -240,4 +256,4 @@ Notes: ***Significant at the 1 percent level.
>
> proc.time()
user system elapsed
- 2.563 0.196 2.694
+ 3.096 0.328 4.087
diff --git a/output/msi.csv b/output/msi.csv
@@ -142,7 +142,7 @@ date,vwretd,vwretx
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-11-30,-0.08305319,-0.09519979
1937-12-31,-0.04077352,-0.05000376
1938-01-31,0.00677615,0.005110966
1938-02-28,0.05801302,0.053921
@@ -440,8 +440,8 @@ date,vwretd,vwretx
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-09-28,-0.05015823,-0.05178678
+1962-10-31,0.002187336,0.0004307727
1962-11-30,0.1101368,0.1029244
1962-12-31,0.01186474,0.01005597
1963-01-31,0.05184811,0.05047498
@@ -598,7 +598,7 @@ date,vwretd,vwretx
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-11-28,0.03122155,0.02580128
1975-12-31,-0.01099778,-0.01367704
1976-01-30,0.1260121,0.1243717
1976-02-27,0.007309568,0.002080979
@@ -608,10 +608,10 @@ date,vwretd,vwretx
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
+1976-09-30,0.02451245,0.02238531
+1976-10-29,-0.02037328,-0.02225022
+1976-11-30,0.005360569,-0.001441288
+1976-12-31,0.06159295,0.05930213
1977-01-31,-0.03632781,-0.03799669
1977-02-28,-0.01574357,-0.02176887
1977-03-31,-0.009248926,-0.01179684
@@ -876,21 +876,21 @@ date,vwretd,vwretx
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-01-29,0.03845618,0.03765746
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-04-30,0.04910428,0.04828288
+1999-05-28,-0.02071776,-0.02239156
+1999-06-30,0.05082913,0.04973078
+1999-07-30,-0.0308426,-0.03171954
+1999-08-31,-0.009931256,-0.01108918
+1999-09-30,-0.02269279,-0.02389618
+1999-10-29,0.06209515,0.06130581
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-01-31,-0.03962428,-0.04026527
+2000-02-29,0.03177836,0.03067524
+2000-03-31,0.05350066,0.05251684
2000-04-28,-0.05952697,-0.06031731
2000-05-31,-0.03886961,-0.04002852
2000-06-30,0.05160347,0.05080572
@@ -901,8 +901,8 @@ date,vwretd,vwretx
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-02-28,-0.09910221,-0.1002009
+2001-03-30,-0.07039171,-0.07134792
2001-04-30,0.08382919,0.08282384
2001-05-31,0.01045539,0.009069419
2001-06-29,-0.01755298,-0.01832802
@@ -979,7 +979,7 @@ date,vwretd,vwretx
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-08-31,0.01163043,0.009677426
2007-09-28,0.04084195,0.03932541
2007-10-31,0.0257964,0.02465501
2007-11-30,-0.04932737,-0.05127594
@@ -1006,32 +1006,32 @@ date,vwretd,vwretx
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-11-30,0.05711698,0.05466093
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
+2010-01-29,-0.03709752,-0.03811116
+2010-02-26,0.03478614,0.0326999
+2010-03-31,0.06362587,0.06194043
+2010-04-30,0.02006334,0.01895044
+2010-05-28,-0.07916308,-0.08125119
+2010-06-30,-0.05074472,-0.05248469
+2010-07-30,0.0703086,0.06861098
+2010-08-31,-0.04284408,-0.0449692
+2010-09-30,0.09154682,0.08966427
+2010-10-29,0.03851225,0.03699014
+2010-11-30,0.005124541,0.002924999
+2010-12-31,0.06720509,0.06487299
+2011-01-31,0.01913699,0.01818248
+2011-02-28,0.03817537,0.03624301
+2011-03-31,0.00335316,0.001767893
+2011-04-29,0.02866654,0.02755181
+2011-05-31,-0.01489987,-0.01690683
+2011-06-30,-0.01838777,-0.02015328
+2011-07-29,-0.02252415,-0.0236647
2011-08-31,-0.05749821,-0.05963816
-2011-09-30,-0.08486247,-0.08655386
+2011-09-30,-0.08486251,-0.08655389
2011-10-31,0.1140301,0.1126193
-2011-11-30,-0.006207173,-0.008874736
-2011-12-30,0.003696332,0.001449072
+2011-11-30,-0.006207199,-0.00887476
+2011-12-30,0.003696293,0.001449027
2012-01-31,0.05409463,0.05294651
2012-02-29,0.0412389,0.03896671
2012-03-30,0.02400399,0.02211977
@@ -1062,57 +1062,69 @@ date,vwretd,vwretx
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
+2014-07-31,-0.02053673,-0.02183222
+2014-08-29,0.04020714,0.03820417
+2014-09-30,-0.02513202,-0.02682608
+2014-10-31,0.02119622,0.01994754
+2014-11-28,0.02115908,0.01899419
+2014-12-31,-0.00362207,-0.005756255
+2015-01-30,-0.02720094,-0.02827297
+2015-02-27,0.05602062,0.0536833
+2015-03-31,-0.0104534,-0.01226958
+2015-04-30,0.008715708,0.007567438
+2015-05-29,0.01034533,0.008185912
+2015-06-30,-0.01926209,-0.02120353
+2015-07-31,0.01211286,0.01089958
+2015-08-31,-0.06004574,-0.06211127
+2015-09-30,-0.03376905,-0.03570407
+2015-10-30,0.07402217,0.07262651
+2015-11-30,0.002448751,0.0001828337
+2015-12-31,-0.02228775,-0.02452731
+2016-01-29,-0.05709377,-0.05826364
+2016-02-29,0.0006867422,-0.001734655
+2016-03-31,0.07051735,0.06814517
+2016-04-29,0.01181701,0.01058217
+2016-05-31,0.01431573,0.01190466
+2016-06-30,0.003110331,0.001036523
+2016-07-29,0.03877529,0.03752756
+2016-08-31,0.002788718,0.000452628
+2016-09-30,0.003016973,0.001240364
+2016-10-31,-0.0215942,-0.02283903
+2016-11-30,0.04049072,0.03804553
+2016-12-30,0.01879204,0.01665174
+2017-01-31,0.02219005,0.02116559
+2017-02-28,0.03266432,0.03056294
+2017-03-31,0.002092126,0.0002198085
+2017-04-28,0.009614883,0.008495795
+2017-05-31,0.009335273,0.006988821
+2017-06-30,0.009469612,0.007585972
+2017-07-31,0.02032932,0.01894494
+2017-08-31,0.001589232,-0.0006471617
+2017-09-29,0.0237333,0.022128
+2017-10-31,0.01928174,0.01817974
+2017-11-30,0.02730906,0.02498448
+2017-12-29,0.01217342,0.01031551
+2018-01-31,0.05065686,0.04970297
+2018-02-28,-0.03946393,-0.04133091
+2018-03-29,-0.01843439,-0.02030266
+2018-04-30,0.004768502,0.00365952
+2018-05-31,0.02616928,0.02387687
+2018-06-29,0.005334684,0.003549788
+2018-07-31,0.03160318,0.03046648
+2018-08-31,0.030221,0.02775495
+2018-09-28,0.0004459018,-0.001189103
+2018-10-31,-0.07403179,-0.07510044
+2018-11-30,0.01853506,0.01619786
+2018-12-31,-0.08980669,-0.09204302
+2019-01-31,0.08827558,0.08704846
+2019-02-28,0.0327163,0.0306601
+2019-03-29,0.01297843,0.01115481
+2019-04-30,0.03788197,0.03668779
+2019-05-31,-0.06165325,-0.06386927
+2019-06-28,0.0672706,0.06527309
+2019-07-31,0.01188153,0.01072767
+2019-08-30,-0.02027148,-0.02230148
+2019-09-30,0.0160241,0.01416183
+2019-10-31,0.01926505,0.01809398
+2019-11-29,0.03497103,0.03296148
+2019-12-31,0.0284477,0.02619957
diff --git a/output/predict.csv b/output/predict.csv
@@ -1,257 +1,261 @@
dateym,dp,rf,rmrf_y3,cay,exp_rmrf
-195203,0.0581713806310763,0.0159,0.180929532251361,0.016465442,0.207727996033382
-195206,0.0573964934479785,0.017,0.216421730627215,0.025517831,0.224814273510517
-195209,0.0570910257822821,0.0171,0.231932767702911,0.016336205,0.202990900431671
-195212,0.0552219085744655,0.0209,0.222027292168553,0.025420057,0.21393693420467
-195303,0.0545504244369111,0.0201,0.260587223971332,0.025433872,0.212987812669779
-195306,0.0545861415414667,0.0211,0.272693155990075,0.020293056,0.200266705100707
-195309,0.0555092571041784,0.0179,0.266241082611581,0.019145117,0.203963916441668
-195312,0.0569810782587777,0.016,0.253071367770915,0.015786553,0.202699332343955
-195403,0.056836429875606,0.0103,0.196594741462133,0.020888805,0.220440663737267
-195406,0.0551750186988201,0.0064,0.190919921278285,0.026069547,0.231988583179857
-195409,0.0525378890011501,0.0101,0.114099126177687,0.026467811,0.221157294138974
-195412,0.0491647188147988,0.0115,0.0445218517475148,0.026721624,0.210563348108774
-195503,0.0464351569511314,0.0128,0.0538608706994908,0.036556615,0.22365778131479
-195506,0.0442389561942873,0.0141,0.0452056086669617,0.029382724,0.199652403687449
-195509,0.042320637419308,0.0207,0.0776450308388892,0.021232813,0.168110862607569
-195512,0.0416058854413551,0.0254,0.0954965679309081,0.020523432,0.159059146767136
-195603,0.0410553744034771,0.0225,0.0761698431974343,0.007713701,0.131762837301258
-195606,0.0412049431061539,0.0249,0.100300323080917,0.001744495,0.115870416298633
-195609,0.0411739715028009,0.0284,0.102263922491475,0.001832813,0.111949676244946
-195612,0.0403092920407171,0.0321,0.107072354072605,-0.001335726,0.0980432183599684
-195703,0.041502794604927,0.0308,0.0911975128943467,0.00339647,0.113665039879671
-195706,0.0415334174101718,0.0329,0.0782252698539541,-0.003867536,0.0948421004932079
-195709,0.0424290805458711,0.0353,0.0975414279413929,0.00490717,0.114532807917532
-195712,0.0432942579316379,0.0304,0.154203787514524,0.007711104,0.128995914054636
-195803,0.0439815664307764,0.013,0.179254470012994,0.005998902,0.147108543128081
-195806,0.044497181630577,0.0083,0.146035719859805,0.005183657,0.152135105418994
-195809,0.0433934076521585,0.0244,0.115947757146269,-0.005604405,0.105964566830394
-195812,0.0395606643661946,0.0277,0.102202769836565,-0.008257894,0.0852792726360102
-195903,0.0365289954269653,0.028,0.0847294324818499,0.000662285,0.0965935481180015
-195906,0.0342102316842738,0.0321,-0.0203207371792191,-0.000131677,0.0834968657025724
-195909,0.0328837588962881,0.0404,0.00039426689841271,0.014178326,0.102657987194667
-195912,0.0327954311325093,0.0449,0.0210990293398392,0.007738833,0.0826039090200348
-196003,0.0332730977456775,0.0331,0.0680967522149993,0.005221836,0.0918421044267311
-196006,0.0339978681291371,0.0246,0.0711063949084174,0.011585551,0.118136994750685
-196009,0.0346393964085621,0.0248,0.103832381058482,0.009399733,0.114762158178117
-196012,0.0347618331131123,0.0225,0.0855638142660886,0.006348754,0.110833756217071
-196103,0.033682930604447,0.0239,0.0594052751881322,-0.005321467,0.0796717519760903
-196106,0.0323191356260007,0.0233,0.071037935148369,-0.006330947,0.0742077960959936
-196109,0.030886919891069,0.0228,0.0711031465229972,-0.014107274,0.0530737123214072
-196112,0.0295735387197417,0.026,0.0495104470604209,-0.013516911,0.0470050952452525
-196203,0.0292542603363362,0.0272,0.0692992845659701,-0.011333983,0.0496729646516795
-196206,0.0305677336064767,0.0273,0.150365583612118,0.004442257,0.0890917540101758
-196209,0.0320842468178985,0.0278,0.166720757193933,0.005495361,0.0952026552757794
-196212,0.034357085181072,0.0287,0.136873526246216,0.002257557,0.0932548266261249
-196303,0.0351003938894386,0.0289,0.105351263735985,-0.002865398,0.0835009204469971
-196306,0.0343828042385159,0.0299,0.0710119032971885,-0.004627073,0.0763163744276158
-196309,0.033121245655773,0.0338,0.0206366997388234,-0.002128803,0.0739189156238894
-196312,0.0323477713364893,0.0352,0.0266785788867785,-0.003280283,0.0675002399605308
-196403,0.031759291322847,0.0354,0.0526435900742601,-0.002650558,0.0670320024267444
-196406,0.0314773247785952,0.0348,0.0485501552073446,-0.009752038,0.0508039298658777
-196409,0.0313102650407029,0.0353,0.0619661255000819,-0.005761464,0.0588131898385105
-196412,0.0306132138641391,0.0384,0.0603395497649675,-0.014444917,0.0335540064788121
-196503,0.0304150800505866,0.0393,0.0228091536101451,-0.004525471,0.0544730587233135
-196506,0.0305318677485754,0.038,0.0774540378285802,0.000414293,0.0675155662432927
-196509,0.0305931101604307,0.0392,0.0613826975841563,-0.011596207,0.0390418080137689
-196512,0.0305599791908958,0.0438,0.0551766205336706,-0.006742255,0.0446654832975762
-196603,0.030783599975638,0.0459,0.048708194942642,0.00580688,0.071366034881783
-196606,0.0312674337996003,0.045,0.0458341035059451,-0.001231731,0.0577960372251608
-196609,0.032773524210845,0.0537,0.0657186525012383,0.002559774,0.060643835614009
-196612,0.0338890636539919,0.0496,0.0409349350184802,-0.010629308,0.0385894725083683
-196703,0.0344368333870317,0.0426,-0.0186109941464203,-0.024489963,0.0167440533956831
-196706,0.0340002271270961,0.0354,-0.105839218832583,-0.020558797,0.0327284393365381
-196709,0.0325214824995494,0.0442,-0.079047001112438,-0.027978763,0.00155395875290845
-196712,0.0307930472103615,0.0497,-0.0551099479018757,-0.034737055,-0.0250229118939824
-196803,0.0306503240878144,0.0517,0.0062696448580386,-0.024159319,-0.00372018996444398
-196806,0.0303116110092362,0.0552,-0.0372465022977169,-0.032152456,-0.0268580665895572
-196809,0.0300666169355094,0.0519,-0.0513566067503131,-0.019056095,0.00598013331887556
-196812,0.0292824485824744,0.0596,-0.0465129089685465,-0.0314476,-0.0332444500354112
-196903,0.0286007883374296,0.0602,-0.0107937706839798,-0.02064361,-0.0113416238521367
-196906,0.029034568812731,0.0644,0.0069519580011379,-0.019709664,-0.0128327313166554
-196909,0.0298679273692988,0.0709,0.0317501891176857,-0.029871379,-0.0410299789338302
-196912,0.0309257170688978,0.0782,0.05818930759085,-0.026299811,-0.0383381621951218
-197003,0.0320562287254379,0.0663,0.0401370039109226,-0.02606305,-0.0208839607309172
-197006,0.034113306096379,0.0668,0.0939516000505951,-0.024923509,-0.013045340466058
-197009,0.0354730616471907,0.0612,0.0601492482164803,-0.031320803,-0.0172615113116111
-197012,0.0360208688491167,0.0487,-0.0157125224959915,-0.03582528,-0.0115295675198953
-197103,0.035348123314701,0.0338,-0.0611257772726066,-0.04100823,-0.00802999114417641
-197106,0.0328778666086917,0.0475,-0.101254451195637,-0.046916453,-0.0442287282032726
-197109,0.0310893969776371,0.0469,-0.188125750820017,-0.043619693,-0.0411205008220184
-197112,0.0299986822036038,0.0401,-0.179412889579235,-0.040591807,-0.0295007612044223
-197203,0.029219856887389,0.0373,-0.136373174429339,-0.040636151,-0.0285811758684796
-197206,0.0286540748180313,0.0391,-0.0907075781177714,-0.033364191,-0.0157508181761327
-197209,0.0278743534004712,0.0466,-0.138941761091134,-0.031477741,-0.0223207353393198
-197212,0.02699699061614,0.0507,-0.138674410428226,-0.047133812,-0.0650713402882327
-197303,0.0268259739761796,0.0609,-0.0637272576536563,-0.034177498,-0.0478991657468782
-197306,0.0276052758957876,0.0719,-0.0251312210743393,-0.035712602,-0.0618526804736062
-197309,0.028390482997541,0.0829,-0.0446857717630251,-0.037736915,-0.076899990735583
-197312,0.0308172320831128,0.0745,0.0147579549515353,-0.036300172,-0.0570828115944468
-197403,0.0328202165665916,0.0796,0.00119638056991866,-0.029528202,-0.0419127275872259
-197406,0.0353977102785159,0.079,0.0612037473955862,-0.017242602,-0.00602997957389967
-197409,0.0407072394032137,0.0806,0.163665614755192,-0.00362426,0.0380831075882301
-197412,0.0452572062508835,0.0715,0.136837829400966,-0.017182557,0.0306829948465967
-197503,0.0478542021372892,0.0549,0.0419109094756205,-0.016113014,0.0595988134440498
-197506,0.047599118645957,0.0534,0.0204348793135738,-0.045009185,-0.00499081765327533
-197509,0.0453430844112398,0.0642,0.0989760622815075,-0.013775729,0.047072633296917
-197512,0.0420280669091112,0.0544,0.04484531267213,-0.0128038,0.0511807284659726
-197603,0.0401391807499351,0.05,0.0173208165885408,-0.010228867,0.0567450862294911
-197606,0.0400356356996448,0.0541,0.0196983444356877,-0.010633726,0.0508077473829504
-197609,0.0393666696289032,0.0508,0.0394218187846971,-0.006595377,0.0618826842461818
-197612,0.039817310842416,0.0435,0.0239626322262079,-0.000572058,0.0852453028597331
-197703,0.0412761952784178,0.046,0.0171040336151946,0.010392845,0.111388305574353
-197706,0.043012662308755,0.0502,0.046287114960432,0.004378317,0.0978145737272982
-197709,0.0445467299241047,0.0581,0.100273479858332,0.001528312,0.0865870554211208
-197712,0.046625262412592,0.0607,0.125419842581055,0.005165188,0.0977354341575684
-197803,0.0489830060815238,0.0629,0.139045184922963,0.00444079,0.100235548119543
-197806,0.0499091661873586,0.0673,0.0925869796487433,0.013631273,0.118651645466702
-197809,0.0498665955719646,0.0785,0.00249723751125863,0.006915016,0.0903777080877918
-197812,0.0508761294213427,0.0908,0.0506171332271967,0.006995976,0.0792468635200177
-197903,0.0507528225233245,0.0948,-0.0166563830087978,0.001784946,0.0624585599386938
-197906,0.0516518008766985,0.0906,-0.0379421015197754,0.004303872,0.0755637532219006
-197909,0.0522544159019993,0.1026,-0.0301909155379363,0.006291217,0.067953347784869
-197912,0.0517637769730003,0.1204,0.0329312983190684,0.005172593,0.0435108466240525
-198003,0.0515617031634157,0.152,0.103090629769648,0.005551196,0.00738123766953776
-198006,0.0511064018607083,0.0707,0.0988554350292474,-0.013591904,0.0563275627367211
-198009,0.0507597698084478,0.1027,0.0451399240261712,-0.016861347,0.011046204496993
-198012,0.04807969287501,0.1549,0.0102433335164709,-0.012252971,-0.0462421081203294
-198103,0.0467178030561748,0.1336,-0.00639481956761356,-0.000656473,0.000770598924634807
-198106,0.0451090466816692,0.1473,-0.0105068509357014,-0.002968948,-0.0248248669328352
-198109,0.0459712231735533,0.147,0.0740812468861567,-0.005012755,-0.0266759900591949
-198112,0.0476867923779808,0.1085,0.0535032912087947,-0.018003848,-0.0069376006844739
-198203,0.0504273755428024,0.1268,0.129611161205343,-0.010536118,-0.00331035355436251
-198206,0.0535520225751262,0.1247,0.165918936517383,-0.010129066,0.00888637546981789
-198209,0.0550504245424751,0.0792,0.107560018285298,-0.009341453,0.0673547184106282
-198212,0.0540647617061919,0.0794,0.0985065180914657,0.001620691,0.0892162429304807
-198303,0.0510291071718311,0.0835,0.110082922237482,0.001407171,0.0754061249748991
-198306,0.0461404885501856,0.0879,0.0855582067622382,0.009525456,0.0749141038713654
-198309,0.041988306807709,0.09,0.0618663743717594,0.019629272,0.0836663379710171
-198312,0.0404019529503302,0.09,0.0828130142049668,0.022546142,0.0857933707439082
-198403,0.039840454429322,0.0952,0.17857368414452,0.01920593,0.070627533309255
-198406,0.0418218542006439,0.0987,0.206665952093648,0.022594949,0.079900893402247
-198409,0.0425727910143084,0.1037,0.198442726741484,0.018463237,0.0668871363800868
-198412,0.0436085752722986,0.0806,0.0906963655972701,0.020343021,0.100709825116976
-198503,0.0430988392508497,0.0852,0.0850360088732933,0.035196616,0.127682830709145
-198506,0.0412990468278449,0.0695,0.0845085021251242,0.024499652,0.116394190871962
-198509,0.0407463713227804,0.071,0.102824078665793,0.04183229,0.152445587688709
-198512,0.0391411362083553,0.071,0.0530609660536781,0.029125732,0.119053261440416
-198603,0.0375254395304934,0.0656,0.0288927205062337,0.022771886,0.10627531115669
-198606,0.0358395368016161,0.0621,0.0361552779858427,0.017067207,0.0925824910643015
-198609,0.0339451184110739,0.0521,0.100430805221419,0.027325011,0.122025193998318
-198612,0.0337564311457354,0.0553,0.086594747761106,0.021211805,0.103925616459724
-198703,0.0325463348731633,0.0559,0.00139829870948671,0.007796727,0.0693529558077948
-198706,0.0322367413567112,0.0567,0.00720524631796393,0.025258639,0.107193195414701
-198709,0.031484823398895,0.064,-0.0707688963519937,0.021948048,0.0891350237378343
-198712,0.0323215500391679,0.0577,0.0496669327056005,0.02035166,0.0951419922275247
-198803,0.035266493781447,0.057,0.0761245556543548,0.0244132,0.113512049972623
-198806,0.0364072767585371,0.0646,0.0519017174325123,0.018659534,0.0949245836159041
-198809,0.0391710567768338,0.0724,0.0755431025728526,0.022300122,0.102030206288856
-198812,0.0404684904451033,0.0807,0.100201846747253,0.023521022,0.0989124304107605
-198903,0.0397228253409198,0.0882,0.0724971759416639,0.022297344,0.0853788734348419
-198906,0.0400751327789234,0.0815,0.0462709869321822,0.026676691,0.104039555171544
-198909,0.0386570991781522,0.0775,0.0264796861568846,0.024340993,0.099329595957029
-198912,0.0355200152706795,0.0763,0.0532045452654633,0.018987378,0.079671710654185
-199003,0.0346278233854251,0.079,0.0856787701052506,0.023154046,0.0834909691163986
-199006,0.0344501002221574,0.0773,0.073419416151379,0.018641932,0.0747038732309502
-199009,0.0348820260617146,0.0736,0.154589587508744,0.029146169,0.104036627655736
-199012,0.036463636724332,0.0674,0.134196482649538,0.023433537,0.102694673354516
-199103,0.0360123935239196,0.0591,0.0650827725762568,0.009401295,0.0791275326882394
-199106,0.035029616911794,0.0557,0.0642208856279274,0.01121824,0.0843859528856018
-199109,0.0334442117414475,0.0522,0.0625355125813156,0.010833146,0.0830535489788925
-199112,0.0309336843950589,0.0407,0.0298251972975712,-0.003085985,0.0575966512289779
-199203,0.029775988783822,0.0404,0.0637924299288661,-0.001607785,0.0580180230272565
-199206,0.0289233014726288,0.0366,0.0953712237070097,-0.001785133,0.0595788432087456
-199209,0.028463377374888,0.0291,0.114642563095728,0.003543874,0.0790160530251242
-199212,0.0277778191129416,0.0322,0.104107269978809,0.008274394,0.0842397367856537
-199303,0.0274212113045772,0.0295,0.107111442495542,0.007972312,0.0856552119012719
-199306,0.0268524456290475,0.0307,0.118705294333409,0.013835014,0.0959694926532743
-199309,0.0261422955188591,0.0295,0.113037270205791,0.018501155,0.105932776964727
-199312,0.0256456144025025,0.0306,0.129242093624025,0.020335099,0.107421069828503
-199403,0.0253718026889765,0.035,0.145672024310562,0.02901429,0.121276803188092
-199406,0.0255023478479724,0.0414,0.211195651233096,0.028091141,0.112175566216183
-199409,0.0255256915021264,0.0462,0.227587943756161,0.031220071,0.113812883057182
-199412,0.0261186471093076,0.056,0.237393552839665,0.031979031,0.105921952504239
-199503,0.026134354988406,0.0573,0.254863224957284,0.024243013,0.0869072067969094
-199506,0.0254539034968339,0.0547,0.224179828130111,0.027573572,0.0955361937033821
-199509,0.0251759405452912,0.0528,0.135014324737973,0.025775226,0.0928559593716876
-199512,0.023878267110137,0.0514,0.195308086604209,0.026728157,0.0929560329985798
-199603,0.0227375294445726,0.0496,0.188213524823256,0.025622442,0.089288482747868
-199606,0.0216957241478264,0.0509,0.202455004533797,0.027487219,0.0890718609121885
-199609,0.0209196074057496,0.0509,0.16483833748688,0.026370129,0.084337156998913
-199612,0.0202907938427,0.0491,0.210997235688284,0.030863757,0.0948307219038149
-199703,0.0197179215892745,0.0514,0.226776213443,0.032053288,0.0932574007168054
-199706,0.0189711006157379,0.0493,0.142281994589192,0.017952815,0.061552935597675
-199709,0.0177582595721872,0.0495,0.105810423621505,0.017702389,0.057317803836626
-199712,0.0168952082617453,0.0516,0.0577376412131978,0.016068651,0.0487439000362709
-199803,0.0158556135621491,0.0503,-0.0360392483627068,-0.001197769,0.00810118474993602
-199806,0.0151139028221475,0.0498,-0.01606719183358,0.002405112,0.0147547104221446
-199809,0.0151395677946427,0.0461,-0.0290739512146452,0.014950352,0.0475696301094841
-199812,0.0145884936723015,0.0439,-0.0516342985438699,0.004770242,0.0254343844426755
-199903,0.0143405232438358,0.0444,-0.059411234641064,-0.000294038,0.0126594967692101
-199906,0.0143810008432541,0.0457,-0.124091395861446,0.00435737,0.0218349268338385
-199909,0.0136974470935095,0.0468,-0.157001532647295,0.01210938,0.0362280490305851
-199912,0.0130992025970143,0.052,-0.18339739943897,-0.003013774,-0.00578968964886001
-200003,0.0125337335411665,0.0569,-0.200282709615165,-0.008913269,-0.0264307339550561
-200006,0.0117909363157554,0.0569,-0.136619911171274,-0.000734884,-0.00996990329509896
-200009,0.0110866721863991,0.06,-0.121743417974827,-0.003131727,-0.0209786421967168
-200012,0.011166134091661,0.0577,-0.0447624473646674,0.011924126,0.0160745027210915
-200103,0.0115059479913705,0.0442,0.014857934585645,0.015450696,0.0406004194224382
-200106,0.0117929296119843,0.0349,-0.00353442308640783,0.011814846,0.0438774730176375
-200109,0.0128882289788122,0.0264,0.0537027085180462,0.008715752,0.0497411395379355
-200112,0.0134662680856255,0.0169,0.0468356294017183,0.018847405,0.0853261236773846
-200203,0.0137588900057899,0.0179,0.0368367252228277,0.000721509,0.0438561678266455
-200206,0.0144460149221045,0.017,0.0926741306045797,0.008108901,0.0636097840732361
-200209,0.0152142875759594,0.0163,0.179422069254788,0.025250542,0.105505392344531
-200212,0.0162789908477815,0.0119,0.156227681248079,0.021793208,0.105744223044838
-200303,0.0175067126772454,0.0113,0.187869651489375,0.025375429,0.118045803860976
-200306,0.0183402190579842,0.0092,0.116212393678878,0.013072913,0.0949000956130146
-200309,0.0181484128067515,0.0094,0.114420961682786,0.01078192,0.0889255394841496
-200312,0.0180152456219789,0.009,0.0928008294527125,0.004045023,0.0737161737872115
-200403,0.0173031398894564,0.0094,0.0859898168419429,-0.000580633,0.0607372557671196
-200406,0.0172910481691703,0.0127,0.10200994405036,-0.007059009,0.0421938070399615
-200409,0.017234824577087,0.0165,0.112418213829528,-0.007663768,0.0362824822883443
-200412,0.0193992694118347,0.0219,0.0621765158868279,-0.009227707,0.0326414038092299
-200503,0.0199452274958486,0.0274,0.0343071130107064,-0.005667035,0.0359327470374738
-200506,0.0201414214956309,0.0297,0.0243229370787343,-0.004489698,0.0365106305079025
-200509,0.0200785526865074,0.0342,-0.0276295228239516,-0.004428843,0.031284756056331
-200512,0.0182852466195617,0.0389,-0.119573155671253,-0.007859664,0.0129995390360112
-200603,0.018371117849624,0.0451,-0.163746782474996,-0.02014197,-0.0217835653406134
-200606,0.0186028123836435,0.0479,-0.104760616105903,-0.011287754,-0.0042544630972274
-200609,0.0188259061082708,0.0481,-0.0658395628188288,-0.00743754,0.00488726632849967
-200612,0.018969404560733,0.0485,-0.0668717960342877,-0.015704402,-0.0139332875666801
-200703,0.0189423651353736,0.0494,-0.0500487461050242,-0.023348222,-0.0323988806550267
-200706,0.01885125598955,0.0461,-0.10154153530552,-0.016337918,-0.0129403163575116
-200709,0.0189134354818131,0.0389,-0.0693021156317818,-0.010609077,0.00853800895515592
-200712,0.0191751372568305,0.03,-0.0221083758061815,-0.003443059,0.0358031850148508
-200803,0.0197124109673598,0.0126,0.0329154588552374,0.003889482,0.0740227044810544
-200806,0.0203152943004886,0.0186,0.0349297985848813,-0.009554972,0.0382967342987564
-200809,0.0212312033641009,0.0113,0.014300554304276,0.01848986,0.112967328327867
-200812,0.0238541635562007,3e-04,0.150965250068942,0.012678682,0.119883604645674
-200903,0.0270727657520087,0.0021,0.238538189244968,0.010884289,0.122854699585292
-200906,0.0276856744039459,0.0018,0.157377828536064,-0.012382822,0.0721195323917565
-200909,0.0273313735126504,0.0012,0.122690176474383,-0.005200904,0.0881104639513008
-200912,0.0250347285573224,5e-04,0.10383653913252,-0.007043664,0.0782272576318151
-201003,0.0215495972350554,0.0015,0.117769576402331,-0.006705542,0.0679684621822551
-201006,0.0206348377279535,0.0012,0.168632942769818,-0.004120902,0.0715897773791307
-201009,0.0212029708896787,0.0015,0.149492821599458,-0.007853384,0.0643807636806806
-201012,0.0214621354113483,0.0014,0.142582771269884,-0.007991569,0.0649165737440417
-201103,0.0211802712171474,0.001,0.127284031990848,-0.01288464,0.0534714917790948
-201106,0.0209019141620442,4e-04,0.148031793945999,-0.004873942,0.0715589510414494
-201109,0.0206511229296865,1e-04,0.212528154023929,0.010090533,0.105164160076958
-201112,0.0210098688268682,1e-04,0.185663469111987,0.012108104,0.110760518074749
-201203,0.0217604231538474,8e-04,0.146605644044365,-0.000895883,0.0825606410572733
-201206,0.0226930661384876,9e-04,0.160765380006173,-0.001858043,0.0829035776623887
-201209,0.0230822068854468,0.0011,0.105432702750396,-0.006244276,0.0738186491721294
-201212,0.0251440511018623,7e-04,0.122931735279789,-0.017425398,0.0547395104802914
-201303,0.0250681236840484,9e-04,0.0911684364904197,0.001312162,0.0968289931031212
-201306,0.0249513924632454,5e-04,0.094823805961757,-0.009971338,0.0713452052445914
-201309,0.0246064520006413,2e-04,0.0879937533241177,-0.016509419,0.0558719313507061
-201312,0.0216455433125309,7e-04,0.068663490768504,-0.018592692,0.0421778795682073
-201403,0.021594276610221,5e-04,0.0815669234019389,-0.023218232,0.0317629391444011
-201406,0.0211228709945043,4e-04,0.0734446489565668,-0.024412266,0.0278321057349712
-201409,0.0207713854472016,2e-04,0.0914514203929016,-0.022332177,0.0317886694961807
-201412,0.0209491326978658,3e-04,0.0978776038697833,-0.027475502,0.0205014402639906
-201503,0.0211160835567631,3e-04,0.0873460063801046,-0.034622307,0.0047508780965125
-201506,0.0211154178662593,2e-04,0.0992871800438719,-0.034629428,0.00484806934781884
-201509,0.021538195525196,2e-04,0.152686174426084,-0.02656083,0.0243619355553995
-201512,0.0219127068150701,0.0023,0.0746573974748765,-0.035191286,0.00341138498129902
+195203,0.0581713806310763,0.0159,0.180929532251361,0.0151049319,0.215619913600024
+195206,0.0573964934479785,0.017,0.216421730627215,0.0248372672,0.229854709912153
+195209,0.0570910257822821,0.0171,0.231932767702911,0.014840079,0.209964304270326
+195212,0.0552219085744655,0.0209,0.222027292168553,0.0221659845,0.212641408712348
+195303,0.0545504244369111,0.0201,0.260587223971332,0.0215211835,0.210126524291872
+195306,0.0545861415414667,0.0211,0.272693155990075,0.015925245,0.198537717243996
+195309,0.0555092571041784,0.0179,0.266241082611581,0.0148007265,0.203512458520181
+195312,0.0569810782587777,0.016,0.253071367770915,0.0121913077,0.205979731528024
+195403,0.056836429875606,0.0103,0.196594741462133,0.0182928929,0.223920078822328
+195406,0.0551750186988201,0.0064,0.190919921278285,0.0243729346,0.234434729781533
+195409,0.0525378890011501,0.0101,0.114099126177687,0.0257567794,0.22348521901986
+195412,0.0491647188147988,0.0115,0.0445218517475148,0.0254240549,0.209636509087209
+195503,0.0464351569511314,0.0128,0.0538608706994908,0.0354531586,0.21751451690996
+195506,0.0442389561942873,0.0141,0.0452056086669617,0.0284446613,0.195298700226541
+195509,0.042320637419308,0.0207,0.0776450308388892,0.0203354925,0.165455697968886
+195512,0.0416058854413551,0.0254,0.0954965679309081,0.0192916004,0.155286609721378
+195603,0.0410553744034771,0.0225,0.0761698431974343,0.0072753827,0.134465378912861
+195606,0.0412049431061539,0.0249,0.100300323080917,0.000774889,0.119850078415826
+195609,0.0411739715028009,0.0284,0.102263922491475,0.0006634742,0.115234510323492
+195612,0.0403092920407171,0.0321,0.107072354072605,-0.0025241662,0.101767549709988
+195703,0.041502794604927,0.0308,0.0911975128943467,0.0020414294,0.115987651206715
+195706,0.0415334174101718,0.0329,0.0782252698539541,-0.0045282568,0.101205731808654
+195709,0.0424290805458711,0.0353,0.0975414279413929,0.0034330491,0.116223429136348
+195712,0.0432942579316379,0.0304,0.154203787514524,0.0067062341,0.13132703243538
+195803,0.0439815664307764,0.013,0.179254470012994,0.0061674996,0.154045478699891
+195806,0.044497181630577,0.0083,0.146035719859805,0.0059876886,0.161243256833345
+195809,0.0433934076521585,0.0244,0.115947757146269,-0.0046343284,0.117796857628224
+195812,0.0395606643661946,0.0277,0.102202769836565,-0.0074100057,0.0954698325956545
+195903,0.0365289954269653,0.028,0.0847294324818499,0.001385457,0.101235637622149
+195906,0.0342102316842738,0.0321,-0.0203207371792191,0.0006501225,0.086911002481061
+195909,0.0328837588962881,0.0404,0.000393450966732933,0.0149907574,0.0990479817142517
+195912,0.0327954311325093,0.0449,0.0210994723682361,0.0089026666,0.0818130023228587
+196003,0.0332730977456775,0.0331,0.0680972145379974,0.0056602557,0.0918701962416409
+196006,0.0339978681291371,0.0246,0.0711068583560246,0.0120616917,0.116778542128654
+196009,0.0346393964085621,0.0248,0.103832858521259,0.0091629529,0.113291238159555
+196012,0.0347618331131123,0.0225,0.0855642843252973,0.0073829485,0.113201257530255
+196103,0.033682930604447,0.0239,0.0594057346402843,-0.0035541263,0.0873147731700795
+196106,0.0323191356260007,0.0233,0.0710383999205098,-0.0044955746,0.0816371672284295
+196109,0.030886919891069,0.0228,0.0711036117277644,-0.0123153951,0.0627194861821732
+196112,0.0295735387197417,0.026,0.0495109035816364,-0.0112008487,0.0563949736613904
+196203,0.0292542603363362,0.0272,0.069299749885517,-0.0098445659,0.0563717292833382
+196206,0.0305677336064767,0.0273,0.150366083613012,0.002761635,0.0843413080521167
+196209,0.0320843054579613,0.0278,0.166722216620787,0.0042057374,0.0916044049575239
+196212,0.0343571902632494,0.0287,0.136873526246216,0.0031130157,0.0962038119294767
+196303,0.0351004990471301,0.0289,0.105351263735985,-0.0002984348,0.0921032985991144
+196306,0.0343829093233061,0.0299,0.0710119032971885,-0.0015400299,0.086101243189469
+196309,0.0331212919134146,0.0338,0.0206366997388234,0.0009623816,0.0816926324219199
+196312,0.0323477713364893,0.0352,0.0266785788867785,-0.0010589681,0.0735476898039078
+196403,0.031759291322847,0.0354,0.0526435900742601,-0.0009125693,0.0715689734096318
+196406,0.0314773247785952,0.0348,0.0485501552073446,-0.0080067401,0.0580565881929345
+196409,0.0313102650407029,0.0353,0.0619661255000819,-0.0039418676,0.0644862048273927
+196412,0.0306132138641391,0.0384,0.0603395497649675,-0.0124556986,0.0423518957327945
+196503,0.0304150800505866,0.0393,0.0228091536101451,-0.0023712254,0.0594592165934999
+196506,0.0305318677485754,0.038,0.0774540378285802,0.0019878291,0.0696200586625451
+196509,0.0305931101604307,0.0392,0.0613826975841563,-0.0099590803,0.0459765796664706
+196512,0.0305599791908958,0.0438,0.0551766205336706,-0.0047284959,0.0500078784902975
+196603,0.030783599975638,0.0459,0.048708194942642,0.0071854526,0.070505754779248
+196606,0.0312674337996003,0.045,0.0458341035059451,5.60508e-05,0.0599079987491109
+196609,0.032773524210845,0.0537,0.0657186525012383,0.001898605,0.0578044869750301
+196612,0.0338890636539919,0.0496,0.0409349350184802,-0.0107372762,0.0429797383708833
+196703,0.0344368333870317,0.0426,-0.0186109941464203,-0.0234256432,0.0296840533360008
+196706,0.0340002271270961,0.0354,-0.105839218832583,-0.0191358031,0.0450784356033548
+196709,0.0325214824995494,0.0442,-0.079047001112438,-0.0259082452,0.0165348772301055
+196712,0.0307930472103615,0.0497,-0.0551099479018757,-0.032898951,-0.00921368078753982
+196803,0.0306503240878144,0.0517,0.0062696448580386,-0.0231113698,0.00617470656788253
+196806,0.0303116110092362,0.0552,-0.0372465022977169,-0.0296262239,-0.0114847109994371
+196809,0.0300666169355094,0.0519,-0.0513566067503131,-0.0164726639,0.0163729514563828
+196812,0.0292824485824744,0.0596,-0.0465129089685465,-0.0275663503,-0.0165438563422845
+196903,0.0286007883374296,0.0602,-0.0107937706839798,-0.0173922222,-0.000549106348572331
+196906,0.029034568812731,0.0644,0.0069519580011379,-0.0172557558,-0.00397547259473029
+196909,0.0298679273692988,0.0709,0.0317501891176857,-0.0287794845,-0.030706121462782
+196912,0.0309257170688978,0.0782,0.05818930759085,-0.0263537082,-0.0315257432578153
+197003,0.0320562287254379,0.0663,0.0401370039109226,-0.0272926211,-0.0148043137451989
+197006,0.034113306096379,0.0668,0.0939516000505951,-0.0288190676,-0.0112618042710134
+197009,0.0354730616471907,0.0612,0.0601492482164803,-0.0341623195,-0.00975044829941246
+197012,0.0360208688491167,0.0487,-0.0157125224959915,-0.0372401825,0.00171443820196836
+197103,0.035348123314701,0.0338,-0.0611257772726066,-0.0415611117,0.00963738967272741
+197106,0.0328778666086917,0.0475,-0.101254451195637,-0.0476860148,-0.027096793134456
+197109,0.0310893969776371,0.0469,-0.188125750820017,-0.0445839936,-0.0266490652741953
+197112,0.0299986822036038,0.0401,-0.179412889579235,-0.0409913471,-0.0152831514645402
+197203,0.029219856887389,0.0373,-0.136373174429339,-0.040207793,-0.0130308564281261
+197206,0.0286540748180313,0.0391,-0.0907075781177714,-0.0329125142,-0.00350793510896841
+197209,0.0278743534004712,0.0466,-0.138941761091134,-0.0308053599,-0.0114374137700689
+197212,0.02699699061614,0.0507,-0.138674876351922,-0.0456898299,-0.0473484311875731
+197303,0.0268259739761796,0.0609,-0.0637277612844946,-0.033972033,-0.0385182715372275
+197306,0.0276052758957876,0.0719,-0.0251317435819809,-0.0362380677,-0.0536229579120194
+197309,0.028390482997541,0.0829,-0.0446862737533147,-0.0373302933,-0.0665088519564321
+197312,0.0308172320831128,0.0745,0.0147574171109157,-0.0379492102,-0.0490681604517469
+197403,0.0328202165665916,0.0796,0.00119585078425399,-0.0322899817,-0.0379037849989784
+197406,0.0353977102785159,0.079,0.0612031890801497,-0.0214190014,-0.00801294515030139
+197409,0.0407072394032137,0.0806,0.163665006536486,-0.0105853618,0.0284225632423719
+197412,0.0452572062508835,0.0715,0.136837235482316,-0.0234051416,0.0311119093336898
+197503,0.0478542021372892,0.0549,0.0419103633351743,-0.0205085588,0.0657953143557618
+197506,0.047599118645957,0.0534,0.0204343435512009,-0.0494513477,0.0125562027923231
+197509,0.0453430844112398,0.0642,0.0989754867806953,-0.0196418288,0.047425006589247
+197512,0.0420281056595425,0.0544,0.0448453152938637,-0.0182173893,0.0508300750850394
+197603,0.0401392194301234,0.05,0.0173208191518661,-0.0150434174,0.0557399987331208
+197606,0.0400356743759825,0.0541,0.0196983470134704,-0.0143902618,0.05157165601296
+197609,0.0393667082170418,0.0508,0.0394218106265059,-0.0108123816,0.0600471418911882
+197612,0.0398173203280456,0.0435,0.0239626322262079,-0.0046822015,0.0820376079732984
+197703,0.041276204777356,0.046,0.0171040336151946,0.0058407414,0.103651590685478
+197706,0.0430126718235339,0.0502,0.046287114960432,0.0004551784,0.0943250793543254
+197709,0.0445467395165155,0.0581,0.100273479858332,-0.0028229076,0.0837087064015444
+197712,0.046625262412592,0.0607,0.125419842581055,0.0007117002,0.0942234311320921
+197803,0.0489830060815238,0.0629,0.139045184922963,-0.0011994177,0.0959817344019381
+197806,0.0499091661873586,0.0673,0.0925869796487433,0.0084441204,0.111796570265901
+197809,0.0498665955719646,0.0785,0.00249723751125863,0.0022501757,0.0862855760971752
+197812,0.0508761294213427,0.0908,0.0506171332271967,0.003597466,0.0771366323454521
+197903,0.0507528225233245,0.0948,-0.0166563830087978,-0.0028614314,0.0597022570275131
+197906,0.0516518008766985,0.0906,-0.0379421015197754,0.000890287,0.0749572346811526
+197909,0.0522544159019993,0.1026,-0.0301909155379363,0.0031711126,0.0665376731385632
+197912,0.0517637769730003,0.1204,0.0329312983190684,0.0043024938,0.0451085253758285
+198003,0.0515617031634157,0.152,0.103090629769648,0.0027006231,0.00258478399869241
+198006,0.0511064018607083,0.0707,0.0988554350292474,-0.0171098706,0.0638367226750099
+198009,0.0507597698084478,0.1027,0.0451399240261712,-0.0183844128,0.0209414769900266
+198012,0.04807969287501,0.1549,0.0102433335164709,-0.0104495035,-0.0374867013015392
+198103,0.0467178030561748,0.1336,-0.00639481956761356,-0.0017702379,0.000301438516195213
+198106,0.0451090466816692,0.1473,-0.0105068509357014,-0.0041392538,-0.0264592762117053
+198109,0.0459712231735533,0.147,0.0740812468861567,-0.0075469325,-0.0295328352019289
+198112,0.0476867923779808,0.1085,0.0535032912087947,-0.0178918775,0.00425515598295911
+198203,0.0504273755428024,0.1268,0.129611161205343,-0.0117549888,0.00260815883503049
+198206,0.0535520225751262,0.1247,0.165918936517383,-0.0122122506,0.014989754284841
+198209,0.0550504245424751,0.0792,0.107560018285298,-0.012116593,0.0761957290271043
+198212,0.0540647617061919,0.0794,0.0985065180914657,-6.37752e-05,0.0951641341113232
+198303,0.0510291071718311,0.0835,0.110082922237482,-0.0003350167,0.0792636628583993
+198306,0.0461404885501856,0.0879,0.0855582067622382,0.0090776858,0.0748134529642215
+198309,0.041988306807709,0.09,0.0618663743717594,0.0189488438,0.0765602935646562
+198312,0.0404019529503302,0.09,0.0828130142049668,0.0203712679,0.0738139906982491
+198403,0.039840454429322,0.0952,0.17857368414452,0.0168623585,0.0589359443922028
+198406,0.0418218542006439,0.0987,0.206665952093648,0.0195663615,0.0664575757785237
+198409,0.0425727910143084,0.1037,0.198442726741484,0.0158011573,0.0558216204468836
+198412,0.0436085752722986,0.0806,0.0906963655972701,0.0171738076,0.0903137029416348
+198503,0.0430988392508497,0.0852,0.0850360088732933,0.0331353284,0.112819449125687
+198506,0.0412990468278449,0.0695,0.0845085021251242,0.0212983544,0.103803247071523
+198509,0.0407463713227804,0.071,0.102824078665793,0.0380071635,0.131371948648558
+198512,0.0391411362083553,0.071,0.0530609660536781,0.0264690807,0.104285037350078
+198603,0.0375254395304934,0.0656,0.0288927205062337,0.0208200767,0.0948294273068043
+198606,0.0358395368016161,0.0621,0.0361552779858427,0.0161191498,0.0845752377598615
+198609,0.0339451184110739,0.0521,0.100430805221419,0.0257415882,0.108426844904841
+198612,0.0337564311457354,0.0553,0.086594747761106,0.0204511343,0.0939412165873721
+198703,0.0325463348731633,0.0559,0.00139829870948671,0.008310075,0.0663352335170939
+198706,0.0322367413567112,0.0567,0.00720524631796393,0.0263567175,0.0980991555403767
+198709,0.031484823398895,0.064,-0.0707688963519937,0.0231658465,0.0805866086091474
+198712,0.0323215500391679,0.0577,0.0496669327056005,0.0185447723,0.0825270045437079
+198803,0.035266493781447,0.057,0.0761245556543548,0.0228703463,0.101533869770828
+198806,0.0364072767585371,0.0646,0.0519017174325123,0.0170534172,0.0851893004576874
+198809,0.0391710567768338,0.0724,0.0755431025728526,0.0207166177,0.0918917046883982
+198812,0.0404684904451033,0.0807,0.100201846747253,0.0220446356,0.0886043172329852
+198903,0.0397228253409198,0.0882,0.0724971759416639,0.0219163985,0.0766039040112072
+198906,0.0400751327789234,0.0815,0.0462709869321822,0.027014473,0.0955884953499925
+198909,0.0386570991781522,0.0775,0.0264796861568846,0.0257822142,0.0933595307561982
+198912,0.0355200152706795,0.0763,0.0532045452654633,0.0199554069,0.0732203396687195
+199003,0.0346278233854251,0.079,0.0856787701052506,0.0230250315,0.0726088948452433
+199006,0.0344501002221574,0.0773,0.073419416151379,0.0172761858,0.0633237915295939
+199009,0.0348820260617146,0.0736,0.154589587508744,0.0265399573,0.0866958909679658
+199012,0.036463636724332,0.0674,0.134196482649538,0.0225168835,0.0921741055172451
+199103,0.0360123935239196,0.0591,0.0650827725762568,0.0093262667,0.0761278966482203
+199106,0.035029616911794,0.0557,0.0642208856279274,0.0100659633,0.0783397745464041
+199109,0.0334442117414475,0.0522,0.0625355125813156,0.0091111052,0.0754450834843604
+199112,0.0309336843950589,0.0407,0.0298251972975712,-0.0045912769,0.0553491831815476
+199203,0.029775988783822,0.0404,0.0637924299288661,-0.0036224895,0.0535838950747467
+199206,0.0289233014726288,0.0366,0.0953712237070097,-0.0044140032,0.0538629473301133
+199209,0.028463377374888,0.0291,0.114642563095728,0.0004203445,0.070566388836132
+199212,0.0277778191129416,0.0322,0.104107269978809,0.0050673051,0.0731226399739118
+199303,0.0274212113045772,0.0295,0.107111442495542,0.0070738324,0.0789828545895632
+199306,0.0268524456290475,0.0307,0.118705294333409,0.0117676902,0.0843602570160045
+199309,0.0261422955188591,0.0295,0.113037270205791,0.0167963037,0.0928318856501874
+199312,0.0256456144025025,0.0306,0.129242093624025,0.0184474766,0.0928788161894815
+199403,0.0253718026889765,0.035,0.145672024310562,0.0274179478,0.10334015051434
+199406,0.0255023478479724,0.0414,0.211195651233096,0.0265839715,0.0943581635210015
+199409,0.0255256915021264,0.0462,0.227587943756161,0.0298033079,0.0945690464348105
+199412,0.0261186471093076,0.056,0.237393552839665,0.0305982768,0.0860370321789959
+199503,0.026134354988406,0.0573,0.254863224957284,0.023697188,0.0715666357258495
+199506,0.0254539034968339,0.0547,0.224179828130111,0.0277687719,0.0800674517399446
+199509,0.0251759405452912,0.0528,0.135014324737973,0.0267566761,0.0795586061664348
+199512,0.023878267110137,0.0514,0.195308086604209,0.0280551823,0.0792853030651679
+199603,0.0227375294445726,0.0496,0.188213493043313,0.0279619657,0.0774320133006417
+199606,0.0216957241478264,0.0509,0.202453115608059,0.0304336193,0.0769107194793938
+199609,0.0209196074057496,0.0509,0.164868382615741,0.0291593133,0.0718766997354076
+199612,0.0202907938427,0.0491,0.211006747922971,0.0306755847,0.0747841650210071
+199703,0.0197179215892745,0.0514,0.22677725616313,0.0325448099,0.0735049480141405
+199706,0.0189711006157379,0.0493,0.142282968590457,0.0210349007,0.0519793768951016
+199709,0.0177582595721872,0.0495,0.105811368315587,0.0223843951,0.0501246380467142
+199712,0.0168952082617453,0.0516,0.0577385473099563,0.0200561179,0.0402391782452492
+199803,0.0158556135621491,0.0503,-0.0360381858050383,0.0057970734,0.0115825117411518
+199806,0.0151139028221475,0.0498,-0.01606610889834,0.0096089346,0.0168071591677485
+199809,0.0151395677946427,0.0461,-0.0290728832072851,0.0183530795,0.0378203024906692
+199812,0.0145884936723015,0.0439,-0.051633255896954,0.0126581688,0.0279772862919358
+199903,0.0143405233039844,0.0444,-0.0594101772161507,0.0092644926,0.0201603973930641
+199906,0.0143807131070392,0.0457,-0.124089046869905,0.0164609591,0.0321795069434507
+199909,0.0136948678268436,0.0468,-0.157022484707688,0.0226688932,0.040116477254162
+199912,0.0130960242160673,0.052,-0.183402960290209,0.0127372301,0.0130806542748816
+200003,0.0125303538328134,0.0569,-0.20028251828453,0.0073286953,-0.00500111458764431
+200006,0.0117878461474105,0.0569,-0.136619706111262,0.0137258848,0.00444890681081868
+200009,0.0110858699898385,0.06,-0.121743210411196,0.010833411,-0.00717288623382104
+200012,0.0111659313238645,0.0577,-0.0447622231048932,0.0217325643,0.0163418187735413
+200103,0.0115059363181573,0.0442,0.014857934585645,0.0190564917,0.0290794633147004
+200106,0.0117929179354593,0.0349,-0.00353442308640783,0.0174433822,0.0384657953200116
+200109,0.0128882172896469,0.0264,0.0537027085180462,0.0093176972,0.0374272970427068
+200112,0.0134662563897894,0.0169,0.0468356294017183,0.0213034519,0.0735240450827552
+200203,0.0137588900057899,0.0179,0.0368367252228277,0.0038227104,0.0405501940674111
+200206,0.0144460149221045,0.017,0.0926741306045797,0.0062637218,0.0485720653944973
+200209,0.0152142875759594,0.0163,0.179422069254788,0.018064397,0.0741564273791277
+200212,0.0162789908477815,0.0119,0.156227681248079,0.0157139517,0.0787925258778195
+200303,0.0175067126772454,0.0113,0.187869651489375,0.0206878097,0.0930338044504882
+200306,0.0183402190579842,0.0092,0.116212393678878,0.0104405888,0.0792634413948203
+200309,0.0181484128067515,0.0094,0.114420961682786,0.0084875978,0.0747053258656567
+200312,0.0180152456219789,0.009,0.0928008294527125,0.0051602424,0.0685102587879573
+200403,0.0173031398894564,0.0094,0.0859898168419429,0.0037667278,0.0629797045516652
+200406,0.0172910481691703,0.0127,0.10200994405036,-0.001737625,0.0485728521045649
+200409,0.017234824577087,0.0165,0.112418213829528,-0.0029590234,0.0414233779293225
+200412,0.0193992694118347,0.0219,0.0621765158868279,-0.0008330703,0.0461516274429948
+200503,0.0199452274958486,0.0274,0.0343071130107064,0.004257769,0.0507902566262524
+200506,0.0201414214956309,0.0297,0.0243229370787343,0.005979418,0.0518576971920555
+200509,0.0200785526865074,0.0342,-0.0276295228239516,0.0090454383,0.051856035114105
+200512,0.0182852466195617,0.0389,-0.119573155671253,0.0058679199,0.0340118082982768
+200603,0.018371117849624,0.0451,-0.163746782474996,-0.0016019952,0.01269351806294
+200606,0.0186028123836435,0.0479,-0.104760616105903,0.0063547117,0.0249464095324846
+200609,0.0188259061082708,0.0481,-0.0658395628188288,0.0081129576,0.0287548925152981
+200612,0.018969404560733,0.0485,-0.0668717960342877,0.0001676025,0.0138703836727948
+200703,0.0189423651353736,0.0494,-0.0500487526347022,-0.0070903288,-0.000922640477947892
+200706,0.01885125598955,0.0461,-0.101541560406176,-0.0022495972,0.011889198227327
+200709,0.0189134344726656,0.0389,-0.0693021320939302,0.0015077819,0.0279874551712242
+200712,0.0191751362474238,0.03,-0.0221084109150632,0.0060812497,0.0483840163716845
+200803,0.019712409957421,0.0126,0.0329154285414031,0.0098434074,0.0786466964040505
+200806,0.0203152932899526,0.0186,0.0349297537010289,-0.006757064,0.0422352194554865
+200809,0.0212312033641009,0.0113,0.0143004990355149,0.0192101188,0.102969205812197
+200812,0.0238541635562007,3e-04,0.150965162450425,0.0071836608,0.102906966702564
+200903,0.0270727657520087,0.0021,0.2385380949674,0.0052245734,0.108003149614233
+200906,0.0276856744039459,0.0018,0.157377740439346,-0.0172395316,0.0683849825322546
+200909,0.0273313735126504,0.0012,0.12269009102152,-0.0069521652,0.0871830857718095
+200912,0.0250347382764151,5e-04,0.103836455114195,-0.0075487891,0.079092588987576
+201003,0.0215496069340629,0.0015,0.117769498872714,-0.0071367124,0.0667486602011644
+201006,0.0206348378528158,0.0012,0.168632886010129,-0.008527399,0.0613924204967049
+201009,0.0212029707663284,0.0015,0.149492754247111,-0.0131255868,0.0543486690383346
+201012,0.021462124462454,0.0014,0.14258272508066,-0.0111788314,0.059001916381067
+201103,0.021180259226238,0.001,0.12728397916727,-0.013824761,0.0535760522128454
+201106,0.020901901431916,4e-04,0.148031756234325,-0.0059697897,0.0680770797458977
+201109,0.0206510993476091,1e-04,0.212528270099957,0.0041501232,0.0865458564491403
+201112,0.0210098505941024,1e-04,0.185663253036642,0.0069474207,0.0930090548117913
+201203,0.0217604059403461,8e-04,0.146606747857801,-0.0003403114,0.0810581660604873
+201206,0.0226930592378138,9e-04,0.160766957535828,-0.0019673215,0.0810687686729418
+201209,0.0230822111118186,0.0011,0.105434086160777,-0.0054640097,0.0756006619810142
+201212,0.0251440511018623,7e-04,0.122933221199401,-0.0147509086,0.0657294152408203
+201303,0.0250681236840484,9e-04,0.0911705540920038,0.0040586637,0.100456703185765
+201306,0.0249513924632454,5e-04,0.09482696127989,-0.0042481174,0.0849907771180604
+201309,0.0246064520006413,2e-04,0.0879970439416267,-0.0080159264,0.0771255051702652
+201312,0.0216455433125309,7e-04,0.0686666776798228,-0.0083983124,0.0656959231531093
+201403,0.021594276610221,5e-04,0.0815701122436741,-0.0163367627,0.0508974110757716
+201406,0.0211228709945043,4e-04,0.0734480322092261,-0.0148513167,0.0521948396534259
+201409,0.0207714653414398,2e-04,0.0914545926283923,-0.0126732763,0.0553217413132826
+201412,0.0209492955992594,3e-04,0.097881659730273,-0.0175553251,0.0466608586680342
+201503,0.0211163089360144,3e-04,0.0873486762524105,-0.0273482968,0.0288873692751433
+201506,0.0211156270385579,2e-04,0.0992895106393734,-0.0245887322,0.0341768518866357
+201509,0.0215383064841614,2e-04,0.152689254400313,-0.0188494511,0.0463686955470843
+201512,0.0219127309966068,0.0023,0.0746628381378323,-0.02350179,0.0363507587505934
+201603,0.0226560096914994,0.0029,0.116993676559848,-0.0232180745,0.0386799546292867
+201606,0.023075822781678,0.0027,0.118847481300141,-0.0182351113,0.0496911548845369
+201609,0.0229765812958954,0.0029,0.103532830524401,-0.0194222318,0.0468832984244066
+201612,0.0228461093705285,0.0051,0.119102031529165,-0.0190280181,0.044473053519481
diff --git a/output/predict.png b/output/predict.png
Binary files differ.
diff --git a/readme.md b/readme.md
@@ -19,7 +19,7 @@ We use the dividend-price ratio, cay and the three-month T-bill to predict futur
- See the calculations to account for reinvested dividends in this [note](./docs/dividendpriceratio.pdf) on how
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*
+3. Measuring cay from Lettau's [website](http://faculty.haas.berkeley.edu/lettau/data_cay.html). *Last downloaded on March 23rd 2020*
@@ -30,21 +30,21 @@ We use the dividend-price ratio, cay and the three-month T-bill to predict futur
===========================================================
Future Excess Returns
-----------------------------------------------------------
-D/P ratio 2.833***
- (0.419)
+D/P ratio 3.411***
+ (0.437)
-cay 2.270***
- (0.233)
+cay 1.873***
+ (0.250)
-T-bill (three-month) -1.152***
- (0.156)
+T-bill (three-month) -1.229***
+ (0.163)
-Constant 0.024*
- (0.013)
+Constant 0.008
+ (0.014)
-Observations 256
-R2 0.423
-F Statistic 61.652*** (df = 3; 252)
+Observations 260
+R2 0.351
+F Statistic 46.061*** (df = 3; 256)
-----------------------------------------------------------
Notes: ***Significant at the 1 percent level.
**Significant at the 5 percent level.
diff --git a/rules.mk b/rules.mk
@@ -0,0 +1,45 @@
+#
+# RULES for MAKEFILE for the entry and asset pricing Project
+#
+#
+#
+# Created March 24th 2020
+# Last modified March 24th 2020
+#
+#
+# --------------------------------------------------------------------------------------------------------
+
+
+# --------------------------------------------------------------------------------------------------------
+ifndef RULES_MK
+RULES_MK:=1# Allow repeated "-include".
+
+
+# --------------------------------------------------------------------------------------------------------
+# HOMEMADE SCRIPTS
+define colorecho
+ @tput setaf 6
+ @echo $1
+ @tput sgr0
+endef
+WHITE='\033[1;37m'
+NC ='\033[0m' # No Color
+
+ # Timing: see here https://stackoverflow.com/questions/8483149/gnu-make-timing-a-build-is-it-possible-to-have-a-target-whose-recipe-executes
+ TIME_START := $(shell date +%s)
+ define TIME-END
+ @time_end=`date +%s` ; time_exec=`awk -v "TS=${TIME_START}" -v "TE=$$time_end" 'BEGIN{TD=TE-TS;printf "%02dm:%02ds\n", TD/(60),TD%60}'` ; echo -e \\t${WHITE}cumulative time elapsed ... $${time_exec} ... $@ ${NC}
+endef
+# --------------------------------------------------------------------------------------------------------
+
+
+# --------------------------------------------------------------------------------------------------------
+# This will depend on your configuration. Easiest is to symlin latest julia to /usr/bin/julia
+SHELL := /bin/bash
+WRDS_USERNAME := XXXX # adjust your WRDS username here
+R_OPTS := --vanilla
+# --------------------------------------------------------------------------------------------------------
+
+
+# --------------------------------------------------------------------------------------------------------
+endif+
\ No newline at end of file
diff --git a/src/import_predictors.R b/src/import_predictors.R
@@ -32,17 +32,21 @@ 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)
+
+# See this https://stackoverflow.com/questions/4090169/elegant-way-to-check-for-missing-packages-and-install-them
+using<-function(...) {
+ libs<-unlist(list(...))
+ req<-unlist(lapply(libs,require,character.only=TRUE))
+ need<-libs[req==FALSE]
+ if(length(need)>0){
+ install.packages(need)
+ lapply(need,require,character.only=TRUE)
+ }
+}
+
+package_to_load <- c("crayon", "devtools", "alfred", "haven", "dplyr",
+ "stringr", "lubridate", "RcppRoll", "statar", "data.table")
+using(package_to_load)
check_file = file.exists("log/R-session-info.log.R")
sink("log/R-session-info.log.R", append=check_file)
@@ -54,19 +58,20 @@ sink()
##################################################################################
# 1. TREASURIES
-dt_tbill <- get_fred_series("TB3MS", "rf", observation_start = "1950-01-01", observation_end = "2019-05-31") %>% data.table
+dt_tbill <- get_fred_series("TB3MS", "rf", observation_start = "1950-01-01", observation_end = "2020-12-31") %>% data.table
dt_tbill <- dt_tbill[, .(dateym=year(date)*100+month(date), rf=rf/100)]
+dt_tbill[]
# fwrite(dt_tbill, "./input/tbill.csv")
##################################################################################
##################################################################################
# 2. CAY
-dt_cay <- fread("./input/cay_current.csv", skip=1, header=T)
-dt_cay <- dt_cay[, .(date_y=as.integer(str_sub(date, 1, 4)),
- quarter=as.integer(str_sub(date, 5, 6)), cay=cay) ]
-dt_cay <- dt_cay[, .(dateym=date_y*100+quarter*3, cay) ]
-dt_cay
+dt_cay <- fread("./input/cay_current.csv", skip=0, header=T)
+setnames(dt_cay, c("date", "c", "w", "y", "cay"))
+dt_cay <- dt_cay[, .(date_y=year(date), month = month(date), cay) ]
+dt_cay <- dt_cay[, .(dateym=date_y*100+month, cay) ]
+dt_cay[]
##################################################################################
diff --git a/src/readme_in.md b/src/readme_in.md
@@ -19,7 +19,7 @@ We use the dividend-price ratio, cay and the three-month T-bill to predict futur
- See the calculations to account for reinvested dividends in this [note](./docs/dividendpriceratio.pdf) on how
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*
+3. Measuring cay from Lettau's [website](http://faculty.haas.berkeley.edu/lettau/data_cay.html). *Last downloaded on March 23rd 2020*
diff --git a/src/rp_measure.R b/src/rp_measure.R
@@ -20,17 +20,23 @@ message(format(Sys.time(), "%a %b %d %X %Y"))
##################################################################################
# APPEND REQUIRED PACKAGES
-library(crayon)
-library(devtools)
-library(wesanderson)
-library(ggplot2)
-library(statar)
-library(stringr)
-library(lubridate)
-library(data.table)
-library(lmtest)
-library(sandwich)
-library(stargazer)
+
+# See this https://stackoverflow.com/questions/4090169/elegant-way-to-check-for-missing-packages-and-install-them
+using<-function(...) {
+ libs<-unlist(list(...))
+ req<-unlist(lapply(libs,require,character.only=TRUE))
+ need<-libs[req==FALSE]
+ if(length(need)>0){
+ install.packages(need)
+ lapply(need,require,character.only=TRUE)
+ }
+}
+
+package_to_load <- c("crayon", "devtools", "wesanderson", "ggplot2", "statar",
+ "stringr", "lubridate", "lmtest", "sandwich", "stargazer", "data.table")
+
+using(package_to_load)
+
check_file = file.exists("log/R-session-info.log.R")
sink("log/R-session-info.log.R", append=check_file)