Gaussian log-likelihood from residual sum of squares
Arguments
- n
number of observations.
- RSS
residual sum of squares (summed over both coordinates).
- sd
optional known noise standard deviation. If
NA(default), the noise variance is profiled out (concentrated log-likelihood), which is the branch used everywhere inCS.