Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SkellamパッケージがCRANから削除されたことを知っているので(理由は聞かないでください)。しばらくインターネットで調べたところ、skellam pmf関数が見つからなかったので、自分で作成しました。
skellam <- function(k,mu1,mu2){ return(exp(-mu1-mu2)*((mu1/mu2)^(k/2))*besselI(2*sqrt(mu1*mu2),k)) }