Setup initial file structure
This commit is contained in:
20
Modules/ado/plus/c/confa_lf.ado
Normal file
20
Modules/ado/plus/c/confa_lf.ado
Normal file
@ -0,0 +1,20 @@
|
||||
*! Log likelihood for confa: linear form; part of confa suite; 16 Oct 2008
|
||||
program define confa_lf
|
||||
|
||||
args lnf $CONFA_args
|
||||
* $CONFA_args contains the names of the equations, but
|
||||
* we need the variable names
|
||||
gettoken lnf allthenames : 0
|
||||
|
||||
tempvar lnl
|
||||
qui g double `lnl' = .
|
||||
|
||||
mata: CONFA_NormalLKHDr( "`allthenames'", "`lnl'")
|
||||
|
||||
qui replace `lnf' = `lnl'
|
||||
|
||||
if $CONFA_loglevel > 3 li `lnl'
|
||||
|
||||
end
|
||||
|
||||
exit
|
Reference in New Issue
Block a user