Description Usage Arguments Value Examples

Calculates the p-value for the proposed difference of the mean between 2 samples (t distribution).

1 |

`x1` |
Sample's 1 mean |

`s1` |
Sample's 1 standard deviation |

`n1` |
Sample size of sample 1 |

`x2` |
Sample's 2 mean |

`s2` |
Sample's 2 standard deviation |

`n2` |
Sample size of sample 2 |

`dmu` |
Proposed difference between sample means (Default is 0) |

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

P-value

1 2 3 4 5 6 7 | ```
x1 <- 34.67
s1 <- 4.97
n1 <- 15
x2 <- 40.87
s2 <- 5.36
n2 <- 15
pval_t2(mu1, s1, n1, mu2, s2, n2)
``` |

maxgav13/GMisc documentation built on Nov. 6, 2018, 2:50 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.