stepp.edge {stepp}R Documentation

The method performs an edge analysis on the STEPP GLM model estimate objects.

Description

Perform an edge analysis on the STEPP GLM model estimate objects.

Usage

  stepp.edge(est, criteria, j=2, boot=0, seed=17, showstatus=TRUE, debug=0)

Arguments

est

a STEPP estimate object.

criteria

criteria to be used to identify the cut point; abs or rel scale and by how much.

j

number of treatment, default to 2

boot

perform a bootstrap analysis, default is none (0).

seed

seed used for bootstrap, default is 17.

showstatus

show the status of bootstrap, default is TRUE.

debug

internal debug flag, default is 0

Details

The criteria argument is a list with three elements:

trtid - the treatment id;

scale - "A" for absolute scale or "R" for relative scale;

threshold - amount in either absolute or relative scale that would consider a jump.

e.g. crit <- list(trtid=1, scale="A", threshold=-0.03)

Only support for STEPP GLM models for now. Bootstrap is computational time intensive but it will provide you with a quantification of the variability of the edge identified.

Value

It returns the result of the identified edge with the STEPP subpopulations.

Author(s)

Wai-ki Yip

See Also

stwin


[Package stepp version 3.2.7 Index]