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
Fixed effect, dummy, and clusteringHi I am wondering that is the difference between inserting year fixed effect and year dummy in a reg…
drop missing variables except for one yearHello, I have a panel dataset (2013-2018) in which I want to delete all observation of which I do n…
Gls problemHi Forum! I have a problem with GLS method. I'm not sure that the Stata command "xtgls" is correct f…
Time Series Analysis, declare Date variable to be quarterlyHello, I am using StataIC16 and I am currently trying to convert my collected data into a data set.…
Issue with 1-to-1 Mahalanobis matchingDear all, I am currently writing my master thesis and struggling a bit with Stata. The aim of my th…
Subscribe to:
Post Comments (Atom)
0 Response to Descriptive statistics after regression: multiple observations per id
Post a Comment