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
set seedHi All, As I understand set seed the numbers to produce the same result for randomization when runni…
Test to compare Positive and Negative Predictive Value?Hi all, I wonder if its possible use a test to compare Positive and Negative Predictive Value with …
generating dummy variables for consecutive yearsHi everyone! I am quite new to Stata and I probably have a simple question, but I am not able to fi…
Merged file size is ~5X the source: Mechanism behind MergeHello, This is my first post on Statalist and I have tried my best to follow posting advice in the …
Changing a discrete variable into a dummy and loosing significanceDear all, I am writing an essay using an unbalanced panel dataset. Right now I am using a Linear Pr…
Subscribe to:
Post Comments (Atom)
0 Response to Selecting Date Range
Post a Comment