tobitResidualsEnvelopeBS: Envelope - tobit Birnbaum-Saunders

Description Usage Arguments

View source: R/residuals-comparison.R

Description

This function calculates overall and pointwise confidence envelopes for a curve based on bootstrap replicates of the curve evaluated at a number of fixed points.

Usage

1
tobitResidualsEnvelopeBS(X,y,muhat,alphahat,n,k,status,nboot = 19,alpha=0.05)

Arguments

X

model matrix.

y

response variable.

muhat

fitted values.

alphahat

estimative of the shape parameter.

n

sample size.

k

number.

status

The status indicator, normally 0=alive, 1=dead.

nboot

number of bootrstrap replicates.

alpha

Probability level for the interval.

model

an object of class formula.


santosneto/mixbsreg documentation built on March 31, 2020, 8:59 p.m.