Dear Statalisters,

i would like to analyse the effect of the energy deficit on the performance of cameroonian firms using the opreg method.

The number of observations is 931.

However, when I run the following estimate:

opreg loutput, exit(exit) state(age lcapital) proxy(linv) free(lrawmatintermediates lelectricitycosts llaborcosts lpoweroutagesnumb) cvars(year) vce(bootstrap, seed(1) rep(250))


I'm getting the following error message:

no observations
an error occurred when bootstrap executed opreg


I have the impression that this is due to the fact that there are gaps between the years used.

Could someone help me solve this problem?

Thank you in advance.

Nga Ndjobo