Hello Members,

I have a dataset that looks like this:

Code:
clear
input float(time v1 v2)
1 500 20
2 500 15 
3 500 12  
1 200 20 
2 200 15
3 200 12 
1 100 20
2 100 15
3 100 12
end
tempfile dataset1
save `dataset1'


I want to replace the 500 values at time=2 and time=3 with 200 and 100. The actual dataset I'm working with is much larger, so a simple -replace- or -drop- would take a very long time to compute. The end result should look something like this:

Code:
clear
input float(time v1 v2)
1 500 20
2 200 15 
3 100 12  
end
tempfile dataset1
save `dataset1'


I would appreciate any assistance!

Thanks,
Anoush K.