How to get log likelihood value from GLM.jl estimation

How to get log likelihood value from GLM.jl estimation

Thank you.

julia> using DataFrames, GLM

julia> data = DataFrame(X=[1,2,3], Y=[2,4,7])

julia> ols = lm(@formula(Y ~ X), data);

julia> loglikelihood(ols)
0.07874203723022843

Thank you.
It’s a little bit strange, but I did find this function in the GLM documentation.

Thank you.
It’s a little bit strange, but I did find this function in the GLM documentation.