Regression Models Lab

Introduction to Machine Learning in Pharmaceutical Sciences (BP301T) · Semester 3 · Unit 2: Regression Models in Healthcare

Fit a line to dose-response data and read its coefficients, residuals, MSE, RMSE and R².

What this unit covers

Linear and multiple linear regression describe continuous teaching outcomes. Inspect coefficients, residuals, MSE, RMSE, and R² before reading a sample dose-response, dissolution-rate, or PK-style relationship; a fitted model does not establish clinical validity.

Apply it

Fit an educational dose-response line, compare it with the best fit, inspect residuals and error metrics, and state why the result is not a real prediction.

How this lab works

Fits a least-squares line to sample points and updates the residuals and error metrics as you move them.

Data used

Sample data made for teaching. No patient, company or clinical records are used.

Limits

For learning only. Results are not clinical, regulatory or quality decisions.

Go to the BP301T courseAll practice labs