Returns the inner product psi' * psi of the moment function for the parameter vector b
esr_psi_lp(b, y, x, alpha, g1 = 2L, g2 = 1L, delta = 0)
Parameter vector
Vector of dependent data
Matrix of covariates. Note: intercept needs to be added manually
Probability level
1, 2 (see G1_prime_fun)
1, 2, 3, 4, 5 (see G2_fun, G2_prime_fun)
Smooth approximation of the indicator function (the default value 0 is the indicator function)