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
Deleting a file if file size exceeds a threshold sizeI want to delete a dta file if its size is less than x kilobytes. I use the code below. The dta file…
log of negative valueHello, I am looking at the impact of deficit on an outcome variable (Spending). All variables are p…
Omitted- predicts failure or successlogistic Out Exp var_n var_m var_k var_k var_n != 1 predicts success perfectly var_n dropped and 1 …
Perform weak instrument test for two endogenous regressorsHi all, From my understanding weakivtest only works when we have one endogenous variable. Is there a…
Cramer V, more than 2 variables, tableWe can calculate the Cramer's for each single variable combination by "tabulate v1 v2, V". But is it…
Subscribe to:
Post Comments (Atom)
0 Response to Selecting Date Range
Post a Comment