AI, Data Analysis, Data Analytics, Python, Jupyter Notebook.
statsmodels.api as sm X = df[['Green_Space_Area', 'Air_Quality_Index']] y = df['Healthcare_Index'] X = sm.add_constant(X) # adding a constant model = sm.OLS(y, X).fit() print(model.summary()) The regression analysis results indicate the following: The R-squared value is 0.886, indicating that