# NOT RUN {
# }
# NOT RUN {
false.rate <- false_and_its_rate_creator()
#========================================================================================
# In SBC, Poisson rate = 0,..so,... i have to investigate.
#========================================================================================
set.seed( 1234 )
dz <-runif(3, # sample size
0.01, # lower bound
1 # upper bound
)
w <- rnorm(1,
0,
1
)
z <- z_from_dz(w,dz )
false_and_its_rate_creator(z )
#========================================================================================
# Poisson rate is OK
#========================================================================================
set.seed( 1234 )
dz <-runif(3, # sample size
0.01, # lower bound
1 # upper bound
)
w <- rnorm(1,
0,
10 # It cause the poisson rate become small
)
z <- z_from_dz(w,dz )
false_and_its_rate_creator(z )
#========================================================================================
# In SBC, Poisson rate is small
#========================================================================================
set.seed( 1234 )
dz <-runif(3, # sample size
0.01, # lower bound
1 # upper bound
)
w <- rnorm(1,
0,
10 # It cause the poisson rate become small
)
z <- z_from_dz(w,dz )
false_and_its_rate_creator(z )
#========================================================================================
# Poisson rate = 0
#========================================================================================
set.seed( 1234 )
dz <-runif(3, # sample size
0.01, # lower bound
10 # It cause the poisson rate become exactly 0 # upper bound
)
w <- rnorm(1,
0,
1
)
z <- z_from_dz(w,dz )
false_and_its_rate_creator(z )
#'
# }
Run the code above in your browser using DataLab