Statistical Process Control in Python
System Reliability and Six Sigma in R and Python 16 Statistical Process Control in Python Figure 2.1: Statistical Process Control! In this workshop, we will learn how to perform statistical process control in Python, using statistical tools and plotnine visualizations! Statistical Process Control refers to using statistics to (1) measure variation in product quality over time and (2) identify benchmarks to know when intervention is needed. Let’s get started! Getting Started Packages # Remember to install these packages using a terminal, if you haven’t already! !pip install pandas plotnine scipy We’ll be using pandas for data manipulation, plotnine for visualization, and scipy for statistical functions. import pandas as pd from plotnine import * Custom Functions…