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.

<strong>np</strong>scoef 129# We could manually plot fitted values and error bounds as follows:plot(x,y)lines(x,predict(model))lines(x,predict(model)-2*se(model),lty=2,col="red")lines(x,predict(model)+2*se(model),lty=2,col="red")## Not run:# EXAMPLE 1 (INTERFACE=DATAFRAME): 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!