I want to use 5 forward period of FTSE100 to regress on my index UKIS. However when I use
I only get 0 values. I think this may have to do with the fact that my FTSE100 data is only available mon-fri and has missing values on the weekend.
Code:
. gen FTSE100_1F = 1F.FTSE100 (2,128 missing values generated) . gen FTSE100_2F = 2F.FTSE100 (2,128 missing values generated)
Code:
input int date double FTSE100 float(FTSE100_1F FTSE100_2F) 16071 . 0 0 16072 4510.18 . . 16073 . . . 16074 . 0 0 16075 4513.25 0 0 16076 4505.22 0 0 16077 4472.97 0 0 16078 4494.17 0 0 16079 4466.29 . . 16080 . . . 16081 . 0 0 16082 4449.61 0 0 16083 4440.14 0 0 16084 4461.39 0 0 16085 4456.08 0 0 16086 4487.88 . . 16087 . . . 16088 . 0 0 16089 4518.14 0 0 16090 4499.27 0 0 16091 4511.18 0 0 16092 4476.79 0 0 16093 4460.81 . . 16094 . . . 16095 . 0 0 16096 4445.48 0 0
Comment