There is a missing function in the code?
needs "%ones()"?
Bvarselection.src
**source(echo) BVarselection.src, ERROR IN "comp p_j = gprior*%ones("
**Calls a function not yet defined
** ## SX11. Identifier %ONES is Not Recognizable.
Bayesian Var Selection
Re: Bayesian Var Selection
There is no %ones function. (Not a bad idea, but we don't have one). You should be able to make this work by adding
before you use the procedure.
Code: Select all
function %ones rows cols
type rect %ones
type integer rows cols
*
compute %ones=%fill(rows,cols,1.0)
end