Generated figures
Every chart in the manual that is drawn by the processbehavior library, with the call that draws it. Chapter pages embed these outputs.
from processbehavior import ProcessBehavior
bottle_weight = ProcessBehavior.read_csv('data/bottle_weight.csv').formulate(
response='BOTTLE WEIGHT', time='BOTTLE')
cup_fill = ProcessBehavior.read_csv('data/cup_fill.csv').formulate(
response='FILL WEIGHT', factors=['LANE', 'PHASE'], time='PULL')
pm_sds_2 = ProcessBehavior.read_csv('data/pbtestdatabase_t100.csv').formulate(
response='PM SDS 2', factors=['FACTOR 1', 'FACTOR 2'], time='PRODUCTION TIME')
sds1_first50 = ProcessBehavior.read_csv('data/t100_sds1_first50_two_readings.csv').formulate(
response='PM SDS 1', factors=['FACTOR 1', 'FACTOR 2'], time='PRODUCTION TIME')# Illustrations that are not process behavior charts (a labelled series, a trend,
# histograms), drawn with plotly in the library's chart theme: tools/illustrations.py
from illustrations import histograms, seriesch10/example-of-a-gender-effect-within-the-rational-subgroups¶
series('data/gender_effect.csv', x='READING', y='Y', text='GENDER', groups='MONTH', x_title='Month', y_title='Y-Performance Measurement', theme='ggplot')Loading...
ch10/example-of-a-day-of-week-effect-within-the-rational-subgroups¶
series('data/day_of_week_effect.csv', x='READING', y='Y', text='DAY', groups='MONTH', x_title='Month', y_title='Y-Performance Measurement', theme='ggplot')Loading...
ch10/example-of-an-ephemeral-assignable-cause-of-variation¶
bottle_weight.execute(chart='X').plot(highlight_signals=False, theme='ggplot').figureLoading...
ch11/s-chart-for-y¶
sds1_first50.execute(chart='S').plot(highlight_signals=False, theme='ggplot').figureLoading...
ch11/xbar-chart-for-y¶
sds1_first50.execute(chart='Xbar').plot(highlight_signals=False, theme='ggplot').figureLoading...
ch12/example-of-a-positive-linear-trend¶
series('data/linear_trend.csv', x='X', y='Y', theme='ggplot')Loading...
ch12/the-unexplained-variation-about-a-linear-trend-line¶
series('data/linear_trend.csv', x='X', y='Y', fit='linear', theme='ggplot')Loading...
ch12/the-unexplained-variation-about-a-non-linear-trend-line¶
series('data/nonlinear_trend.csv', x='TIME', y='Y', curve='TREND', x_title='Time', y_title='Response Variable - X', theme='ggplot')Loading...
ch12/moving-range-chart-for-y¶
pm_sds_2.execute(chart='mR', by=['FACTOR 1', 'FACTOR 2']).focus('1_1').plot(highlight_signals=False, theme='ggplot').figureLoading...
ch12/individual-chart-for-y¶
pm_sds_2.execute(chart='X', by=['FACTOR 1', 'FACTOR 2']).focus('1_1').plot(highlight_signals=False, theme='ggplot').figureLoading...
ch14/the-distributions-for-y-and-the-r1-residuals¶
histograms(cup_fill.dataset, columns=['FILL WEIGHT', 'R1'], x_titles=['Fill Weight - Y', 'R1 Residuals'], theme='ggplot')Loading...
ch15/expected-loss-analysis-from-a-pdc-unstructured-point-of-view¶
cup_fill.loss_function(target=237).plot(structured=False, theme='ggplot')Loading...
ch15/expected-loss-analysis-from-a-pdc-structured-point-of-view¶
cup_fill.loss_function(target=237).plot(structured=True, theme='ggplot')Loading...
ch16/the-current-process-capability-analysis¶
cup_fill.capability(lsl=232, target=237, usl=242).plot(view='current', theme='ggplot')Loading...
ch16/the-potential-process-capability-analysis¶
cup_fill.capability(lsl=232, target=237, usl=242).plot(view='potential', theme='ggplot')Loading...
ch17/test-of-requirement-1-for-the-stability-of-the-r2-residuals¶
cup_fill.execute(chart='X', by=[], value='R2').plot(highlight_signals=False, theme='ggplot').figureLoading...
ch17/test-of-requirement-2-for-the-distribution-r2-residuals¶
cup_fill.maximum_information().plot(view='histogram', bins=60, theme='ggplot')Loading...
ch19/the-current-capability-of-the-filling-process¶
cup_fill.capability(lsl=232, target=237, usl=242).plot(view='current', theme='ggplot')Loading...
ch19/analysis-of-rsg-means¶
cup_fill.execute(chart='Xbar').plot(highlight_signals=False, theme='ggplot').figureLoading...
ch19/analysis-of-rsg-standard-deviations¶
cup_fill.execute(chart='S').plot(highlight_signals=False, theme='ggplot').figureLoading...
ch19/analysis-of-effect-time-on-the-sample-means-for-pdc-4-1¶
cup_fill.execute(chart='Xbar', by=['PULL']).focus('4_1').plot(highlight_signals=False, theme='ggplot').figureLoading...
ch19/analysis-of-the-effect-of-time-on-the-standard-deviation-for-pdc-4-1¶
cup_fill.execute(chart='S', by=['PULL']).focus('4_1').plot(highlight_signals=False, theme='ggplot').figureLoading...
ch19/analysis-of-the-effect-of-time-on-the-sample-means-for-pdc-4-2¶
cup_fill.execute(chart='Xbar', by=['PULL']).focus('4_2').plot(highlight_signals=False, theme='ggplot').figureLoading...
ch19/analysis-of-the-effect-of-time-on-the-standard-deviation-for-pdc-4-2¶
cup_fill.execute(chart='S', by=['PULL']).focus('4_2').plot(highlight_signals=False, theme='ggplot').figureLoading...
ch19/analysis-of-effect-of-pdc-on-sample-averages¶
cup_fill.execute(chart='Xbar', by=['LANE', 'PHASE'], value='R5', recentered=True).plot(highlight_signals=False, theme='ggplot').figureLoading...
ch19/analysis-of-effect-of-pdc-on-sample-standard-deviations¶
cup_fill.execute(chart='S', by=['LANE', 'PHASE'], value='R5', recentered=True).plot(highlight_signals=False, theme='ggplot').figureLoading...
ch19/analysis-of-the-lane-effect-on-the-sample-averages¶
cup_fill.execute(chart='Xbar', by=['LANE'], value='R6', recentered=True).plot(highlight_signals=False, theme='ggplot').figureLoading...
ch19/analysis-of-the-lane-effect-on-the-sample-standard-deviations¶
cup_fill.execute(chart='S', by=['LANE'], value='R6', recentered=True).plot(highlight_signals=False, theme='ggplot').figureLoading...
ch19/analysis-of-phase-effect-on-the-sample-averages¶
cup_fill.execute(chart='Xbar', by=['PHASE'], value='R6', recentered=True).plot(highlight_signals=False, theme='ggplot').figureLoading...
ch19/analysis-of-the-phase-effect-on-the-sample-standard-deviation¶
cup_fill.execute(chart='S', by=['PHASE'], value='R6', recentered=True).plot(highlight_signals=False, theme='ggplot').figureLoading...
ch19/analysis-of-production-time-effect-on-the-sample-averages¶
cup_fill.execute(chart='Xbar', by=['PULL'], value='R4', recentered=True).plot(highlight_signals=False, theme='ggplot').figureLoading...
ch19/analysis-of-the-production-time-effects-on-the-sample-standard-deviations¶
cup_fill.execute(chart='S', by=['PULL'], value='R4', recentered=True).plot(highlight_signals=False, theme='ggplot').figureLoading...
ch19/taguchi-loss-function-analysis-for-fill-weights¶
cup_fill.loss_function(target=237).plot(structured=False, theme='ggplot')Loading...
ch19/the-potential-capability-of-the-filling-process¶
cup_fill.capability(lsl=232, target=237, usl=242).plot(view='potential', theme='ggplot')Loading...