In a prospective study with 336 patients, I have a variable "number_of_events_since_operation". It contains information (a numerical value) on have many events each patient has experienced (range 0-25). Is it possible to count the total number of events for the whole group? (i.e. adding the number of events from each patient)? As you can see, 21 patients experienced one event, 33 patients experienced two events, etc.
I'm aware that I can calculate by hand, but I guess there must be a STATA command for this purpose.
Thanks,
Therese
Array
Related Posts with summing up total number of events
(How) Can I calculate a significance test for Kendall´s Tau c in Stata?Dear community, I calculated Kendall´s tau c in Stata "by hand" because the ktau-command only conta…
principal factor vs. principal-component factor option for factor analysis Hello everyone! Can someone explain me the difference between the "principal-factor" and "principa…
Conditional logistic regressionHi! I am new to this forum and looking for some advice please. I have run a conditional logistic reg…
Represent Table to Line graphGreetings. I would want to transform my tabulation: ta bdcategory year to be represented in a line g…
Monthly rolling regressions - recording residualsHi All, Thanks for reading. I currently have daily time series data for the periods from July 2010…
Subscribe to:
Post Comments (Atom)
0 Response to summing up total number of events
Post a Comment