data STOCK; infile '/folders/myfolders/exdata/annual_stock_price.txt'; input year $ stock1 stock2 stock3 stock4 stock5 stock6 stock7 stock8 stock9 stock10 stock11 stock12 stock13 stock14 stock15 stock16 stock17 stock18 stock19 stock20; run; PROC PRINT DATA = STOCK; RUN; data STOCK1; set STOCK; label stock1 ='Microsoft' stock2 ='Apple Inc' stock3 ='Walmart' stock4 ='BJ' stock5 ='Costco' stock6 ='3M' stock7 ='Eli Lilly' stock8 ='Pfizer' stock9 ='Exelon' stock10='Toyota' stock11='Ford' stock12='GM' stock13='American Airline' stock14='Johnson & Johnson' stock15='Exxon' stock16='Georgia Pacific' stock17='American Standard' stock18='Northrop Gruman' stock19='Sears' stock20='Peco';
... View more