[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: writing a program that uses TAB results for every observation
I'm needing to TAB for every observation (of several
million) and pick out only certain results from the
TAB and assign it for the relevant observation. How
would I do that?
tab var1 if var2=A
For each of observation where var2=A, I would like to
assign sum of the squares of the percentages in the
tab results table in a new variable (say var3). So,
final result would look like:
var1 var2 var3
1 A 3267 (=33^2+33^2+33^2)
2 A 3267
3 A 3267
3 B -
How can I do this? Thank you very much in advance,
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
* For searches and help try: