diff --git a/DESCRIPTION b/DESCRIPTION old mode 100755 new mode 100644 index a4d7cc2..a80317a --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,18 +1,14 @@ Package: PLRModels Type: Package -Title: Statistical inference in partial linear regression models -Version: 1.1 -Date: 2014-01-01 -Author: German Aneiros Perez and Ana Lopez Cheda -Maintainer: German Aneiros Perez -Description: This package provides statistical inference tools applied to Partial Linear Regression (PLR) - models. Specifically, point estimation, confidence intervals estimation, bandwidth selection, goodness-of-fit tests and analysis of - covariance are considered. - Kernel-based methods, combined with ordinary least squares estimation, are used and time series - errors are allowed. In addition, these techniques are also implemented for both parametric (linear) - and nonparametric regression models. -License: GPL -Packaged: 2014-01-01 18:45:46 UTC; ana +Title: Statistical Inference in Partial Linear Regression Models +Version: 1.2 +Date: 2022-07-12 +Author: German Aneiros Perez and Ana Lopez-Cheda +Maintainer: Ana Lopez-Cheda +Description: Contains statistical inference tools applied to Partial Linear Regression (PLR) models. Specifically, point estimation, confidence intervals estimation, bandwidth selection, goodness-of-fit tests and analysis of covariance are considered. Kernel-based methods, combined with ordinary least squares estimation, are used and time series errors are allowed. In addition, these techniques are also implemented for both parametric (linear) and nonparametric regression models. +License: GPL-3 +Imports: stats NeedsCompilation: no +Packaged: 2022-07-13 15:05:22 UTC; Ana Repository: CRAN -Date/Publication: 2014-01-01 21:37:58 +Date/Publication: 2022-07-14 10:40:02 UTC diff --git a/MD5 b/MD5 index 8afab23..3fbb04f 100644 --- a/MD5 +++ b/MD5 @@ -1,6 +1,6 @@ -d43248698c01cd1486b7e5c3573df961 *DESCRIPTION -46fee5e1785179fb4c31e6f9e1a6b232 *NAMESPACE -81cf521e0aca9b42bc044052b9ae433c *R/best.arima.R +487095360251edb0f783cfb04e54d554 *DESCRIPTION +78a0eb658ded4c9b946abcbf2a7679ed *NAMESPACE +94b24f84ba87c88e721da615081be357 *R/best.arima.R d0350a85dd3a2d6cfad4ad4918f0b0c6 *R/kind.of.kernel.R b6e0d9b3d481f21232de2108244a1d86 *R/np.ancova.R 8d71fdcab31a81396a2e1fb28ff19504 *R/np.cv.R @@ -25,8 +25,8 @@ e63e8912e544faa707c9ab365da0f955 *data/barnacles1.txt.gz 5935195caeee4c3412f12310bbef2194 *data/barnacles2.txt.gz 2911ee28f537785c2adad794a07f6a36 *man/Epanechnikov.Rd e790f003d8548f3745c9ab15d052d466 *man/PLRModels.Rd -beeebb693d6d2941668648d325859e09 *man/barnacles1.rd -32df4839af7c9f6e7bbe9a0ad000cbcf *man/barnacles2.rd +d0be5851c40798db169b8fe8dfcb3961 *man/barnacles1.rd +8ce249781dfd3831877027d3d219d516 *man/barnacles2.rd d8c59ed1824016e1c13e12f2e6ce321d *man/best.arima.Rd 967f86430a4f6de47cb27f3285f72eee *man/gaussian.Rd 6962cf2c0a15ad6a98b1a241459784fd *man/np.ancova.Rd diff --git a/NAMESPACE b/NAMESPACE old mode 100755 new mode 100644 index ed2b88c..f6d50bc --- a/NAMESPACE +++ b/NAMESPACE @@ -1 +1,4 @@ -export("plrm.beta", "par.est", "np.est", "plrm.est", "np.cv", "np.gcv", "plrm.cv", "plrm.gcv", "par.ancova", "np.ancova", "plrm.ancova", "par.gof", "np.gof", "plrm.gof") \ No newline at end of file +export("plrm.beta", "par.est", "par.ci", "plrm.ci", "np.est", "plrm.est", "np.cv", "np.gcv", "plrm.cv", "plrm.gcv", "par.ancova", "np.ancova", "plrm.ancova", "par.gof", "np.gof", "plrm.gof") +importFrom("stats", "ARMAacf", "ARMAtoMA", "Box.test", "arima", + "frequency", "is.ts", "pchisq", "pnorm", "qnorm", + "quantile", "residuals", "t.test", "toeplitz", "var") \ No newline at end of file diff --git a/R/best.arima.R b/R/best.arima.R old mode 100755 new mode 100644 index 7b6d79b..c7dbc4b --- a/R/best.arima.R +++ b/R/best.arima.R @@ -70,7 +70,7 @@ for (Q in 0:Q.max) ajuste <- try(arima(x=x, order=c(p,d,q), seasonal=list(order=c(P,D,Q), period=period), include.mean=include.mean, method=method), silent=TRUE) - if (class(ajuste)=="try-error") { + if (inherits(ajuste, "try-error")) { VALORES.CRITERIO[fila, ] <- c(p, q, P, Q, NaN) next } diff --git a/R/kind.of.kernel.R b/R/kind.of.kernel.R old mode 100755 new mode 100644 diff --git a/R/np.ancova.R b/R/np.ancova.R old mode 100755 new mode 100644 diff --git a/R/np.cv.R b/R/np.cv.R old mode 100755 new mode 100644 diff --git a/R/np.est.R b/R/np.est.R old mode 100755 new mode 100644 diff --git a/R/np.gcv.R b/R/np.gcv.R old mode 100755 new mode 100644 diff --git a/R/np.gof.R b/R/np.gof.R old mode 100755 new mode 100644 diff --git a/R/par.ancova.R b/R/par.ancova.R old mode 100755 new mode 100644 diff --git a/R/par.ci.R b/R/par.ci.R old mode 100755 new mode 100644 diff --git a/R/par.est.R b/R/par.est.R old mode 100755 new mode 100644 diff --git a/R/par.gof.R b/R/par.gof.R old mode 100755 new mode 100644 diff --git a/R/plrm.ancova.R b/R/plrm.ancova.R old mode 100755 new mode 100644 diff --git a/R/plrm.beta.R b/R/plrm.beta.R old mode 100755 new mode 100644 diff --git a/R/plrm.ci.R b/R/plrm.ci.R old mode 100755 new mode 100644 diff --git a/R/plrm.cv.R b/R/plrm.cv.R old mode 100755 new mode 100644 diff --git a/R/plrm.est.R b/R/plrm.est.R old mode 100755 new mode 100644 diff --git a/R/plrm.gcv.R b/R/plrm.gcv.R old mode 100755 new mode 100644 diff --git a/R/plrm.gof.R b/R/plrm.gof.R old mode 100755 new mode 100644 diff --git a/R/symsolve.R b/R/symsolve.R old mode 100755 new mode 100644 diff --git a/R/var.cov.matrix.R b/R/var.cov.matrix.R old mode 100755 new mode 100644 diff --git a/R/var.cov.sum.R b/R/var.cov.sum.R old mode 100755 new mode 100644 diff --git a/data/barnacles1.txt.gz b/data/barnacles1.txt.gz old mode 100755 new mode 100644 diff --git a/data/barnacles2.txt.gz b/data/barnacles2.txt.gz old mode 100755 new mode 100644 diff --git a/man/Epanechnikov.Rd b/man/Epanechnikov.Rd old mode 100755 new mode 100644 diff --git a/man/PLRModels.Rd b/man/PLRModels.Rd old mode 100755 new mode 100644 diff --git a/man/barnacles1.rd b/man/barnacles1.rd old mode 100755 new mode 100644 index 54c01d8..76cab8c --- a/man/barnacles1.rd +++ b/man/barnacles1.rd @@ -18,6 +18,7 @@ A matrix containing 3 columns: \code{barnacles1[, 3]} contains the number of sales (in kg) of barnacles in Carino's fish market. } \source{ -\url{http://www.pescadegalicia.com/} +\url{http://dm.udc.es/modes/sites/default/files/barnacles1.rar} +\url{http://dm.udc.es/modes/sites/default/files/barnacles1.zip} } \keyword{datasets} \ No newline at end of file diff --git a/man/barnacles2.rd b/man/barnacles2.rd old mode 100755 new mode 100644 index 0d0d1b6..36d6b61 --- a/man/barnacles2.rd +++ b/man/barnacles2.rd @@ -18,6 +18,7 @@ A matrix containing 3 columns: \code{barnacles1[, 3]} contains the number of sales (in kg) of barnacles in Baiona's fish market. } \source{ -\url{http://www.pescadegalicia.com/} +\url{http://dm.udc.es/modes/sites/default/files/barnacles2.rar} +\url{http://dm.udc.es/modes/sites/default/files/barnacles2.zip} } \keyword{datasets} \ No newline at end of file diff --git a/man/best.arima.Rd b/man/best.arima.Rd old mode 100755 new mode 100644 diff --git a/man/gaussian.Rd b/man/gaussian.Rd old mode 100755 new mode 100644 diff --git a/man/np.ancova.Rd b/man/np.ancova.Rd old mode 100755 new mode 100644 diff --git a/man/np.cv.Rd b/man/np.cv.Rd old mode 100755 new mode 100644 diff --git a/man/np.est.Rd b/man/np.est.Rd old mode 100755 new mode 100644 diff --git a/man/np.gcv.Rd b/man/np.gcv.Rd old mode 100755 new mode 100644 diff --git a/man/np.gof.Rd b/man/np.gof.Rd old mode 100755 new mode 100644 diff --git a/man/par.ancova.Rd b/man/par.ancova.Rd old mode 100755 new mode 100644 diff --git a/man/par.ci.Rd b/man/par.ci.Rd old mode 100755 new mode 100644 diff --git a/man/par.est.Rd b/man/par.est.Rd old mode 100755 new mode 100644 diff --git a/man/par.gof.Rd b/man/par.gof.Rd old mode 100755 new mode 100644 diff --git a/man/plrm.ancova.Rd b/man/plrm.ancova.Rd old mode 100755 new mode 100644 diff --git a/man/plrm.beta.Rd b/man/plrm.beta.Rd old mode 100755 new mode 100644 diff --git a/man/plrm.ci.Rd b/man/plrm.ci.Rd old mode 100755 new mode 100644 diff --git a/man/plrm.cv.Rd b/man/plrm.cv.Rd old mode 100755 new mode 100644 diff --git a/man/plrm.est.Rd b/man/plrm.est.Rd old mode 100755 new mode 100644 diff --git a/man/plrm.gcv.Rd b/man/plrm.gcv.Rd old mode 100755 new mode 100644 diff --git a/man/plrm.gof.Rd b/man/plrm.gof.Rd old mode 100755 new mode 100644 diff --git a/man/quadratic.Rd b/man/quadratic.Rd old mode 100755 new mode 100644 diff --git a/man/symsolve.Rd b/man/symsolve.Rd old mode 100755 new mode 100644 diff --git a/man/triweight.Rd b/man/triweight.Rd old mode 100755 new mode 100644 diff --git a/man/uniform.Rd b/man/uniform.Rd old mode 100755 new mode 100644 diff --git a/man/var.cov.matrix.Rd b/man/var.cov.matrix.Rd old mode 100755 new mode 100644 diff --git a/man/var.cov.sum.Rd b/man/var.cov.sum.Rd old mode 100755 new mode 100644