Learn R Programming

LearningRlab (version 2.4)

explain.tstudent: T-Student Distribution Function Explained

Description

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

Usage

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

Value

Numeric result and the process of this calculus explained.

Arguments

x

Should be a number

u

Should be a number

s

Should be a number

n

Should be a number

Author

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

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.

Examples

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

Run the code above in your browser using DataLab