create_nl_data: Compute data for nonlinear model with instrument variable approach
Description
Function to create data for nonlinear model with instrument variable approach.
Usage
create_nl_data(specs, endog_data)
Value
List with filled matrices of lagged left (y_nl) and right hand side (x_nl) variables.
Arguments
- specs
A list(). Inputs are created in lp_nl_iv.
- endog_data
A data.frame with dependent variables.