Hi guys, I want to create a dataset with the datalines statement that includes Canadian bankruptcy data by NAICS (straight from https://www.ic.gc.ca/eic/site/bsf-osb.nsf/eng/br02234.html). My datastep looks a little like this: data industry_BK; length Industry $15 NAICS $2; input Industry $ NAICS $ BK_rate 3.1 Ins_Rate 3.1; datalines; Agriculture 11 0.2 0.3 Mining 21 1.3 2.1 Utilities 22 1.2 1.2 Construction 23 1.3 1.8 ; quit; However, when I run this, I get the following: It appears to grab the first digit, but loses everything after the decimal. I've read through a few documentation pages, but clearly I'm just not getting it. Can someone help me to understand why this doesn't work and how I can fix it? Many thanks!
... View more