Displaying 1 result from an estimated 1 matches for "lamdab".
Did you mean:
lamda
2004 Oct 17
3
how to draw a multivariate function
Hi, Rusers:
Thanks for answering my last questions. I am frustrated in plotting a trinomial pmf function
f(x,y | n, pa, pb) = factorial(n)/ (factorial(x) * factorial(y) * factorial (n-x-y))* pa^x * pb^y * ((1-pa-pb)^(n-x-y))
obviously it is a bivariate function of x and y. But I have put a lot of time on this.
**********************************
x <- seq(0, n, len = n/2+1) # for now I set