search for: samandbrendan

Displaying 4 results from an estimated 4 matches for "samandbrendan".

2009 Apr 17
5
Binomial simulation
Hi Guy's I was wondering if someone could point me in the right direction. dbinom(10,1,0.25) I am using dbinom(10,1,0.25) to calculate the probabilty of 10 judges choosing a certain brand x times. I was wondering how I would go about simulating 1000 trials of each x value ? regards Brendan -- View this message in context:
2009 Mar 04
1
Plotting pdf of function
Hi Guys, I'm a numbie to R. I searched the forum for plotting pdf's of functions but couldn't find one that explained my question. I have been asked to plot the pdf fX(x) = 1/pi(1+x^2). -infinity < x < infinity. I would be greatfull if someone might point me to a webpage that might give me a hand. Kindest regards Beetle -- View this message in context:
2009 May 11
1
Plot bivariate joint pdf
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 0<x<1 , 0<y<1 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 .2+.2 .3+.3 not other possibilities like .9 + .1 Thanks
2009 Jun 08
1
Interpreting R -results for Bivariate Normal
HI Guys, I know that this forum is not for homework but I am trying to interpret R output code. I was just wondering if someone might be able to help. I have been given the following. For (X1,X2) distributed bivariate normal with parameters mu1 = 5.8 mu2 = 5.3 sd1 = sd2 = 0.2 and p = 0.6 The r-code and inpit/output are as follows input m <- 5.3 + 0.6*(6.3 - 5.8) s <-