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
Step by Step Stata PanelDear Stata Users, I am quite a newbie to Stata and panel data. Actually when I take a look at books…
converting string to date returns missing valuesHello, I have a string variable (str10) which I want to convert into date so i can add and subtract …
Implementing Statistical Disclosure/Suppressing resultsHi, I need to filter tables (for example summary statistics exported using tabstat) sent to excel fr…
regress market model for a lot of variables and save the betasHi everyone,, I'm not very pratical with this program and i'm trying to improve my skills. I'm usi…
Margins after ivreg2 - with partial optionDear all, I am running IV regression using ivreg2 with the partial option; Code: ivreg2 total i.…
Subscribe to:
Post Comments (Atom)
0 Response to merging two variables with different values into one
Post a Comment