predint: Prediction Intervals for given data

View source: R/predint.R

predintR Documentation

Prediction Intervals for given data

Description

predint computes a prediction interval of Normal data.

Usage

predint(datavector, alpha = 0.05)

Arguments

datavector

A numeric value, vector or list.

alpha

the significance level required

Details

This function computes a prediction interval of a vector, which is assumed normally distributed with unknown mean and variance.

Value

a vector of two values A vector with values giving lower and upper prediction limits for each parameter.

Author(s)

Felipe Figueiredo

Examples

x <- rnorm(30)
predint(x)


philsf/philsfmisc documentation built on April 11, 2022, 9:04 p.m.