Description Usage Arguments Value Examples

Calculates the p-value for a proposed mean for a population with known standard deviation, using the Z-statistic (normal distribution).

1 |

`x` |
Sample mean |

`sig` |
Population standard deviation |

`n` |
Sample size |

`mu` |
Population mean |

`side` |
To either get a two-tail or one-tail p-value (Default is "two") |

P-value

1 2 3 4 5 | ```
x <- 2.6
sig <- 0.3
n <- 36
mu <- 2.5
pval_z(x, sig, n, mu)
``` |

maxgav13/GMisc documentation built on June 1, 2018, 11:08 a.m.

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.