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 identify and operate characters in a string variable?Hi Statalisters, I am new to Stata and encounter some problems. I have a dataset with some string …
How to compare predicted margins across two separate models?Greetings, I'm running Stata 15 on OSX and working with panel data. My goal is to test and compare …
cmp - unable to allocate matrixHi, I am using the cmp command to simultaneously estimate three probit equation such as: DV1 = b0 …
Calculating conditional probabilities on stataHi everyone, I am analyzing a dataset of a specific treatment and the effect of such treatment on s…
moment evaluator programHi I am trying to write up a moment evaluator program that can be fed into a GMM routine. I am stuck…
Subscribe to:
Post Comments (Atom)
0 Response to Descriptive statistics after regression: multiple observations per id
Post a Comment