importFrom(stats, as.formula, binomial, coef, coefficients, delete.response, family, fitted,
formula, glm, lm, lm.fit, loess.smooth, model.frame, model.matrix, model.offset,
model.response, na.exclude, na.omit, nlm, predict, qnorm, qt, quantile, residuals,
spline, terms, update, vcov, weights, xtabs)

importFrom(lattice, barchart, current.panel.limits, densityplot, larrows, llines, lpoints, ltext,
importFrom(stats, as.formula, binomial, coef, coefficients, cov, delete.response, family, fitted,
formula, glm, glm.control, lm, lm.fit, loess.smooth, mahalanobis,
model.response, na.exclude, na.omit, nlm, predict, qf, qnorm, qt, quantile, residuals,

formula, glm, glm.control, lm, lm.fit, loess.smooth, mahalanobis, make.link, median,

panel.polygon, panel.text, strip.custom, strip.default, trellis.par.get,

# last modified 2020-7-22 by S. Weisberg

importFrom("stats", "model.frame", "pt", "qnorm", "qt", "uniroot")

importFrom("stats", "model.frame", "pt", "qnorm", "qt", "uniroot","sd")

importFrom("stats", "model.frame", "pt", "qnorm", "qt", "uniroot","sd","cor")

# Functions concerned with calibration and assessment of
# the Engle-Granger cointegration model and various unit root tests

import("ggplot2", "tseries", "zoo", "MASS", "parallel", "urca", "xts", "quantmod")
importFrom("grid", grid.newpage, pushViewport, viewport, grid.layout)
importFrom("stats", "Box.test", "approx", "coef", "cov", "lm", "pbinom", "pt",
"quantile", "rnorm", "runif", "sd", "var")

import("ggplot2", "tseries", "zoo", "MASS", "TTR", "fArma", "parallel", "urca", "grid", "xts")

import("ggplot2", "tseries", "zoo", "MASS", "TTR", "fArma", "parallel", "urca", "xts")

importFrom(graphics, abline, boxplot, curve, polygon, stripchart)

coxreg.fit, cro, frail.fit, geome.fit, join.spells,
make.communal, mlreg, mlreg.fit, perstat, piecewise,
plot.cum, plot.Surv, plot.weibreg, print.coxreg, print.weibreg,

toDate, toTime, weibreg, weibreg.fit, wfunk)

toBinary, toDate, toTime, weibreg, weibreg.fit, wfunk)

age.window, cal.window, check.dist, check.surv, coxreg,
hEV, hllogis, hlnorm, hgompertz, hmakeham, hweibull,
HEV, Hllogis, Hlnorm, Hgompertz, Hmakeham, Hweibull,
join.spells, make.communal, mlreg, perstat, piecewise,
qEV, qllogis, qgompertz, qmakeham, risksets,
table.events, toBinary, toDate, toTime, weibreg, weibreg.fit, wfunk)