Closed GoogleCodeExporter closed 9 years ago
Reproduced and accepted. Builds after 2-9.5 fail even with Bernoulli
Original comment by harry.southworth
on 11 Apr 2013 at 3:20
I've encountered various issues here.
I agree that with dist="mulitnomial", it's a bug. I'll fix it.
Otherwise, I sometimes get values > 1, which ought to be impossible. At other
times I get NaNs. Sometimes, the values are highly unstable and vary widely
from run to run.
I think there are reasonable explanations.
If a feature never makes it into the model (has relative influence 0), the top
and bottom of H are zero, so we get 0/0 = NaN.
If a feature has relative influence close to zero, a combination of rounding
errors and trying to compute tiny values result in values > 1.
With simulated data with real interactions, I get answers that appear to be
reasonable.
I'd be grateful to anyone else who investigates this and provides further
insight.
Harry
Original comment by harry.southworth
on 19 Apr 2013 at 3:41
I'v fixed the multinomial bug, added some comments to the help file, and got
the function to replace H > 1 with NaN.
Original comment by harry.southworth
on 10 May 2013 at 1:12
Original issue reported on code.google.com by
erik.la...@gmail.com
on 25 Mar 2013 at 4:46