Hi,
I am looking to create a variable that encompasses several dates. I am doing a project on product sales given a media spike. My data set is organized like this (just a small portion):
dates times price YeezyShoe
Tuesday, April 2, 2019 5:29 AM EST 149 0
Tuesday, April 2, 2019 5:29 AM EST 149 0
Monday, April 1, 2019 10:34 PM EST 121 0
I would like to create a variable for 9/9/18-9/15/18. How should I format my code?
Related Posts with Generating variable for a range of dates
"Command ysca is unrecognized" - from help graph_combineHi, I am currently looking at the graph_combine help file to solve the problem that I have posted h…
Help choosing Fixed effect vs Random effect for a binary panel data regressionHello everyone, I am working on a binary panel data regression. I did the Hausman test to see if I…
How to extract numbers from string with combination of text and number?How do I extract 801011001, 801011002, 801011003, etc from the variable 'parm'. Example dataset is b…
--collect export-- takes a really long timeHi, I like the idea of the new -collect- functions, but in my first application it take >5 minute…
Missing values have been mergedHello, I have an issue with merging that I find rather cryptic. I have several waves of household d…
Subscribe to:
Post Comments (Atom)
0 Response to Generating variable for a range of dates
Post a Comment