Hello Everyone!!
I need to obtain weekly means for some measurements. I need a weekly mean by subject and week for each of them. I'm not able to do it
+----------------------------------------+
| CODICE Settim~a GLI1 GLI2 |
|----------------------------------------|
1. | 20008 1 101 98 |
2. | 20008 2 95 100 |
3. | 20008 3 102 113 |
4. | 20008 3 110 90 |
5. | 20008 3 113 91 |
|----------------------------------------|
6. | 20008 3 113 91 |
7. | 20008 4 101 . 104 |
8. | 20008 5 92 91 |
9. | 20008 5 104 101 |
10. | 20008 6 101 85 |
+----------------------------------------+
Where CODICE stands for id, Settimana stands for a week, and GLI1, GLI2, and GLI3 are the measurements
Thank you all in advance
Related Posts with Weekly means
Estimating an hourly ATE in the DID frameworkDear Statalist, I am trying to estimate the average treatment effect for each hour of the day(0-23…
Marginal effects command doesn't work. Don't understand error: factor variables may not contain noninteger valuesHi! I'm doing a binary logistic regression in Stata 15.0, but my supervisor told me you cannot inte…
How to count number of countries when you have individual-level data of many countriesHi, I need to fill in my descriptive statistic analysis sample, and thus I need to count the number…
Average of Previous (x) ObservationsGood morning, At the moment I need to calculate the average of the 3 previous nmfp for each horse. …
Count occurences of a dummy variable by ID in panel dataHi everyone, I am working with a panel data about the living conditions of individuals in different …
Subscribe to:
Post Comments (Atom)
0 Response to Weekly means
Post a Comment