[R-SIG-Finance] Why does the curve() doesn't work for negative binomial distribution?
Matthieu Stigler
matthieu.stigler at gmail.com
Wed Jul 13 16:38:45 CEST 2011
the second reply is that to analyse the output of the warnings: they
tell you the function is evluated at non-integers value.
A solution is then to specify yourself the values, making sure the
sequence has only integers, like for example:
curve(dbinom(x, size=6, prob=0.3), from=1, to=50,n=50)
Mat
Le 13/07/2011 15:22, Arun.stat a écrit :
> I am quite sure that, the 1st reply (other that this!) you would get is to
> post this in R-forum.
> _____________________________________________________
>
> Arun Kumar Saha, FRM
> QUANTITATIVE RISK AND HEDGE CONSULTING SPECIALIST
> Visit me at: http://in.linkedin.com/in/ArunFRM
> _____________________________________________________
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Why-does-the-curve-doesn-t-work-for-negative-binomial-distribution-tp3664440p3665003.html
> Sent from the Rmetrics mailing list archive at Nabble.com.
>
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.
More information about the R-SIG-Finance
mailing list