# NOT RUN {
# }
# NOT RUN {
data( ccr81 )
head( ccr81 )
# Subsampling
t9 <- tenonradialbc(y1 + y2 + y3 ~ x1 + x2 + x3 + x4 + x5, data = ccr81,
ref = NULL, data.ref = NULL, subset.ref = NULL,
rts = "v", base = "i",
homogeneous = FALSE, smoothed = TRUE, kappa = .6,
reps = 999, level = 95,
print.level = 1, show.progress = TRUE, seed = NULL)
# display the results
cbind(te = t9$te, telow = t9$telow, tebc = t9$tebc, teupp = t9$teupp,
biasboot = t9$biasboot, varboot = t9$varboot, biassqvar = t9$biassqvar)
# Smoothing
t10 <- tenonradialbc(y1 + y2 + y3 ~ x1 + x2 + x3 + x4 + x5, data = ccr81,
ref = NULL, data.ref = NULL, subset.ref = NULL,
rts = "v", base = "i",
homogeneous = TRUE, smoothed = TRUE, kappa = .6,
reps = 999, level = 95,
print.level = 1, show.progress = TRUE, seed = NULL)
# display the results
cbind(te = t10$te, telow = t10$telow, tebc = t10$tebc, teupp = t10$teupp,
biasboot = t10$biasboot, varboot = t10$varboot, biassqvar = t10$biassqvar)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab