10.07.2015 Views

The np Package - NexTag Supports Open Source Initiatives

The np Package - NexTag Supports Open Source Initiatives

The np Package - NexTag Supports Open Source Initiatives

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

128 <strong>np</strong>scoefUsage IssuesIf you are using data of mixed types, then it is advisable to use the data.frame function toconstruct your i<strong>np</strong>ut data and not cbind, since cbind will typically not work as intended onmixed data types and will coerce the data to the same type.Support for backfitted bandwidths is experimental and is limited in functionality. <strong>The</strong> code does notsupport asymptotic standard errors or out of sample estimates with backfitting.Author(s)Tristen Hayfield 〈hayfield@phys.ethz.ch〉, Jeffrey S. Racine 〈racinej@mcmaster.ca〉ReferencesAitchison, J. and C.G.G. Aitken (1976), “Multivariate binary discrimination by the kernel method,”Biometrika, 63, 413-420.Cai Z. (2007), “Trending time-varying coefficient time series models with serially correlated errors,”Journal of Econometrics, 136, 163-188.Hastie, T. and R. Tibshirani (1993), “Varying-coefficient models,” Journal of the Royal StatisticalSociety, B 55, 757-796.Li, Q. and J.S. Racine (2007), No<strong>np</strong>arametric Econometrics: <strong>The</strong>ory and Practice, Princeton UniversityPress.Li, Q. and J.S. Racine (2007), “Smooth varying-coefficient no<strong>np</strong>arametric models for qualitativeand quantitative data,” manuscript.Pagan, A. and A. Ullah (1999), No<strong>np</strong>arametric Econometrics, Cambridge University Press.Racine, J.S. and D. Ouyang and Q. Li (2007), “No<strong>np</strong>arametric multilevel models: a smoothingapproach,” manuscript.Wang, M.C. and J. van Ryzin (1981), “A class of smooth estimators for discrete distributions,”Biometrika, 68, 301-309.See Alsobw.nrd, bw.SJ, hist, <strong>np</strong>udens, <strong>np</strong>udist, <strong>np</strong>udensbw, <strong>np</strong>scoefbwExamples# EXAMPLE 1 (INTERFACE=FORMULA): Typically, the variables z will be# equal to the regressors x, as in the following example.set.seed(12345)n

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!