Thanks a lot for your kind and prompt reply. I am afraid that my query is not well explained. Anyway, what I need is "the codes for calculation of 1-type II error, say power of the proposed test." -- View this message in context: http://r.789695.n4.nabble.com/Need-some-codes-ro-calculate-critical-values-and-Power-tp3247063p3248112.html Sent from the R help mailing list archive at Nabble.com.