Hi everyone,
I have done some research, but couldn't find the answer to the following issue.
Dataset examplet:
production_start production_end quarter
02apr2007 31dec2011 2009q1
14jan2001 31dec2009 2009q2
18sept1997 21apr2005 2005q2
14oct2005 13mar2008 2005q2
I would like to generate a new variable pdays_q (production days in quarter), which would reflect how many days in the quarter is the factory working.
Thank you!
Related Posts with Gen variable
Table commandHi guys I'm at the beginning of this software I'm running this command to obtain a table with the me…
Ytitle positionI want to reposition the title of the Y axis to where the red line I marked in the attached screensh…
Identification of waitresses who previously worked in particular roles I would like to define a waitress, and not receptionist, (identified by employee ID and a dummy var…
xtpmg r-squaredDear all, I am using xtpmg to estimate an error correction mechanism with panel data. I am able to…
Importing .shp file to Stata with "long" varnameHello, I am trying to import a .shp shapefile containing English local authorities into Stata using…
Subscribe to:
Post Comments (Atom)
0 Response to Gen variable
Post a Comment