## Corrected code:
sim.size <- 200
sample.size <- 10
set.seed(231)
mu1 <- 0
delta <- seq(-2,2, length=50)
pow.ttest<- numeric(50)
pow.kstest<- numeric(50)
pow.wtest<- numeric(50)
for (j in 1:length(delta))
{
mu2 <- mu1 + delta[j]
pt.test <- numeric(sim.size)
pw.test <- numeric(sim.
kasturi bardhan wrote:
> hello everybody
> I use the following code for my programming & it runs with the error as
> specified below.Any help that would disolve the error will be highly
> appreciated.
> Thanks in advance
> my code looks like this
> R programme for simulating the power of t
hello everybody
I use the following code for my programming & it runs with the error as
specified below.Any help that would disolve the error will be highly
appreciated.
Thanks in advance
my code looks like this
R programme for simulating the power of the two sample t test vs various
3 matches
Mail list logo