Skip to contents

The proportion of intervention-phase observations that exceed the most extreme baseline observation (Scruggs, Mastropieri & Casto 1987).

Usage

scedPND(A_data, B_data = NULL, improvement = c("increase", "decrease"))

Arguments

A_data, B_data

Numeric baseline (A) and intervention (B) observations, or pass a data.frame to the phase orchestrator scedABAB().

improvement

"increase" (default) if higher scores are better, or "decrease" if lower scores are the therapeutic goal.

Value

An AnalysisResult (type = "sced_pnd") whose estimate is the PND in [0, 1].

References

Scruggs TE, Mastropieri MA, Casto G (1987). The quantitative synthesis of single-subject research. Remedial and Special Education, 8(2).

Examples

scedPND(c(20, 20, 26, 25), c(28, 25, 30, 29))
#> <AnalysisResult> sced_pnd 
#>   estimate: 0.75 
#>   method: PND 
#>   fields: estimate, ci_lower, ci_upper, n_A, n_B, improvement 
#>   provenance: 1 entr(ies)