Skip to content
Back to formatted view

Raw Message

Message-ID: <20060203115536.699413F06E@slim.kubism.ku.dk>
Date: 2006-02-03T11:55:36Z
From: uht@dfu.min.dk
Subject: pbinom with size argument 0 (PR#8560)

Full_Name: Uffe H?gsbro Thygesen
Version: 2.2.0
OS: linux
Submission from: (NULL) (130.226.135.250)


Hello all.

  pbinom(q=0,size=0,prob=0.5)

returns the value NaN. I had expected the result 1. In fact any value for q
seems to give an NaN. Note that

  dbinom(x=0,size=0,prob=0.5)

returns the value 1.

Cheers,

Uffe