explain.tstudent: T-Student Distribution Function Explained

View source: R/Statistics.R

explain.tstudentR Documentation

T-Student Distribution Function Explained

Description

Step by step demonstration of the T-Student distribution calculus.

Usage

explain.tstudent(x,u,s,n)

Arguments

x

Should be a number

u

Should be a number

s

Should be a number

n

Should be a number

Details

To calculate the T-Student distribution, the user should give four number (sample mean, population mean, population standard deviation and sample size). The result is a probability distribution that arises from the problem of estimating the mean of a normally distributed population when the sample size is small. We can saw the T-Student distribution formule in the tstudent_ help document.

Value

Numeric result and the process of this calculus explained.

Note

Each variable is a number. Example: x <- 2 | y <- 4

Author(s)

Jose Manuel Gomez Caceres, josemanuel.gomezc@edu.uah.es
Juan Jose Cuadrado, jjcg@uah.es
Universidad de Alcala de Henares

Examples

  
   #data creation
    x = 52.9
    u = 50
    s = 3
    n = 10
    
    explain.tstudent(x,u,s,n)
    

LearningRlab documentation built on June 18, 2022, 1:06 a.m.