Players: Normality in Nature

Description Usage Arguments Details Value Author(s) Examples

Description

Uses the example of players movements on a sports field to show the mechanics of how a "Normal Density" comes about.

Usage

1
Players(Step, n.Players, n.Steps)

Arguments

Step

ith step or ith coin toss.

n.Players

Number of players on the field.

n.Steps

Total number of tosses/steps planned to take.

Details

Shows the asymptotic behavior of binomial probability mass functions via simulation.

Value

Provides positions and distribution of positions for any number of players on a sports field and generates a histogram after ith step.

Author(s)

Reza Norouzian <rnorouzian@gmail.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# see 15 players' final positions and their distributions after taking
# 6 steps out of 16 total steps:


Players(Step = 16, n.Players = 1000, n.Steps = 16)



# see 1000 players' final positions and their distributions after taking
# 16 steps out of 16 total steps:


Players(Step = 16, n.Players = 1e4, n.Steps = 16)

rnorouzian/BayesianforL2 documentation built on May 29, 2019, 8:37 a.m.