Learn R Programming

sfa (version 1.0-1)

dgp: Sample data generating process

Description

Sample data generating process

Usage

dgp(n, b, intercept = TRUE, sc = -1)

Arguments

n
sample size
b
parameter vector
intercept
logical, TRUE includes intercept
sc
form of the frontier model, -1 for cost frontier model, 1 for production frontier model

Value

  • list

See Also

sfa, rnorm, runif, abs