And what have you tried so far?
Really?
1.Don't ask us to do your homework.
2.Try and ask question (providing code) if something unexpected comes.
And where pray tell does the Make information come from?
Are you implying that Obs 1, 8 and 15 come from the same make? If so which one? Your starting data description is incomplete. And without explicit directions on where to find Make information likely going to teach very bad habits about constructing data.
I know I can put together a data set if proper descriptions are included but I suggest that whoever provided the "not a data set ONE" should be whipped with wet spaghetti noodles. Relying on a not stated order and number of responses to align data is asking for failed processes.
For instance what if the set one had 19 or 22 obs in it? What would the result look like?
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.