search for: ribnom

Displaying 1 result from an estimated 1 matches for "ribnom".

Did you mean: rbinom
2012 May 20
1
question about sign test
Hi, I want to compute p value of sign test for sample size=15 from normal distr., sd=0.5, mean=1, alternative should be two sided. Is this code correct in this situation? binom.test(sum(rnorm(15,1,0.5)>0),15,p=0.5,alternative="two")$p.value Or should I use another code (function) e.g. rbinom? Thank you very much. kind regards, T. Bal [[alternative HTML version deleted]]