An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20110713/119d2901/attachment.pl>
Why does the curve() doesn't work for negative binomial distribution?
3 messages · 郝立亚, Arun Kumar Saha, Matthieu Stigler
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.
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.