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
Why the researchers add controls variables in Panel Data regression?Dear Statalist, I am wondering about the reasons behind adding more control variables in the panel …
Importing delimited csv with special characters including double quotesI am trying to import a large comma-delimited csv (~1M rows). Variables are bound by double quotes b…
Time Series, Range specification "if": "tin": "range" commands.Dear All, Thanks in advance! I was running a Vector Autoregressive Model (VAR) with time-series dat…
Using the Code substr() for numbers of regionsHello Everybody! I need help with a code. I have numbers of german's regions (e.g. 1002,1051 to 160…
How to run the same macro-command(s) on multiple files (creating a loop)Hi! I am wondering how to run a macro-command on multiple files in a folder. The file-names (txt) a…
Subscribe to:
Post Comments (Atom)
0 Response to Sum values between two dates in a panel data
Post a Comment