I created a new variable (gdp_change) and it is not showing up in the work library.
data gdp_trumbull_mahoning;
set hp.final_gdp4;
format gdp2018 gdp2019 gdp_change_2018_2019 comma10.2;
keep naics ecnty fips county state gdp2018 gdp2019;
where (state = "OH") and county in ("Trumbull", "Mahoning");
gdp_change_2018_2019 = gdp2019 - gdp2018;
*putlog _all_;
run;
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.