Question: Problem 4 . You are provided with the following dataset:The variable DUMMY is composed of the initials of the person and their age. The last
Problem
You are provided with the following dataset:The variable DUMMY is composed of the initials of the person and their age. The last two digits are the age of the person. Create a numeric variable AGE that will include only the age of the person. I suggest you use SUBSTRING and LENGTH functions
This question is using the SAS program.
data change ;
input dummy $;
datalines;
kmn
kl
poj
ghj
klrm
;
run ;
Problem
You are provided with the following dataset:The variable DUMMY is composed of the initials of the person and their age. The last two digits are the age of the person. Create a numeric variable AGE that will include only the age of the person. I suggest you use SUBSTRING and LENGTH functions wordsDanishAccessibility: UnavailableFocus
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
