Please advise how I can keep a subset of data using "date variable": i.e. keeping data from 27 Feb 2006 and 16 July 2006 (inclusive)
Tried this and obviously didn't work:
keep if allegdate >="27feb2006" & <="16jul2006"
Related Posts with Keeping subset of data using date variable
Using a "contain" expression instead of an equals expressionI am trying to process a hospital dataset using ICD-10 codes For example, I have created a variable …
Identifying datasets with completely missing rows while working with many files in a folderDear Statalist members, Assume that in a folder with thousands of files, there are some that have c…
ADF Test Variable ChoiceDear Users, I have the following naïve question: I have a macroeconomic variable for the years 198…
Stacked graph with multiple variables and different scalesDear all, I would like to replicate the attached graph on STATA but I am not able to have the second…
coeeficientI have performed a difference-in-differences analysis with the following regression: Priceit = β0 +…
Subscribe to:
Post Comments (Atom)
0 Response to Keeping subset of data using date variable
Post a Comment