[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: trapezoidal integration over variables
I have a wide data set (each subject on its own row) with repeated
measurements over time, each time and measurement variable pair repeated six
times in Stata 8. I've read -integ- in the -range- command and it seems to
require a single pair of x and y variables.
I'd like to generate a new variable that, for each subject, contains the
trapezoidal integration of that subject's measurement over time, measured in
concentration*time units. There are data missing for some subjects at some
Can anyone suggest an elegant solution?
Drew University of Medicine & Science
Los Angeles, CA
* For searches and help try: