Displaying 1 result from an estimated 1 matches for "term_0".
Did you mean:
term_
2000 Feb 04
2
constrained optimiser doesn't obey constraints (PR#411)
...rgence, for
some others it goes forever.
---Example code---
revise.mix.binbb_function(x,loss,no.inform){
if (any(is.nan(x)) || any(x<0) || any(x>c(1,1,.5,1))){
print(paste("x=",x))
return(Inf)
}
eta_x[1]
pi1_x[2]
omega1_x[3]
p0_x[4]
log.term_0
for (i in 1:length(no.inform)){
if ( (loss[i]-1) >= 0) {
first.prod_1
for (r in 0:(loss[i]-1)){
first.prod_first.prod*(pi1+r*omega1)
};} else {first.prod_1;}
if ( (no.inform[i]-loss[i]-1) >=0) {
second.pr...