Multinomial density function working with non-integer data?
Does anyone know why dmultinom function in R works with non-integers and what does it return in that case? See below: > dmultinom(c(0.7,0.1,0.1,0.1) ,prob = c(0.25,0.25,0.25,0.25)) [1] 0.25 > dmultinom(c(0.25,0.25,0.25,0.25) ,prob = c(0.25,0.25,0.25,0.25)) [1] 1 >Solution : This is the source code of dmultinom function (x, size = NULL, prob, log = FALSE) { K… Read More Multinomial density function working with non-integer data?