Object Reference : Object View and Procedure Reference : Logl
  
 
logl
Declare likelihood object.
Syntax
logl logl_name
Examples
logl ll1
declares a likelihood object named LL1.
ll1.append @logl logl1
ll1.append res1 = y-c(1)-c(2)*x
ll1.append logl1 = log(@dnorm(res1/@sqrt(c(3))))-log(c(3))/2
specifies the likelihood function for LL1 and estimates the parameters by maximum likelihood.
Cross-references
See “The Log Likelihood (LogL) Object” for further examples of the use of the likelihood object.
See also Logl::append for adding specification lines to an existing likelihood object, and Logl::ml for estimation.