stephens999 / fiveMinuteStats

A repo of short "vignettes" illustrating statistical concepts
http://stephens999.github.io/fiveMinuteStats
Other
298 stars 86 forks source link

The likelihood ratio for continuous data - An example where the approximation breaks down #53

Closed hy-lei closed 3 years ago

hy-lei commented 3 years ago

Link: https://stephens999.github.io/fiveMinuteStats/likelihood_ratio_simple_continuous_data.html

Are trueLR and approxLR swapped? It seems from the code that the function 'trueLR' calculates the approximated LR and 'approxLR' calculates the true LR.

hy-lei commented 3 years ago

I think I misunderstood the section above. Sorry for the confusion.