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
Is there a way to get overall effects for a KHB decomposition when I have a categorical key variable?Dear all, I am currently running a KHB mediation analysis with a continuous DV (cognitive developmen…
Creating a study site map in stataHello Statalisters, I would like to find out if it is possible to generate a country map showing a …
Assign a dummy 0/1 to each county based on a scoreHello everyone, I have a dataset with US counties where for each county in each quarter I have the t…
Update to heatplot available from SSCA bugfix for heatplot is now available from the SSC Archive. Binning of x and y was erroneous at the…
Heterogenous Treatment EffectsHello, I have a question regarding heterogenous treatment effects. First I have estimated the propen…
Subscribe to:
Post Comments (Atom)
0 Response to Computing a cumulative score
Post a Comment