Description Usage Format References Examples
This is the generated data set used for the discussion of robust diagnotics in Section 7.3.
1 |
Thirty observations on four variables.
x1
first predictor
x2
second predictor
ygood
good responses
ybad
bad responses
Kloke, J. and McKean, J.W. (2014), Nonparametric statistical methods using R, Boca Raton, FL: Chapman-Hall.
1 2 3 4 5 6 7 8 9 | data(diagdata)
hbrfit(ygood~x1+x2,data=diagdata)
hbrfit(ybad~x1+x2,data=diagdata)
dwilhbr = with(diagdata,fitdiag(cbind(x1,x2),ybad,est=c("WIL","HBR")))
bmtdbetas <- dwilhbr$tdbeta
tdbetas <- c(dwilhbr$tdbeta,dwilhbr$bmtd)
cfit <- dwilhbr$cfit
plot(1:30,cfit,xlab="Case",ylab="Change in fits")
title(main="Change Between Fits: Wilcoxon and HBR")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.