Dear Statalist users,
I am running a conditional risk set model (survival analysis), which entails having multiple observations per subject. I am building the descriptive statistics table for my paper, and I've been using the "estat sum" command in Stata IC 15.1. My intuition is that estat sum is calculating the sum of values for variable j and dividing it by total number of observations. This is NOT what I am looking for, as some subjects have more events than others. Is there any way to weight the calculation of mean values?
Many thanks.
My results look as follows:
Array
Related Posts with Descriptive statistics after regression: multiple observations per id
How to tackle the r1400 error message with xtmixedHELLO< I have repeated measures data where patient scores are measured over four visits. The tim…
marking ticks in the bar graphHi, Below is my graph that I used to generate the following graph. I want to add ticks to the middl…
postestimation, predict, and pweightsHi, I use the following regression: Code: reg y x i.time [pweight=weight], r predict yhat, xb by…
Interpreting Fisher-type unit root tests in panel dataHello, I have an unbalanced panel data set consisting of N=25,102 and T between 1-35 years (on aver…
How to destring date/time with commaHello, I have a date/time variable formatted in the following way: "01-24-2019, 03:26 PM" and canno…
Subscribe to:
Post Comments (Atom)
0 Response to Descriptive statistics after regression: multiple observations per id
Post a Comment