Learn R Programming

ssfa (version 1.2.2)

L_hNV: SFA half-normal log likelihood function

Description

This function is used to estimate the parameters of the classical SFA model where half-normal distribution of inefficiency term is assumed.

Usage

L_hNV(p, y = y, X = X, sc = sc)

Value

Value of the SFA log likelihood function.

Arguments

p

a vector with the parameters to be estimated.

y

the dependent variable.

X

the model matrix.

sc

specifies the form of the frontier model (-1 = cost, 1 = production).