View source: R/residuals-comparison.R
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.
1  | tobitResidualsEnvelopeBS(X,y,muhat,alphahat,n,k,status,nboot = 19,alpha=0.05)
 | 
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.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.