Standard Error

Python में Linear Modeling परिचय

Jason Vestuto

Data Scientist

Predictions में Uncertainty

Model Predictions और RMSE:

  • data से तुलना की गई predictions से residuals मिलते हैं
  • residuals में फैलाव होता है
  • RMSE, residual फैलाव मापता है
  • RMSE, prediction की गुणवत्ता बताता है
Python में Linear Modeling परिचय

Parameters में Uncertainty

Model Parameters और Standard Error:

  • Parameter का मान center होता है
  • Parameter का standard error फैलाव दिखाता है
  • Standard Error, parameter की अनिश्चितता मापता है
Python में Linear Modeling परिचय

Standard Errors निकालना

df = pd.DataFrame(dict(times=x_data, distances=y_data))
model_fit = ols(formula="distances ~ times", data=df).fit()
a1 = model_fit.params['times']
a0 = model_fit.params['Intercept']
slope = a1
intercept = a0
Python में Linear Modeling परिचय

Standard Errors निकालना

e0 = model_fit.bse['Intercept']
e1 = model_fit.bse['times']
standard_error_of_intercept = e0
standard_error_of_slope = e1
Python में Linear Modeling परिचय

अभ्यास करते हैं!

Python में Linear Modeling परिचय

Preparing Video For Download...