Learn R Programming

mosum (version 1.2.7)

mosum.pValue: MOSUM asymptotic p-value

Description

Computes the asymptotic p-value for the MOSUM test.

Usage

mosum.pValue(z, n, G.left, G.right = G.left)

Value

a numeric value for the asymptotic p-value for the asymmetric MOSUM test

Arguments

z

a numeric value for the observation

n

an integer value for the length of the input data

G.left, G.right

integer values for the left moving sum bandwidth (G.left,G.right)