Hello all, I am new to Stata, and have a midterm exam. I am hoping someone can help with a newbie quesiton.
I am using ESS data where the subjects are interviewed between Jan 11 and May 2nd There are two variables I am interested in combining. The day and the month. I need to make a histogram of the dates from January 11th up to Feb 18th, and then again from Feb 20th to May second. Leaving out Feb 19th.
Since the day of the interview and the month of the interview are two different values, coded quite differently, how can I make a histogram that has the spread of interviews from january to may by day on the x axis and number of interviews on those days on the y axis?
Is there a way to recode the data in order to show this information? I hope I have included the information necessary, happy to elaborate!
Related Posts with merging two variables with different values into one
Rifhdreg with survey dataDear, I want to estimate a recentered influence function with the median as distributional statisti…
Advantage of using fixed-effects in addition to an instrumental variable approach?Hi, Considering one has panel data and an endogenous regressor (correlated with the time-varying er…
Not finding a local?Dear All, I am trying to estimate an event study to evaluate the effect of 5 different policies - Y…
Bounds Test InterpretationHello Everyone, I am performing the Pesaran, Shin, and Smith (2001) bounds test using Code: estat …
Font sizeDear All, Is there any way to control the font size that is applied when the translate command is a…
Subscribe to:
Post Comments (Atom)
0 Response to merging two variables with different values into one
Post a Comment