On Tue, 22 Sep 2015, John Sorkin wrote:


In any event, I still don't know how to fit a single normal distribution and get a measure of fit e.g. log likelihood.


Gotta love R:

y <- rnorm(10)
logLik(glm(y~1))
'log Lik.' -17.36071 (df=2)

HTH,

Chuck

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to