Monash University · FACULTY OF ECONOMICS

ETC3400 Chap.6 Numerical Likelihood Optimisation

- one subject, every graph, every model, every mark
8 Chapters3-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 6 of 7 · ETC3400

Numerical Likelihood Optimisation

Numerical Likelihood Optimisation treats software output as a result that must be audited. Newton Raphson uses the score and Hessian to predict the next root, while general routines such as BFGS search using objective and gradient information. Starting values, scaling, curvature and parameterisation affect the path and computational effort.

Log transforming a positive scale parameter turns a constrained problem into an unconstrained one without changing the statistical model. Joint, concentrated and analytical solutions should agree when they target the same global likelihood maximum, making their comparison a powerful code check.

In this chapter

What this chapter covers

  • 01

    Newton Raphson as a local linear approximation to the score

  • 02

    General numerical minimisation of the negative log likelihood

  • 03

    Starting values and basins of attraction

  • 04

    Convergence codes, final gradients and objective values

  • 05

    Positive scale parameters and log transformations

  • 06

    Bound constrained versus unconstrained algorithms

  • 07

    Concentrated likelihood after solving nuisance parameters analytically

  • 08

    Agreement among analytical, joint and concentrated solutions

Worked example · free

Reparameterise a positive standard deviation

Q [8 marks]. The marks used are not a published university assessment scheme; they organise the numerical practice. A normal likelihood contains a standard deviation sigma that must remain positive. Explain how to optimise using lambda equal to log sigma, how to transform the result back, and which diagnostics must be compared with a bounded optimisation over sigma.
  • +2Define lambda=log sigma, so sigma=exp lambda is positive for every real lambda.
  • +2Substitute exp lambda into the log likelihood and minimise its negative over an unrestricted real lambda.
  • +1Transform the solution back with sigma hat=exp lambda hat and evaluate the original log likelihood there.
  • +2Compare estimates, maximised objective values, convergence codes, final gradients and evaluation counts with the bounded direct optimisation.
  • +1Recommend the parameterisation based on validity, stability and effort rather than on the coefficient vector alone.
The log scale automatically enforces positivity and should return the same statistical maximum after transformation. Diagnostics determine whether the numerical path was reliable and whether both implementations solved the same problem.
Sia tip — Always compare objective values after returning every run to one common parameterisation. Similar parameter vectors with different likelihoods are not equivalent solutions.
Glossary

Key terms

Newton Raphson method
An iterative root finding method that updates a parameter using the current score divided by its derivative or Hessian.
Starting value
The initial parameter vector supplied to an optimiser, which can affect its route, effort and located solution.
Convergence code
A software status indicating how an optimisation ended. It must be read together with gradients and objective values.
Parameterisation
A one to one representation of model parameters that can change numerical geometry without changing the underlying statistical model.
Concentrated likelihood
A lower dimensional objective obtained after maximising analytically over nuisance parameters conditional on parameters of interest.
BFGS
A quasi Newton optimisation method that builds a curvature approximation from successive objective and gradient information.
FAQ

Numerical Likelihood Optimisation FAQ

Does a successful convergence code prove the estimate is correct?

No. It reports the algorithm status, not the validity of the model, derivatives or located optimum. Check the final gradient, restrictions, objective value and agreement across independent solution routes.

Why optimise a log scale parameter?

A logarithm maps every positive scale to the full real line and its inverse automatically returns a valid positive value. This avoids invalid negative steps and often improves numerical scaling.

Why run the optimiser from several starting values?

Agreement across materially different starts provides evidence that the same solution basin was reached and reveals how starting points change computational effort. It does not alone prove global optimality.

What should match between joint and concentrated optimisation?

After transforming estimates to a common parameterisation, the parameter estimates and maximised likelihood should agree within numerical tolerance. A material gap signals inconsistent code, signs or restrictions.

Study strategy

Exam move

Implement the likelihood twice when possible: one direct joint version and one analytical or concentrated benchmark. Test both on a small dataset where outputs can be inspected. Record starting vectors, algorithm names, bounds, convergence codes, objective values, final gradients and function or gradient counts. Run several starts and compare transformed results at full precision.

For a positive parameter, code both a bounded direct version and a log scale version, then explain why they describe the same model. Finish by evaluating the analytical score at the numerical estimate and checking that it is small relative to the local scale of score changes. Keep a reproducibility table for every run rather than copying only the most favourable output.

Include the data checksum or sample summary, software version, seed where randomness is used, parameter order and whether the routine minimises or maximises. Before trusting a result, perturb each coordinate around the reported estimate and confirm the objective behaves as expected. Compare analytical and finite-difference gradients on a small case, then investigate any scale-dependent discrepancy.

When two parameterisations are used, transform estimates back before comparing objectives and scores. Treat warnings, boundary solutions and singular Hessians as evidence to diagnose, not messages to suppress. A final write-up should separate model validity, implementation correctness, optimiser convergence and statistical interpretation because success in one layer cannot certify the others.

Working through Numerical Likelihood Optimisation in ETC3400? Sia is AskSia’s AI Economics tutor — ask any ETC3400 Numerical Likelihood Optimisation question and get a clear, step-by-step explanation grounded in how ETC3400 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 171 of your Monash University subjects - and 1,000+ Bibles across every Australian university.
Sia - your ETC3400 tutor, unlimited, worked the way the exam marks it
The full 3-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works