proc gampl data=nba.jordan_mining plots=all seed=9999; where shot_zone_range not in ("24+ft.","Back Court Shot") and shot_distance<30; class end_of_game(ref="Not End of Game") action_type(ref="Jump Shot") homegame(ref="Home") Last_Minute(ref="not last minute") Last_quarter(ref=">=4") season_type(ref="Regular Season")Close_game(ref="Not Close") pressure(ref="0"); model Event_Type(event='Made Shot') = Spline(loc_X loc_Y_minus / maxdf=40) param(action_type homegame season_type pressure end_of_game close_game) / dist=binary link=logit; id _ALL_; output out=NBA.JORDAN_GamPLOut pred=predicted_probability_gampl residual=residual_gampl pearson=pearson_gampl lower=lower_gampl upper=upper_gampl; run;