GMM estimation error

Hello,

I am trying to estimate the elasticity of substitution of labor across different sectors using GMM, but am encountering some errors.

I think the main error is the following.

“Error using dseries/extract (line 91)
dseries::extract: Variable ellh is not a member of o!”

What does this error mean?

I’ve attached the relevant files below.

Thank you.

model_220725.mod (2.2 KB)
setup.m (762 Bytes)
GMM_data.csv (1.8 KB)

The steadystate.m is missing.

Oh right, sorry about that. Here it is.

steadystate.m (1.1 KB)

Your csv-file contains a unicode byte order mark at the beginning that throws off Matlab.