# Calculating the model null log-likelihood

Hi all,

Despite some very informational posts like https://legacy.sawtoothsoftware.com/forum/12252/rlh-and-percent-certainty I am still struggling in understanding and calculating model related indicators like the log-likelihood.

- assume I have 15 choice tasks and 800 respondents.
- each choice tasks consists of 2 alternatives plus one "none" alternative, which makes it 3 alternatives in total per choice task.

HB Analysis provides me information about each respondents RLH and an average (model) RLH of about 0.6.

The null LL (the "floor" as called in the upper mentioned post) would be:
"number of choice tasks" * LN(1/"number of alternatives") = 15 * LN(1/3) = -16.479.  This represents the benchmark for the lowest fit of my model as a number greater than that (more negative) would represent that my model shows no improvement compared to a complete random model.

The best possible solution would be 15(ln(1.0)) = 0.000.

But what I am struggling with is to calculate the actual model LL. Is this happening just by sum up all LL values of the 800 respondents? This would lead to a total LL of  about -7000. But I assume that I understood anything not correct, as this would not make any sense (my model would be by far worse than a complete random model, which cannot be the case).

Also this would lead to a ridiculous result when calculating the pseudo R-squared.

Happy for any ideas on that.
Thanks!
answered Jun 7, 2021 by Platinum (111,275 points)