I am working with a large data set (approximately 50K observations) and trying to running a Maximum likelihood estimation on 5 unknowns in Stata.

I encountered an error message of "Numerical Overflow". How can I overcome this?

I am trying to run a Stochastic Frontier analysis using the built in Stata command "frontier". The dependent variable is log of output and the independent variable is log of intermediate inputs, capital, labour, and utlities.

**Contents**hide

#### Best Answer

After a day of searching, I found out that the issue was due to starting values. Thought I should just post the answer for future reference.

The frontier command in Stata obtains its starting values using method of moments. The initial values might have produced negative infinity for the log likelihood. To get around the problem I needed to specify the starting values myself, which were obtained from a linear regression.

### Similar Posts:

- Solved – Comparing coefficients of linear ” Stochastic Frontier Production and Cost Functions” in R
- Solved – Do the commands logit and glm (Binomial family) in Stata use different fitting/estimation algorithm
- Solved – Why one can fit Poisson GLM on non-integer values in Stata
- Solved – How to obtain the log-likelihood value in a OLS estimation
- Solved – Correct terminology: Can I use the term “unknown/s a priori”