columna API reference - v0.4.0
    Preparing search index...

    Interface StabilityResult

    interface StabilityResult {
        batches: string[];
        confidence: number;
        fit: LinearModelResult;
        model: string;
        omitted: number[];
        overall: number;
        selection: {
            model: string;
            pValue: number;
            removed: boolean;
            term: string;
        }[];
        shelfLife: {
            batch: string;
            intercept: number;
            limit: "none"
            | "lsl"
            | "usl";
            shelfLife: number;
            slope: number;
        }[];
        test: "stability study";
        predict(
            time: number,
            batch?: string,
        ): { fit: number; lower: number; upper: number };
    }
    Index
    batches: string[]
    confidence: number
    model: string

    Final model: 'batch*time' | 'batch + time' | 'time'.

    omitted: number[]
    overall: number

    Overall shelf life (minimum over batches).

    selection: { model: string; pValue: number; removed: boolean; term: string }[]

    Model selection steps: term tested, p-value, decision.

    shelfLife: {
        batch: string;
        intercept: number;
        limit: "none" | "lsl" | "usl";
        shelfLife: number;
        slope: number;
    }[]

    Shelf life per batch (NaN when the bound never crosses within maxTime).

    test: "stability study"
    • Fitted mean and confidence bounds for a batch at a time.

      Parameters

      • time: number
      • Optionalbatch: string

      Returns { fit: number; lower: number; upper: number }