Documentation

Reference Documentation

Inputs, outputs, and interpretation guidance for every analysis type in StatForge.

Individuals & Moving Range (I-MR) Chart

Use when measurements are individual observations — no subgrouping. Common for slow processes or when only one measurement is taken per time period.

Inputs

FieldTypeRequiredNotes
Measurement column (Y)NumericRequired—
Order columnNumeric or DateTimeOptionalDefaults to row order if not provided

Outputs

  • →I chart: individual values plotted with UCL, CL, LCL
  • →MR chart: moving range values plotted with UCL, CL (MR̄)
  • →Control limits computed from moving range: UCL = X̄ + 3(MR̄/d₂), LCL = X̄ − 3(MR̄/d₂)
  • →Violations list: rows where Rule 1 or Rule 2 is triggered
  • →Stability badge: Stable or Unstable

SPC Rules Applied

  • Rule 1: Any individual point beyond UCL or LCL (>3σ)
  • Rule 2: 8 or more consecutive points on one side of the centerline

Stored Result

control_limits object: UCL, LCL, CL, sigma method, N, rule set applied

Xbar-R Chart

Use when measurements are collected in subgroups — multiple readings per time period. Common in machining and fabrication where several parts are sampled each shift.

Inputs

FieldTypeRequiredNotes
Measurement column (Y)NumericRequired—
Subgroup ID columnNumeric or TextRequiredSubgroups must have ≥ 2 observations each

Outputs

  • →Xbar chart: subgroup means plotted with UCL, CL, LCL
  • →R chart: subgroup ranges plotted with UCL, CL, LCL
  • →Control limits: UCL_Xbar = X̄̄ + A₂R̄, LCL_Xbar = X̄̄ − A₂R̄
  • →Violations list and Stable/Unstable badge

SPC Rules Applied

  • Rule 1: subgroup mean or range beyond control limits
  • Rule 2: 8 consecutive subgroup means on one side of centerline

Stored Result

control_limits object with UCL/LCL/CL for both Xbar and R charts

p Chart

Use for attribute data — when you are tracking the proportion of defective items in a sample. Requires a count of defectives and a sample size for each time period.

Inputs

FieldTypeRequiredNotes
Defectives count columnNumeric (integer)Required—
Sample size columnNumeric (integer)Required—
Order columnNumeric or DateTimeOptional—

Outputs

  • →p chart: proportion defective plotted with UCL, CL, LCL
  • →Variable control limits when sample sizes differ between subgroups
  • →Violations list and Stable/Unstable badge

SPC Rules Applied

  • Rule 1: proportion beyond UCL or LCL
  • Rule 2: 8 consecutive proportions on one side of centerline

Stored Result

control_limits object with p̄ (centerline) and control limit parameters

Note: The p chart must be selected explicitly — it cannot be auto-selected. Use Monitor → Control Charts → Attributes → p Chart.

Capability Analysis (Normal)

Use after confirming process stability (run SPC first). Measures whether a stable process is capable of consistently meeting specification limits.

Inputs

FieldTypeRequiredNotes
Measurement column (Y)NumericRequired—
Lower Spec Limit (LSL)ConstantOptionalAt least one of LSL or USL must be provided
Upper Spec Limit (USL)ConstantOptional—
TargetConstantOptional—
Subgroup columnNumeric or TextOptionalUsed to compute within-subgroup sigma; if absent, moving range is used

Outputs

  • →Cp: ratio of spec width to within-subgroup process spread (2 × 3σ)
  • →Cpk: accounts for process centering, specifically min(CPU, CPL)
  • →Pp: overall capability using total standard deviation
  • →Ppk: overall centered capability using total standard deviation
  • →Mean and standard deviation (within-subgroup and overall)
  • →Parts per million (ppm) and % out of specification
  • →Histogram with normal curve and spec limit lines

Automatic Warnings

  • ⚠If n < 25: sample size may be insufficient for reliable estimates
  • ⚠If a prior SPC run on the same column was Unstable: capability indices may be misleading

Stored Result

capability_stats object: all indices, mean, stdev values, ppm

Crossed Gage R&R (ANOVA Method)

Use to assess a measurement system when multiple operators measure the same parts multiple times. Standard for PPAP and MSA studies per AIAG guidelines.

Inputs

FieldTypeRequiredNotes
Measurement columnNumericRequired—
Part ID columnNumeric or TextRequiredTypically 10 parts
Operator ID columnNumeric or TextRequiredTypically 2–3 operators
Repeat countInferredOptionalAutomatically inferred from data structure

Outputs

  • →Variance components: Repeatability (EV), Reproducibility (AV), Part-to-Part (PV), Total (TV)
  • →%Study Variation (%SV) for each component
  • →%Contribution for each component
  • →Number of distinct categories (ndc): measures discrimination ability
  • →Conclusion: Acceptable (≤10%), Marginal (10–30%), Unacceptable (>30%)
  • →Components of variation bar chart
  • →Operator × part interaction plot

Stored Result

grr_variance_components object with all components and percentages

Type 1 Gage Study

Use to assess a single gage's bias and repeatability against a known reference value. A simpler alternative to Crossed GRR when only one operator and one part are involved.

Inputs

FieldTypeRequiredNotes
Measurements columnNumericRequiredTypically 25–50 repeated measurements of a reference standard
Reference valueConstantRequiredThe known true value of the reference standard

Outputs

  • →Bias: mean of measurements minus reference value
  • →Repeatability: standard deviation of repeated measurements
  • →Confidence interval for bias
  • →Readings vs reference line chart

Stored Result

type1_stats object: bias, repeatability stdev, CI bounds

Worksheet Grid

Capacity

Each project supports up to 20 worksheets. Each worksheet supports up to 50,000 rows and 200 columns. A warning appears when approaching these limits.

Column naming

Default column names are C1, C2, C3, etc. Double-click any column header to rename it. Column names must be unique within a worksheet.

Auto type inference

When data is pasted or imported, StatForge infers the column type automatically:

  • Numeric (N): ≥95% of non-blank values parse as numbers
  • DateTime (DT): ≥95% of non-blank values parse as dates or timestamps
  • Text (T): everything else

You can override the inferred type via the column header context menu. If a Numeric conversion fails for some cells, those cells are set to missing (blank) and a warning is displayed.

Paste behavior

Paste any rectangular selection from Excel, Google Sheets, or a text editor. Rows and columns expand automatically to fit. Tab-separated and comma-separated paste are both recognized.

Import / Export

  • →Import CSV: File → Import → CSV. Delimiter auto-detected.
  • →Import Excel: File → Import → Excel. Select sheet, choose whether first row is headers.
  • →Export worksheet: File → Export → Worksheet to CSV.

.statforge File Format

A .statforge file is a standard SQLite database. No proprietary binary format. No database server required.

What is stored

  • →Project metadata: name, creation date, last modified
  • →Worksheet data: all worksheets with their columns, types, and rows
  • →Analysis runs: inputs, spec configuration, and results for every analysis executed
  • →Output items: the session feed cards with timestamps and conclusion badges
  • →Graphs: plot specifications linked to each analysis run
  • →Stored results: structured data objects (control limits, capability stats, GRR components)

Portability

A .statforge file is fully portable. Copy it to a USB drive, attach it to an email, or share it over a file share — the recipient opens it with File → Open. No database connection or server is required.

Recovery

Because the file is SQLite, it can be opened with any SQLite browser (e.g. DB Browser for SQLite) to inspect or recover raw data if the file becomes corrupted. StatForge will display a clear error on open for corrupted or version-incompatible files and will not crash.

File extension

.statforge

Double-click to open (Windows file association — coming in a future release)