<s> """<STR_LIT>""" <EOL> import statsmodels . api as sm <EOL> import matplotlib . pyplot as plt <EOL> import numpy as np <EOL> data = sm . datasets . statecrime . load_pandas ( ) . data <EOL> murder = data [ '<STR_LIT>' ] <EOL> X = data [ [ '<STR_LIT>' , '<STR_LIT>' ] ] <EOL> X [ "<STR_LIT>" ] = <NUM_LIT:1> <EOL> y = murder <EOL> model = sm . OLS ( y , X ) <EOL> results = model . fit ( ) <EOL> fig , ax = plt . subplots ( ) <EOL> fig = sm . graphics . plot_fit ( results , <NUM_LIT:0> , ax = ax ) <EOL> ax . set_ylabel ( "<STR_LIT>" ) <EOL> ax . set_xlabel ( "<STR_LIT>" ) <EOL> ax . set_title ( "<STR_LIT>" ) <EOL> plt . show ( ) </s>
