NivaarExam PrepOfficial exam papers ↗

23-Ind-A6 Systems Simulation · December 2018

Question 7 of 8: 2² Factorial Screening Experiment for Bus Loading

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

National Exams — December 2018 — 17-Ind-A6 Systems Simulation. Three-hour, closed-book exam; one of two permitted calculators (Sharp or Casio), one 8.5″×11.0″ aid sheet (both sides). Format: three sections — Part A (Input Modelling): do 2 of 3 questions, 30 marks total; Part B (Modelling Concepts): do 1 of 2, 20 marks; Part C (Output Analysis): do 1 of 2, 20 marks — plus a 1-mark trivia bonus. All seven graded questions and the bonus are solved below for completeness. The exam's own front matter has two internal quirks, transcribed as printed: NOTES item "4." appears twice on page 1, and every page footer reads "17-Ind-A6/Dec. 2019" against a "December 2018" masthead.

Reference texts: Banks, Carson, Nelson & Nicol, Discrete-Event System Simulation (5th ed., Pearson) — input data analysis (ch. 9), random-variate generation, output analysis for a single system and comparing alternative systems (ch. 11–12), verification and validation (ch. 10).

Question 7 (Part C.2): 2² Factorial Screening Experiment for Bus Loading (20 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given. Partial $2^2$ design (Runs 1–4) and observed average wait time to load a patrol, 3 replications per run (the exam's "5 replications" preamble and the 3-column output table are reconciled by working directly from the 3 printed replicate values per run):

RunABRep 1Rep 2Rep 3Avg
1$-1$$-1$40423840.00
2$+1$$-1$90889490.67
3$-1$$+1$60645860.67
4$+1$$+1$110113108110.33

Find. (a) the completed design matrix (AB column) with sign interpretation; (b) ANOVA table, which factor(s) are significant, and the recommended settings.

Approach. Fill in the interaction column as the row-wise product $AB=A\times B$; use the $2^k$-factorial contrast method to get $SS_A$, $SS_B$, $SS_{AB}$ from the run totals, take $SS_{error}=SST-SS_A-SS_B-SS_{AB}$, and compare each mean square against $MS_{error}$.

(a) Completed design matrix and sign interpretation.

RunABAB
1$-1$$-1$$+1$
2$+1$$-1$$-1$
3$-1$$+1$$-1$
4$+1$$+1$$+1$

$-1$ means the factor is at its low (not-implemented) setting — small buses for A, existing/far-destinations-first loading for B; $+1$ means it is implemented — large buses for A, near-destinations-first loading for B. The $AB$ column is the row-wise product of the $A$ and $B$ signs, not an independently-set factor: it is $+1$ whenever $A$ and $B$ are at the same level and $-1$ whenever they differ. The main effect of $A$ is the average response at $A=+1$ minus the average response at $A=-1$, averaged fairly over both levels of $B$ (each level of $B$ appears once at $A=+1$ and once at $A=-1$, which is what makes the design orthogonal); similarly for $B$. The interaction effect $AB$ measures whether $A$'s effect on wait time depends on the level of $B$ — a large $AB$ contrast means the two factors do not act additively (the effect of switching bus size is different depending on which loading policy is active).

(b) ANOVA.

  1. Run totals and contrasts. Totals $T_i=\sum(\text{3 reps})$: $T_1=120,\ T_2=272,\ T_3=182,\ T_4=331$. $$C_A = -T_1+T_2-T_3+T_4 = \boxed{301},\quad C_B = -T_1-T_2+T_3+T_4 = \boxed{121},\quad C_{AB} = T_1-T_2-T_3+T_4 = \boxed{-3}.$$
  2. Sums of squares ($N=4$ runs, $n=3$ reps, denominator $N\!\cdot\!n=12$): $$SS_A = \frac{301^2}{12} = \boxed{7550.08},\qquad SS_B = \frac{121^2}{12} = \boxed{1220.08},\qquad SS_{AB} = \frac{(-3)^2}{12} = \boxed{0.75}.$$ $$SS_{error} = SST - SS_A - SS_B - SS_{AB} = 8829 - 7550.08 - 1220.08 - 0.75 = \boxed{58.08},\qquad df_{error}=N(n-1)=8.$$ (A direct recomputation of $SST$ from the 12 raw replicate values gives 8828.92, confirming the exam's stated $SST=8829$ to rounding.)
  3. Mean squares, $F$-ratios, and decision. $MS_{error}=58.08/8=7.26$; $F_{0.05,1,8}=5.32$:
Source$SS$$df$$MS$$F$Significant at 5%?
A (bus size)7550.0817550.081039.9Yes
B (loading policy)1220.0811220.08168.0Yes
AB (interaction)0.7510.750.10No
Error58.0887.26——
Total882911———

Both main effects are overwhelmingly significant ($F_A=1039.9$ and $F_B=168.0$, both far above $F_{crit}=5.32$); the interaction is not ($F_{AB}=0.10 \ll 5.32$). The effect sizes confirm the direction: $\text{effect}_A=C_A/(2n)=+50.17$ min and $\text{effect}_B=C_B/(2n)=+20.17$ min — turning either factor ON (implementing large buses, or near-destinations-first loading) increases average wait time to load a patrol, dramatically so for bus size.

Recommended settings. Because $AB$ is not significant, the two factors act additively and can be set independently — there is no need to consider them jointly. Since both main effects are positive (implementing either factor makes wait time worse), the wait-minimizing recommendation is to keep both factors at their low (not-implemented) setting: continue with the smaller buses and the existing loading policy, which matches the observed lowest average wait time (Run 1, 40.00 min) and is consistent with both factors' effects being additive rather than interacting.

QuantityResult
$F_A$ (bus size)1039.9 — significant
$F_B$ (loading policy)168.0 — significant
$F_{AB}$ (interaction)0.10 — not significant
$F_{crit}(1,8)$5.32
Can A, B be set independently?Yes — interaction is not significant
Recommended settingsBoth at $-1$: small buses, existing loading policy (minimizes wait)
Check: the question's preamble says "5 replications" while the printed output table carries exactly 3 replicate columns per run; the ANOVA above is computed directly from the 3 printed values per run ($n=3$), which is what the numbers on the page actually support, and it independently reproduces the stated $SST=8829$ to within rounding — strong evidence $n=3$ (not 5) is the number the exam intends.