BIC is most often calculated by maximizing the log likelihood function. However, it is also possible to calculate BIC with residual sums of squares. This is pretty easy to find online and not an issue for me. However, what is odd and a bit confusing is all of the variants of BIC calculated with RSS/SSE that I have seen online. To go into more detail, here are four of the different versions I have seen:
On this document it appears as...
On this document it appears as...
On this Stack Overflow question it appears as...
And on Wikipedia it appears as...
I'm left a bit confused here and with numerous questions. Most broadly, what is the correct implementation or variant of BIC to use using RSS?
More specifically: (1) Is -2 * log necessary? The second referenced document states, "Note that the term -2 * ln L for used in this specialization is equal to the rescaled normal loglikelihood up to an additive constant that depends only on n." Frankly, I am not sure what this means. Are they saying that adding -2 * ln to this formula rescales/normalizes the log likelihood (but it isn't a log likelihood...)? (2) Is the error variance term used in some of the BIC formulas (but not all) necessary?
Any help here would be appreciated. I feel like I am just throwing darts in terms of which one of these to use.