The np Package - NexTag Supports Open Source Initiatives
The np Package - NexTag Supports Open Source Initiatives
The np Package - NexTag Supports Open Source Initiatives
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>np</strong>plreg 75# Plot the regression surfaces via <strong>np</strong>plot() (i.e., plot the `partial# regression surface plots').<strong>np</strong>plot(bws=bw)# Note - to plot regression surfaces with variability bounds constructed# from bootstrapped standard errors, use the following (note that this# may take a minute or two depending on the speed of your computer as# the bootstrapping is done in real time, and note also that we override# the default number of bootstrap replications (399) reducing them to 25# in order to quickly compute standard errors in this instance - don't# of course do this in general)<strong>np</strong>plot(bws=bw,plot.errors.boot.num=25,plot.errors.method="bootstrap")# EXAMPLE 1 (INTERFACE=DATAFRAME): For this example, we simulate an# example for a partially linear model, and compare the coefficient# estimates from the partially linear model with those from a correctly# specified parametric model...set.seed(123)n