Description Usage Arguments Value Author(s)

View source: R/fix_sample_pow.R

This is an auxiliary function of 'fix_sample_pow' and 'pow'. It is conducting a study with fixed sample size and normally distributed data. The calculated value of the test statistic is compared directly with the corresponding quantile of the normal distribution.

1 |

`N0` |
Number. Size of the originally planned sample size. |

`sd_ber` |
Number. Actual standard deviation in the data. |

`delta` |
Number. Expectation difference of two samples. |

`Delta` |
Number. Relevant difference of expected values in the alternative hypothesis. |

`test` |
Number. What type of hypothesis test should be performed, one-sided (Superiority/ |

`alpha` |
Number. Desired alpha-level of the test. |

`beta` |
Number. Acceptable beta error of the test. |

This function returns a value if the simulation study rejects (1) or can not reject (0) the

null hypothesis.

Csilla van Lunteren

@seealso
`test_h0`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.