Displaying 1 result from an estimated 1 matches for "binbb".
Did you mean:
bibb
2000 Feb 04
2
constrained optimiser doesn't obey constraints (PR#411)
...quot; "x= NaN" "x= NaN" "x= NaN"
[1] "x= NaN" "x= NaN" "x= NaN" "x= NaN"
repeated a number of times.
For these starting value it eventually reports convergence, 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) {...