I'm using gretl 2017c and tried to use the pdf function with a
binomial distribution. According to the command reference, which says
refer to the cdf function for the required scalar arguments, there are
only 2 (apart from the string which identifies the distribution -- in
this base "B"). But shouldn't there be 3 arguments?
For example to find the probability of 3 successes in 5 flips of a
coin we need 0.5, 3, and 5. I got this command to work after messing
around for a while and first getting some errors:
x = pdf(B, 0.5, 5, 3)
Replaced scalar x = 0.3125
On page 114 of the command reference only the probability and the
number of trials are given as required arguments, not the number of
successes.