pasting code into command bar
Posted: Thu Sep 11, 2014 5:25 pm
I have manually inputted a code of the following format into the eviews command panel to create dummy variables:
smpl if ny>100
series dummy2=1
smpl if ny<=100
series dummy2=0
smpl if chcg>100
series chcg100=1
smpl if chcg<=100
series chcg100=0
etc etc....
I would like to repeat the process changing the values from 100 to 1,5,10,25 and 50. My idea was that I could simply copy the code from eviews into notepad, use the replace function to change the number, and then paste back into the eviews command bar, however this seems not to work. Any ideas how I could do this?
Many thanks!
smpl if ny>100
series dummy2=1
smpl if ny<=100
series dummy2=0
smpl if chcg>100
series chcg100=1
smpl if chcg<=100
series chcg100=0
etc etc....
I would like to repeat the process changing the values from 100 to 1,5,10,25 and 50. My idea was that I could simply copy the code from eviews into notepad, use the replace function to change the number, and then paste back into the eviews command bar, however this seems not to work. Any ideas how I could do this?
Many thanks!