sig.z.test | R Documentation |
The test is two tailed for when the SD in population is known. # p value for two tails. default Z crit is +-1.96.
sig.z.test(miu, sd, N, x, alpha = 5)
miu |
Avg/mean in population. |
sd |
SD in the population. |
N |
Sample size. |
x |
Mean found in sample. |
alpha |
Alpha decided. default 5. |
H0
rejected
or accepted
.
Z
the Z value.
Z crit
Criteria according to the alpha
provided.
alpha
in both sides (takes the alpha
input and divides by 2).
sig.z.test(620,80,25,588)
# In this example, 620 is the known mean with sd of 80. A 25 size sample produced a mean of 588. Is it significant?
sig.z.test(miu=620,sd=80,N=25,x=588,alpha=1)
# Now we changed the alpha from 0.05 to 0.01.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.