Questions
Why is it good to include
_list
at the end of an array name?What does adding a condition to an array accomplish?
Why is it often necessary to rename variables for arrays?
What considerations do SAS data warehouse managers need to make about serving up index variables to users?
Why would an organization such as the MCHP publish their SAS code and array programming information for certain indexes they maintain in their datasets for the public to see?
Imagine you have a dataset with 250 responses to 20 survey questions, and the variables are all coded as 1, 2, 3, 4, or 5, indicating a spectrum of strongly disagree = 1 to strongly agree = 5. You learn that this is a weekly customer satisfaction survey. You will be receiving hundreds of surveys in this structure every week, and you need to load them and make a report every week. Your supervisor wants you to create flags for each question on each survey, where the answers are coded as either 4 = somewhat...