hi ! I have a problem like this since I am a new in SAS I couldn't find the way to start the problem. The problem is: Note: I have given the data named 'hidalgo' Part 1 Write a macro that accepts a table name, a column name, a list of integers, a main axis label and an x axis label. This function should scan over each element in the list of integers and produce a histogram for each integer value, setting the bin count to the element in the input list, and labeling main and x-axis with the specified parameters. You should label the y-axis to read Frequency, bins = and the number of bins. Part 2 Test your macro with the hidalgo data set (see below), using bin numbers 12, 36, and 60. You should be able to call your macro with something like %plot_histograms(hidalgo, y, 12 36 60, main="1872 Hidalgo issue", xlabel="Thickness (mm)"); to plot three different histograms of the hidalgo data set. Hint: Assume 20 40 60 resolve to a single macro parameter and use %scan . Your macro definition can look something like %macro plot_histograms(table_name, column_name, number_of_bins, main="Main", xlabel="X Label")
... View more