I have some data for six different columns that I want to create a histogram for each column. This is pretty straight forward where I can use SGPLOT, for example
PROC SGPLOT DATA=test;
HISTOGRAM leverage;
RUN;
However, now I want to calculate the 1%, 99% quantiles from the column called "leverage" and then insert these two values as points, also with their names. This is pretty easy to do in R, but I need to be able to do it in SAS aswell. Here is how the plot should look like, which has been done with ggplot in R.
Notice that I have to add another point which comes from a CSV file. I think I can manage to plot this aswell if someone can help me plot the quantiles. Thanks