importFrom("stats", "coef", "confint", "lm", "logLik", "optimize","qnorm", "rnorm", "update")

exportClasses("gmatrix", "gvector", "gqr", "gsvd", "lpgr")
importFrom("methods", getMethod, "callNextMethod", "new", "show")
importFrom("stats", "approxfun", "dbeta", "dbinom", "dgamma", "dnorm",
"dpois", "dunif", "pbinom", "pchisq", "pnorm", "ppois",
"qbeta", "qbinom", "qgamma", "qnorm", "qpois", "qunif",

importFrom("stats", "approx", "dbeta", "dbinom", "dnorm", "ecdf", "median", "optim", "pbeta", "pchisq", "pnorm", "qnorm", "rbinom", "rexp", "runif", "uniroot", "var")

importFrom("stats", "quantile", "approx", "dbeta", "dbinom", "dnorm", "ecdf", "median", "optim", "pbeta", "pchisq", "pnorm", "qnorm", "rbinom", "rexp", "runif", "uniroot", "var")

print.gmm,coef.gmm,vcov.gmm,print.summary.gmm, confint.gel, print.gel, print.summary.gel, vcov.gel, coef.gel, fitted.gmm,
residuals.gmm, fitted.gel, residuals.gel, plot.gmm, plot.gel,formula.gmm, formula.gel, charStable)

residuals.gmm, fitted.gel, residuals.gel, plot.gmm, plot.gel,formula.gmm, formula.gel, charStable, specTest,
specTest.gmm, specTest.gel, print.specTest, momentEstim.baseGmm.twoStep, momentEstim.baseGmm.twoStep.formula,
momentEstim.baseGmm.cue, getModel.baseGmm, getModel.baseGel, FinRes.baseGmm.res, momentEstim.baseGel.mod, momentEstim.baseGel.modFormula)

export(gmm,summary.gmm,rho,smoothG,getDat,summary.gel,getLamb,gel, estfun.gmmFct, estfun.gmm, estfun.gel, bread.gel, bread.gmm,

export(gmm,summary.gmm,smoothG,getDat,summary.gel,getLamb,gel, estfun.gmmFct, estfun.gmm, estfun.gel, bread.gel, bread.gmm,
momentEstim.baseGmm.cue, getModel.baseGmm, getModel.baseGel, getModel.constGmm, FinRes.baseGmm.res, momentEstim.baseGel.mod,
momentEstim.baseGel.modFormula,tsls,summary.tsls, print.summary.tsls, KTest, print.gmmTests, gmmWithConst)

momentEstim.baseGel.modFormula,tsls,summary.tsls, print.summary.tsls, KTest, print.gmmTests, gmmWithConst, estfun.tsls,

importFrom(sandwich, estfun, bread, kernHAC, weightsAndrews, vcovHAC, bwAndrews, meatHC)