Hello statalist, I have a panel data needs to calculate the sum of a column value between two dates for each studyid. For example, I need sum MsgRepNtwk between the two mark_date and create a new column storing the output. How could I operate it? Thanks very much for helping it out.
Array
Related Posts with Sum values between two dates in a panel data
Plotting yearly and monthly data in the same graphHi all, I have two variables. Let's say I observe variable M each month. However, for variable Y, I…
Wald(chi) missing in Random EffectsI am testing the effect of ESG rankings on effective tax rate and Hausman test shows me to do random…
summary of the scores into one row clear input id question str10 d1 str10 d2 str10 d3 scores smoking 1 2.1 "23/01/2013" "05/02/2015" "…
How to save the content of result interface in STATA?When trying to save the content of the results interface of STATA, I found this discussion (https://…
F-tests on coefficients of non-nested regressionsHi guys I'm using ivreg2 with Stata 16.0 and windows 10 OS. I want to test the equality of coeffici…
Subscribe to:
Post Comments (Atom)
0 Response to Sum values between two dates in a panel data
Post a Comment