Just checking to see if this is normal - I'm trying to create a grid of values over which I'm going to be searching for a condition, but just setting up the dataset has already taken roughly 12 hours.
Code:
clear all set obs 10240000 gen sigma = 0 gen gamma = 0 gen alpha = 0 gen f = 0 gen f_h = 0 gen tau = 0 gen t = 0 local n = 1 forvalues d = 1(.25)10 { forvalues h = 1(.25)10 { forvalues tb = 2.5(.25)4.5 { forvalues s = 1.25(1)20.25 { forvalues tx = .15(.5).35 { forvalues a = .5(.1).8 { replace alpha = `a' if _n==`n' replace tau = `tx' if _n==`n' replace sigma = `s' if _n==`n' replace t = `tb' if _n==`n' replace f_h = `h' if _n==`n' replace f = `d' if _n==`n' local n = `n'+1 } } } } } } replace gamma = 2*(sigma-1)+.1
Comment