Question: translate stata code to julia : clear use fed.dta gen mydate _ numeric = date ( date , YMD ) drop date rename
translate stata code to julia :
clear
use fed.dta
gen mydatenumeric datedateYMD
drop date
rename mydatenumeric date
merge :m date using D:Sepahsalariweeklymonthsabook.dta"
format date td
tsset CASEID date
Compare employmentrate by EMP and unemploymentrate by UNRATE
graph twoway tsline employmentrate, colorblue legendlabel "Employment Rate NLSY
tsline EMP, colorred legendlabel "Employment Rate FED
titleComparison of Employment Rate"
ytitlePercentage xtitleMonth
graph export D:SepahsalariweeklyemploymentratevsEMP.png replace
Compare unemploymentrate by UNRATE
graph twoway tsline unemploymentrate, colorblue legendlabel "Unemployment Rate NLSY
tsline UNRATE, colorredlegendlabel "Unemployment Rate FED
titleComparison of Unemployment Rate"
ytitlePercentage xtitleMonth
graph export D:SepahsalariweeklyunemploymentratevsUNRATE.png replace
Compare CIVPART by employmentrate
graph twoway tsline CIVPART, colorbluelegendlabel "Inactivity Rate NLSY
tsline participationrate, colorredlegendlabel "Inactivity RateFED
titleComparison of Inactivity Rate"
ytitlePercentage xtitleMonth
graph export D:SepahsalariweeklyCIVPARTvsparticipationyrate.png replace
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
