var_ | R Documentation |
Compute an interval estimate of the population variance of x and a hypothesis test using the given population variance.
var_(
x,
alternative = c("two.sided", "less", "greater"),
pv = 0,
conf.level = 0.95
)
x |
a (non-empty) numeric vector of data values. |
alternative |
a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less". You can specify just the initial letter. |
pv |
a number indicating the true value of the population variance. |
conf.level |
confidence level of the interval. |
The sample variance of the estimate is the unbiased variance computed with stats::var
. It also calculates the population variance assuming the given value is the population.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.