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.

6 gradients<strong>Source</strong>profserv column 18, of type numeric, =1 if in prof. serv. indus.profocc column 19, of type numeric, =1 if in profess. occupationclerocc column 20, of type numeric, =1 if in clerical occupationservocc column 21, of type numeric, =1 if in service occupationlwage column 22, of type numeric, log(wage)expersq column 23, of type numeric, exper 2tenursq column 24, of type numeric, tenure 2Jeffrey M. WooldridgeReferencesWooldridge, J. M. (2000), Introductory Econometrics: A Modern Approach, South-Western CollegePublishing.Examplesdata("wage1")attach(wage1)summary(wage1)detach(wage1)gradientsExtract GradientsDescriptionUsagegradients is a generic function which extracts gradients from objects.gradients(x, ...)## S3 method for class 'condensity':gradients(x, errors = FALSE, ...)## S3 method for class 'condistribution':gradients(x, errors = FALSE, ...)## S3 method for class '<strong>np</strong>regression':gradients(x, errors = FALSE, ...)## S3 method for class 'qregression':gradients(x, errors = FALSE, ...)

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

Saved successfully!

Ooh no, something went wrong!