Created
May 10, 2022 16:47
-
-
Save rsalaza4/b5e4b8f776d63a1e8f753613637c09d3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Rule 1 - Lower | |
| for x in df_grouped['x_bar']: | |
| if x < df_grouped['LCL'][1]: | |
| R1_lower.append(False) | |
| else: | |
| R1_lower.append(True) | |
| # Rule 1 - Upper | |
| for x in df_grouped['x_bar']: | |
| if x > df_grouped['UCL'][1]: | |
| R1_upper.append(False) | |
| else: | |
| R1_upper.append(True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment