Question: Examine this SAS data set including the variable labels and attributes. Create a variable that counts the total number of songs per band. Calculate the
- Examine this SAS data set including the variable labels and attributes. Create a variable that counts the total number of songs per band.
- Calculate the median length of songs for each genre.
- Combine the median length from part b) with the original data and counter variable from part a) into one final data set. This final data set should be sorted by band name, and should not include any automatic variables that may have been created along the way.
- Examine the results from parts a), b), and c), and state in a comment in your program the number of bands, and number of genres in the data set. Also, state the total number of observations in the original and final data sets.

3. The SAS data set called ILU'v'THEBDS contains data on the top 100 songs of the Eighties as ranked bv the cable television network VH1. The variables in the data set include information such as the band, title, genre, and length of the song. a. Examine this 5A5 data set including the variable labels and attributes. Create a variable that counts the total number of songs per band. b. Calculate the median length of songs for each genre. Combine the median length from part b} with the original data and counter variable from part a} into one final data set. This final data set should be sorted bv band name, and should not include anv automatic variables that mav have been created along the wav. d. Examine the results from parts a], b], and c], and state in a comment in vour program the number of bands, and number of genres in the data set. Also, state the total number of observations in the original and nal data sets
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
