Hi,
I am looking to plot a line graph for the first difference of variable lvixprice.
I am using
but the line is not plotting- nothing is shown on the line graph
Data:
Is there a minimum number of values required to plot the first difference of a time series variable?
I am looking to plot a line graph for the first difference of variable lvixprice.
I am using
Code:
twoway (tsline D.lvixprice)
Data:
Code:
input int date float(vixprice lvixprice) 16284 13.34 2.590767 16315 12.45 2.521721 16345 14.02 2.640485 16376 12.64 2.5368664 16406 10.84 2.383243 16437 10.84 2.383243 16468 10.95 2.3933394 16496 10.72 2.372111 16527 13.1 2.572612 16557 10.84 2.383243 16588 10.07 2.3095608 16618 10.59 2.3599102 16649 11.65 2.455306 16680 10.27 2.329227 16710 14.73 2.689886 16741 12.26 2.506342 16771 11.63 2.453588 16802 12.77 2.5470986 16833 12.69 2.540814 16861 12.44 2.520917 16892 12.23 2.503892 16922 21.27 3.057298 16953 16.8 2.821379 16983 16.48 2.8021474 17014 13.93 2.634045 17045 14.2 2.653242 17075 12.62 2.535283 17106 13.52 2.60417 17136 13.05 2.568788 17167 14.36 2.6644466 17198 16.87 2.825537 17226 14.89 2.70069 17257 15.34 2.730464 17287 14.28 2.65886 17318 14.69 2.687167 17348 21.8 3.08191 17379 23.62 3.162094 17410 20.65 3.027715 17440 21.01 3.0449984 17471 23.74 3.1671615 17501 23.24 3.145875 17532 29.03 3.36833 17563 29.06 3.3693626 17592 26.09 3.261552 17623 19.79 2.985177 17653 21.25 3.056357 17684 23.4 3.152736 17714 21.79 3.081451 17745 19.51 2.970927 17776 39.68 3.6808474 17806 54.15 3.991758 17837 44.65 3.798854 17867 38.9 3.660994 17898 41.76 3.731939 17929 38.43 3.6488385 17957 36.4 3.594569 17988 30.99 3.4336646 18018 26.83 3.289521 18049 25.03 3.220075 18079 23.77 3.1684244 18110 23.1 3.139833 18141 22.35 3.106826 18171 27.67 3.320349 18202 25.82 3.2511494 18232 20.3 3.010621 18263 22.9 3.131137 18294 18.45 2.915064

Comment