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
how to generate the median variable by industry every 3 years?Hello everyone: I am trying to get the median of the sales growth rate for all the companies within…
Descriptive statistics if command error r(198)Hi everyone, I am trying to create a descriptive statistics table of my data but only for the cases…
Tab2xl issuesHello everyone, I've just come across tab2xl and have been trying to include it in a loop to get a …
delimiters not recognized by stata when importing txtDear statalist, I have a txt file which I would like to import in stata. The delimiter I use is "§"…
Labelling units in a numlist of a loopDear all, For a number of countries in PISA, I am studying the expectation of college graduation am…
Subscribe to:
Post Comments (Atom)
0 Response to Computing a cumulative score
Post a Comment