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
Alternatives to ratio of two count variables when there are zerosHello everybody, I apologize in advance for the lengthy post but I just want to provide some contex…
How to reshape data from wide to long with multiple variables?Hi, I have two questions regarding data cleaning: Q1) I have a following wide data and want to conv…
Doing Bayesian modelling in StataHello This is something that has puzzled me for a while but I haven't pursued it because I use rsta…
Creating a new categorical variable by spousal agreement/disagreementHi, I'm trying to create a new categorical variable that indicates (heterosexual) spousal disagreeme…
How to reshape data from wide to long with "tricky" variable names and how to merge multiple data files?Hi, I have two questions regarding data cleaning: Q1) I have a following wide data and want to conv…
Subscribe to:
Post Comments (Atom)
0 Response to Selecting Date Range
Post a Comment