Learn R Programming

naivereg (version 1.0.5)

naivedata: The data generating for the naivereg

Description

The z and residuals are both generated from a normal distribution.

x = sin(z1)+exp(z5)+z4^2+z15+log(z19+8)+e1.

y = 0.5*x+e2.

  • Columns 1: The design matrix x.

  • Columns 2: The response variable y.

  • Columns 3-22: TheThe instrumental variables matrix z.

Usage

data(naivedata)

Arguments