Hi,
I have the following sample of data. I have an indicator of 1 and 0 in once column and I want to compute the sum of consecutive 1s (i.e the cumulative column) for each ID.. How can I do that in stata? Array
Related Posts with Computing a cumulative score
Placing a dot and a line segment on a graphHi, I'd love to get some help on drawling a dot (or a filled in circle) at (126, 0) and a line segme…
Formulas of the regs' standard errorsWhere can I find the formulas that the different vce() in the reg command use? The help file does no…
key-value formatHi, in IMHO, currently biggest Stata´s flaw, in data management area, is the native "lack" of suppo…
Creating New Variable based on Values of Another Variable (by group)Hello Stata Friends: I would like to make the values of one variable, each into their own new varia…
Merging_adviseHi statalist community, I need some help with merging File A has a unique ID File B has a unique I…
Subscribe to:
Post Comments (Atom)
0 Response to Computing a cumulative score
Post a Comment