Closed hofnerb closed 8 years ago
I see your point but:
1) in most cases it is more interesting to see the distribution of the iterations that the overall iterations (which is specified by the user).
2) this would break a lot of my code since I use the mstop()
function a lot in the internal fitting process.
What we could do is if mstop(model) <- c(mu = 10, sigma = 20)
is called we use sum(c(mu = 10, sigma = 20))
as new mstop and give a warning to the user?
I see. Let's discuss this at the phone. That is easier.
return scalar with one attribute for individual steps per distribution parameter. perhaps add nice print function...
Does the current behavior makes sense? I don't think so.
I do see why it is interesting to know how many iterations were fitted for mu and sigma but at the same time, we cannot reuse this information. We only care about the total number of steps.