clike function

Parameter vector & likelihood function used by HLRTest()

Parameter vector & likelihood function used by HLRTest()

This function combines parameters of restricted model with parameters of unrestricted model and then computes the likelihood using marklike().

clike(b, HLR_opt_ls)

Arguments

  • b: vector of parameters from restricted model.
  • HLR_opt_ls: List with model properties and test controls defined in HLRTest().

Returns

Value of likelihood at each period t.

  • Maintainer: Gabriel Rodriguez Rondon
  • License: GPL (>= 2)
  • Last published: 2025-02-24