7.1: Contextual background resulting in histogram
- Page ID
- 122621
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\dsum}{\displaystyle\sum\limits} \)
\( \newcommand{\dint}{\displaystyle\int\limits} \)
\( \newcommand{\dlim}{\displaystyle\lim\limits} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)- Types of probability
- Rudimentary version is percentage of occurrences of particular events relative to total possible events
- Examples
Probability of drawing 7 of spades
- Answer
-
1 out of 52
Probability of drawing 7 of ANY suit
- Answer
-
4 of 52; equivalently 1 of 13
Outcome for rolling of single die
- Answer
-
1 of 6
Probability of rolling doubles on pair of dice
- Answer
-
6 of 36 or equivalently 1 of 6
Likelihood of going to jail in game of Monopoly
- Answer
-
(1 of 6)\(^3\) or 1 of 216
- Examples
- Combination of sets of outcomes
- Union and intersection -- adding of new events that overlap \(\ldots\) but must eliminate repeat counts
- Conditional probability -- likelihood given prior event occurrence (i.e. quarantine following international travel)
- Not applicable to independent random data
- Permutation - \(n\) different outcomes taken \(m\) at a time
- Use of factorial function ! \[ P^{n}_{m} = \frac{n!}{(n-m)!} \]
- Order of events matter in this scenario
- Combination - \(n\) different outcomes taken \(m\) independently ordered times
- Reduces number of possibilities \[ C^{n}_{m}= \frac{n!}{m!(n-m)!}\]
-
How many ways can one create a sandwich combination?
- List of original options: 2 patties, 1 cheese, lettuce, tomato, special sauce, middle bread ...
- Pairing options together: proteins, veggies, condiments, containment, other
- Answer
-
Add texts here. Do not delete this text first.
- Rudimentary version is percentage of occurrences of particular events relative to total possible events
- Representing statistical information
- Sample versus population
- Population is the whole/complete collection (i.e. Census 2020)
- Sample is subset of the selected elements of the population
- Creates different variables with unique identifiers
True Value Sample statistics (with inference of "true") \(x' =\) true mean of whole population \(\bar{x} =\) calculated mean from sample dataset \(\sigma^{2} =\) true variance \(S_{x}^{2} =\) sample variance
- Histogram representation
- Scatter of data counts as function of another variable
- Uniform bin widths standard for statistical analysis
- non-uniform bins show equal probability, but changing ranges
- number of bins are user specified for representation
- Uniform width histogram procedure
- Determine total range \(x_{range} = x_{max}-x_{min}\)
- Select \(k\) number of intervals
- Define interval width \(\Delta x = x_{range}/k\)
- count occurrences \(n_{j}\) of data in each \(\Delta x\)
- Verify sum of \(n_{j}\) equals \(N\) samples
- Plot \(n_{j}\) versus the midpoint of each \(\Delta x\) section
- Change which parts for uniform height? (leave for homework assignment)
- Scatter of data counts as function of another variable
- Frequency distribution
- Same as histogram but scale \(n_{j}/N\)
- Creates dimensionless term rather than integer count
- As \(N\rightarrow \infty\) and \(\Delta x \rightarrow 0), the discrete device changes to continuum of probability density function (pdf)
- Can use continuous form \(p(x)\) (probability as function of value or range) for further characterization
- Sample versus population
- Probability Density Function
- Distribution of values for a random variable \(x\)
- Probability that a specific value \(x^{*}\) occurs is \(p(x^{*})\)
- Positive value \(p(x) >0\) everywhere
- Sum of all probability is unity \[ \int_{-\infty}^{+\infty}p(x) dx = 1 \] indicating that area under the pdf must equal 1
- Relates to probability distribution function by integrating to limits
- Summing probability over a range \[ P\left[x_{0} \leq x \leq x^{*}\right] = \int_{x_{0}}^{x^{*}} p(x) dx \] Recall that \(x_{0}\) and \(x^{*}\) are specific fixed values while \(x\) is the variable of integration
- From plotting, the \(p(x)\) will always be positive, less than 1, but its slope will have positive and negative features
- Plots of \(P\left[x_{0} \leq x \leq x^{*}\right]\) always have positive slope but bounded by 0 and 1

