Code: Select all
series studentToShow = @ceiling(@obsrange*rnd)
scalar student = @elem(studentToShow,1)For what it's worth, all I really want to do is to randomly select one observation from an alpha series in the next step. Maybe there's a better way to do it?
