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
Is there a command for Black Scholes model for American options?I realise there is Code: bsopm for European Option, but I wonder, is there a command for American d…
Cox-regression:proportional hazard test by Schoenfeld residualsHi! I have performed cox-regression on a data set with both continuous and categorical variables. In…
Custom STS graph axis with spacingHi, This is my first post on STATALIST I am trying to create a custom y axis scale using Sts graph…
Table from string and numeric variablesHello, this is a general question about the best approach. I am using stata 16.1 I want to make a t…
RDRobust QuestionHi all, I am trying to use a fuzzy regression discontinuity strategy in some data work of mine. I h…
Subscribe to:
Post Comments (Atom)
0 Response to Generating variable for a range of dates
Post a Comment