It is great that you provide SAS code with your data sources. I would like to use your program applied…