Hi all,
my dataset is like that:
id data time
1 01jan2018
1 01jan2018
1 03jan2018
1 03jan2018
1 03jan2018
1 06jan2018
.... ................
2 01jan2018
2 01jan2018
2 01jan2018
2 01jan2018
2 05jan2018
2 05jan2018
2 07jan2018
.... ................
so, I want that to become
id data time
1 01jan2018
1 02jan2018
1 03jan2018
1 04jan2018
1 05jan2018
1 06jan2018
.... ................
2 01jan2018
2 02jan2018
2 03jan2018
2 04jan2018
2 05jan2018
2 06jan2018
2 07jan2018
.... ................
Could anyone help me?
Thanks for each reply.
Related Posts with Manipulating datatime
re-generate time varying variable when collapsing from daily panel data to monthly panel dataDear Statalist Members, Hi, I'm trying to convert my daily panel data to monthly panel data using c…
Can not use -suest- for margins after probit or regressDear Statalists, I am trying to estimate for several models (using -probit- or -regress-) and hope …
Creating Variable - years since an eventHi there, I have a panel dataset and wish to do a regression analysis that involves a variable, "Ye…
Testing statistical difference in coefficients after ppml estimation of gravity modelDear all, I am running a PPML regression for a trade gravity model using bilateral trade flows and …
Estimation via SURE model(Seemingly Unrelated Equation Models) dependent variable delta_cash short term debt long term debt intercept working ca…
Subscribe to:
Post Comments (Atom)
0 Response to Manipulating datatime
Post a Comment