Navigation Banner
 

Optimize Batch language command
  'Optimize' performs the optimization of the likelihood function.
Syntax  Optimize (receptacle, likelihood_function_id);
Notes 'receptacle' is the identifier of the matrix which receives the results, and 'likelihood_funtion_id' is the likelihood function to be optimized.

Upon completion 'receptacle' will contain 2 rows, the first one listing all the parameters (global, followed by independent, followed by dependent - for order, call frpintf on the likelihood function, with LIKELIHOOD_FUNCTION_OUTPUT = 1); the second row only has 3 entries- the first element is the value of the likelihood function ([1][0]), the second element is the number of independent parameters that were optimized ([1][1]), the third is the number of global(shared) parameters that were optimized([1][2]).

'likelihood_funtion_id' must refer to an existing likelihood function.

Examples
Optimize (res, lf);
 Last modified: 8/19/2002

 
Sergei L. Kosakovsky Pond and Spencer V. Muse, 1997-2002