myTsim: T simulation

View source: R/mytsim.R

myTsimR Documentation

T simulation

Description

This carries out a simulation from a Normal

Usage

myTsim(
  n1 = 20,
  sigma1 = 3,
  mean1 = 5,
  iter = 10000,
  ymax = 0.4,
  x = 2,
  y = 0.3,
  ...
)

Arguments

n1

Sample size

sigma1

Population standard deviation

mean1

Population mean

iter

Number of iterations

ymax

Yaxis maximum value (for plots)

x

The x co-ord of the T annotation formula

y

The y co-ord of the same

...

More parameters to send to the histogram

Details

This demonstrates what a sampling distribution is and gives some details of how an r simulation can be made. The function is RMD ready.

Value

A plot and list of summary stats

Examples

myTsim()

MATHSTATSOU/Intro2R documentation built on Feb. 20, 2025, 6:18 a.m.