which.at.boundary {blm} | R Documentation |

## Covariate patterns at the boundary for `blm`

and `lexpit`

objects.

### Description

Returns matrix of covariate types with a predicted probability at the lower or upper boundary defined by the specified `criterion`

or `NA`

if no boundary constraints are present.

### Value

Returns all rows of design matrix whose predicted risk are less than or equal to `criterion`

or greater than or equal to 1 - `criterion`

.

### usage

which.at.boundary (object, criterion = 1e-06)

### arguments

- object
model fit of class `blm`

or `lexpit`

- criterion
numeric distance from 0 (or 1) that is considered to be at the boundary

### Author(s)

Stephanie Kovalchik s.a.kovalchik@gmail.com

### Examples

data(ccdata)
fit <- blm(y~female+packyear,data = ccdata,
weight = ccdata$w, strata = ccdata$strata)
which.at.boundary(fit)

[Package

*blm* version 2013.2.4.4

Index]