Description Usage Arguments Details Value Author(s) See Also Examples

Student's t distribution for 'df' degrees of freedom, shifted by 'mean' and scaled by 'sd'.

1 2 3 4 |

`x,q` |
vector of quantiles. |

`p` |
vector of probabilities. |

`n` |
number of observations. If |

`df` |
degrees of freedom (> 0, maybe non-integer). |

`mean` |
mean value for the shifted, scaled distribution. |

`sd` |
Scale factor for the shifted, scaled distribution. |

`ncp` |
non-centrality parameter delta; currently except for |

`lower.tail` |
logical; if TRUE (default), probabilities are P[X <= x]; otherwise, P[X > x]. |

`log, log.p` |
logical; if TRUE, probabilities p are given as log(p). |

These are wrappers for the corresponding t distribution functions in package `stats`

.

The scaled, shifted t distribution has mean `mean`

and variance `sd^2 * df/(df-2)`

The scaled, shifted t distribution is used for Monte Carlo evaluation when a value x has
been assigned a standard uncertainty u associated with with df degrees of freedom;
the corresponding distribution function for that is then `t.scaled`

with
`mean=x`

, `sd=u`

and `df=df`

.

`dt.scaled`

gives the density, `pt.scaled`

gives the distribution function,
`qt.scaled`

gives the quantile function, and `rt.scaled`

generates random deviates.

Invalid arguments will result in return value `NaN`

, with a
warning.

S. L. R. Ellison s.ellison@lgc.co.uk

1 2 3 4 5 6 7 8 |

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.