image_output_1.png
import matplotlib.pyplot as plt   # documentation: https://matplotlib.org/api/pyplot_api.html

import pandas as pd

import statsmodels.api as sm # https://www.statsmodels.org/stable/index.html

import pandas as pd
import matplotlib.pyplot as plt
import statsmodels.api as sm
input_data = pd.read_csv('../input/US_graduate_schools_admission_parameters_dataset_private.csv')

X = input_data[['GRE Score', 'IELTS Score', 'SOP', 'LOR ', 'CGPA']]
y = input_data['Chance of Admit ']
X = sm.add_constant(X)
multiple_linear_regression_model = sm.OLS(y, X)
multiple_linear_regression_model_fit = multiple_linear_regression_model.fit()

X1 = input_data['GRE Score']
y = input_data['Chance of Admit ']
plt.scatter(X1, y)
plt.show()