Question: For this assignment, you are expected to write a code that checks the validity of Turkish Identification Number. The code should create a column which

 For this assignment, you are expected to write a code that

For this assignment, you are expected to write a code that checks the validity of Turkish Identification Number. The code should create a column which states the validity of that number. E.g. Turkish ID Number is subjected to the following algorithm: - ID number consists of 11 digits. - 10th digit is calculated using the first 9 digits: The summation of the 1st,3rd,5th,7th and 9th digits is multiplied by 7 (Let's call this number A). Then, the summation of the 2nd,4th,6th and 8th digits is multiplied by 9 (Let's call this number B). The units digit (or mod 10) of the sum of A and B is the 10th digit. - 11th digit is calculated using the first 10 digits: The summation of the 1st,3rd,5th,7th and 9th digits is multiplied by 8 . The units digits (or mod 10) of this number is the 11th digit. In order to complete this assignment, you should be familiar with string operations in SAS. The sample dataset should be created by you. You can either use Excel to create random numbers then, import this dataset to SAS or you can use SAS commands to create your sample dataset in SAS (e.g. data lines command). It's up to you. J

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!