Hi All,
Thankyou for your sugestions,
I Look through some other posts and learnt about the
persp() function.
So I ended up using;
x - seq(0, 1, len = 20)
y - seq(0, 1, len = 20)
model = function (x, y){
x+y}
z=outer(x, y ,model);
persp(x,y,z,theta=30,phi=30,ticktype=detailed)
Worked a real
beetle2 wrote:
For a homework question.
I was wondering if rcmdr has a function to plot a graph of a bivariate
function of X and Y.
I have a function with joint pdf
fX,Y(x,y) = x+y for 0x1 , 0y1
I've tried
x - seq(0,1,.001)
y - seq(0,1,.001)
r = x+y
plot(r)
but it seems to
For a homework question.
I was wondering if rcmdr has a function to plot a graph of a bivariate
function of X and Y.
I have a function with joint pdf
fX,Y(x,y) = x+y for 0x1 , 0y1
I've tried
x - seq(0,1,.001)
y - seq(0,1,.001)
r = x+y
plot(r)
but it seems to just add them together say
On May 11, 2009, at 9:46 AM, Ben Bolker wrote:
beetle2 wrote:
For a homework question.
I was wondering if rcmdr has a function to plot a graph of a
bivariate
function of X and Y.
I have a function with joint pdf
fX,Y(x,y) = x+y for 0x1 , 0y1
I've tried
x - seq(0,1,.001)
y -
Thank you for your suggestions.
When you talked about the double itegral
did you mean solve the pdf for 1 variable by
\int \int_{0}^{1} X+y dydx
x^2/2 + x/2
Where this is a function of one variable.
Do I then plot this function ?
regards
David Winsemius wrote:
On May 11, 2009, at
5 matches
Mail list logo