Hello to all.
I´m kind of new in using STATA, and I´m having trouble figuring out how to merge observations. I have binary values for several variables, with several observations per day, and I have to present the weekly values (the addition of them all, per week). I understand it´s a bit basic, but I would appreciate any help. Here´s an example:
Date Week CO MU MN
2017-03-18 17/11 0 0 1
2017-03-18 17/11 0 0 1
2017-03-18 17/11 0 1 0
2017-03-18 17/11 0 0 1
2017-03-18 17/11 0 0 1
2017-03-18 17/11 0 0 1
2017-03-18 17/11 0 0 1
2017-03-19 17/12 0 0 1
2017-03-19 17/12 0 0 1
2017-03-19 17/12 0 0 1
2017-03-19 17/12 0 0 1
2017-03-19 17/12 0 0 1
2017-03-19 17/12 0 0 1
2017-03-19 17/12 0 0 1
2017-03-19 17/12 0 0 1
2017-03-19 17/12 0 1 0
Related Posts with Adding and simplifying observations; from daily to weekly
Overflowing legend, uncentered title in Stata graphs on MacHello, I'm trying to plot a histogram on Stata. This is the code I've used and I've used it many ti…
Help for CS-ARDL and CS-DLHello, I need help with the (PMG ARDL), (CS-ARDL) and (CS-DL) with the following Panel model specifi…
Problem with year dummy variable - Hausman and GMM modelsDear Statalisters, I am trying to run a couple of models using the Hausman test and GMM model. In …
advice on stataHello, I am working on a project linking mortality to NHANES survey data and would like some feedba…
Help Creating Group/Time VariablesHello, I am new to stata. I need help creating group/time variables for a difference-in-differences …
Subscribe to:
Post Comments (Atom)
0 Response to Adding and simplifying observations; from daily to weekly
Post a Comment