Changing single data point in time series
Posted: Tue Aug 20, 2019 3:47 am
I am fetching a recession dummy for the Eurozone from the Haver database:
fetch(d=G10) N025VRM2
My problem is that, for the specific analysis I am conducting, I'd like to treat the first half of 2003 as a recession (Eurozone GDP contracted in Q1, and was virtually flat in Q2). So I'd like to add a simple routine to my program to overwrite the series at 2003Q1 and 2003Q2 setting it equal 1, without doing it manually every time. It must be simple... yet... :-D
Any tip?
Thank you all in advance!
Adolfo
fetch(d=G10) N025VRM2
My problem is that, for the specific analysis I am conducting, I'd like to treat the first half of 2003 as a recession (Eurozone GDP contracted in Q1, and was virtually flat in Q2). So I'd like to add a simple routine to my program to overwrite the series at 2003Q1 and 2003Q2 setting it equal 1, without doing it manually every time. It must be simple... yet... :-D
Any tip?
Thank you all in advance!
Adolfo