I have a data where one of the variables is CloseDate whose Variable Type is int and Format is %tdnn/dd/CCYY. I would simply like to select a range to include when Total the sum of a variable. In other words, sum the amounts between, for example, 1/1/2022 and 12/31/2022. As a new Stata user, I would appreciate help doing what I think should be an easy task. Thanks for your help.
Related Posts with Selecting Date Range
cluster standard errors at firm level and year level in 2SLSI am running my baseline regressions using OLS method with Petersen (2009) two-dimensional clustered…
KHB: Summary of Confounding with Averarge Partial Effects (ape)Dear Statalisters, I hope you can help me with the following question, that I have regarding the kh…
Temporary file disappears while running ado-code in Stata 16.0THIS MESSAGE WAS DESCRIBING THE PROBLEM, WHICH TURNED OUT NOT A BEING A SUSPECTED BUG, AND WAS EXPLA…
Creating four quadrant diagramHi to everyone! Is there any commands in STATA to create a four quadrant diagrams as depicted in the…
Four quadrant diagramHi to everyone! For example I have a dataset with three variables: 1) Date 2) Var1 3) Var2. And I wa…
Subscribe to:
Post Comments (Atom)
0 Response to Selecting Date Range
Post a Comment