Skip to content

Commit

Permalink
minor typo updates and updated PDFs to be posted
Browse files Browse the repository at this point in the history
  • Loading branch information
mine-cetinkaya-rundel committed Jul 7, 2016
1 parent 9c4297a commit 3c58b87
Show file tree
Hide file tree
Showing 31 changed files with 44 additions and 43 deletions.
4 changes: 2 additions & 2 deletions 01/01learn_obj.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex 2015.5.24) 18 DEC 2015 18:47
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex 2015.5.24) 7 JUL 2016 00:52
entering extended mode
\write18 enabled.
%&-line parsing enabled.
Expand Down Expand Up @@ -540,7 +540,7 @@ Here is how much of TeX's memory you used:
sr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></us
r/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb></usr
/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/symbols/msam7.pfb>
Output written on 01learn_obj.pdf (3 pages, 89561 bytes).
Output written on 01learn_obj.pdf (3 pages, 89567 bytes).
PDF statistics:
90 PDF objects out of 1000 (max. 8388607)
78 compressed objects within 1 object stream
Expand Down
Binary file modified 01/01learn_obj.pdf
Binary file not shown.
Binary file modified 01/01learn_obj.synctex.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion 01/01learn_obj.tex
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
\item If random assignment has been employed in study design, the results suggest causality.
\end{itemize}
\item Question confounding variables and sources of bias in a given study.
\item Distinguish between simple random, stratified, and cluster sampling, and recognize the benefits and drawbacks of choosing one sampling scheme over another.
\item Distinguish between simple random, stratified, cluster, and multistage sampling, and recognize the benefits and drawbacks of choosing one sampling scheme over another.
\begin{itemize}
\renewcommand{\labelitemi}{{\textcolor{dark}{{\tiny $\blacksquare$}}}}
\item Simple random sampling: Each subject in the population is equally likely to be selected.
Expand Down
23 changes: 12 additions & 11 deletions 02/02learn_obj.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex 2015.5.24) 18 DEC 2015 19:28
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex 2015.5.24) 7 JUL 2016 00:55
entering extended mode
\write18 enabled.
%&-line parsing enabled.
Expand Down Expand Up @@ -481,12 +481,12 @@ LaTeX Info: Redefining \nameref on input line 39.
\@outlinefile=\write3
\openout3 = `02learn_obj.out'.

LaTeX Font Info: Try loading font information for U+msa on input line 104.
LaTeX Font Info: Try loading font information for U+msa on input line 66.

(/usr/local/texlive/2015/texmf-dist/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2013/01/14 v3.01 AMS symbols A
)
LaTeX Font Info: Try loading font information for U+msb on input line 104.
LaTeX Font Info: Try loading font information for U+msb on input line 66.

(/usr/local/texlive/2015/texmf-dist/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2013/01/14 v3.01 AMS symbols B
Expand All @@ -507,19 +507,20 @@ Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 139.
Here is how much of TeX's memory you used:
7386 strings out of 493089
106837 string characters out of 6134842
210058 words of memory out of 5000000
211058 words of memory out of 5000000
10752 multiletter control sequences out of 15000+600000
9048 words of font info for 35 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
42i,5n,35p,374b,428s stack positions out of 5000i,500n,10000p,200000b,80000s
42i,5n,35p,374b,552s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb
></usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb><
/usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></
usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb>
Output written on 02learn_obj.pdf (2 pages, 63132 bytes).
></usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb>
</usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></
usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></u
sr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb>
Output written on 02learn_obj.pdf (2 pages, 71193 bytes).
PDF statistics:
55 PDF objects out of 1000 (max. 8388607)
46 compressed objects within 1 object stream
59 PDF objects out of 1000 (max. 8388607)
49 compressed objects within 1 object stream
15 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)

Binary file modified 02/02learn_obj.pdf
Binary file not shown.
Binary file modified 02/02learn_obj.synctex.gz
Binary file not shown.
12 changes: 6 additions & 6 deletions 02/02learn_obj.tex
Original file line number Diff line number Diff line change
Expand Up @@ -57,26 +57,26 @@
\item Define a probability distribution as a list of the possible outcomes with corresponding probabilities that satisfies three rules:
\begin{itemize}
\item[-] The outcomes listed must be disjoint.
\item[-] Each probability must be between 0 and 1.
\item[-] Each probability must be between 0 and 1, inclusive.
\item[-] The probabilities must total 1.
\end{itemize}

\item Define complementary outcomes as mutually exclusive outcomes of the same random process whose probabilities add up to 1.
\begin{itemize}
\item[-] If A and B are complementary, P(A) + P(B) = 1
\item[-] If A and B are complementary, $P(A) + P(B) = 1$.
\end{itemize}

\item Distinguish between union of events (A or B) and intersection of events (A and B).
\begin{itemize}
\item[-] Calculate the probability of union of events using the (general) addition rule.
\begin{itemize}
\item[+] If A and B are not mutually exclusive, P(A or B) = P(A) + P(B) ? P(A and B)
\item[+] If A and B are mutually exclusive, P (A or B) = P (A) + P (B), since for mutually exclusive events P(A and B) = 0
\item[+] If A and B are not mutually exclusive, $P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B)$.
\item[+] If A and B are mutually exclusive, $P(A \text{ or } B) = P (A) + P (B)$, since for mutually exclusive events $P(A \text{ and } B) = 0$.
\end{itemize}
\item[-] Calculate the probability of intersection of independent events using the multiplication rule.
\begin{itemize}
\item[+] If A and B are independent, P(A and B) = P(A) ? P(B)
\item[+] If A and B are dependent, P(A and B) = P(A|B) ? P(B)
\item[+] If A and B are dependent, $P(A \text{ and } B) = P(A) \times P(B | A)$.
\item[+] If A and B are dependent, independent, $P(A \text{ and } B) = P(A) \times P(B)$, since for independent events $P(B | A) = P(B)$.
\end{itemize}
\end{itemize}

Expand Down
8 changes: 4 additions & 4 deletions 04/04learn_obj.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex 2015.5.24) 18 DEC 2015 19:06
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex 2015.5.24) 7 JUL 2016 01:05
entering extended mode
\write18 enabled.
%&-line parsing enabled.
Expand Down Expand Up @@ -512,11 +512,11 @@ Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 357.
Here is how much of TeX's memory you used:
7443 strings out of 493089
107334 string characters out of 6134842
210954 words of memory out of 5000000
211058 words of memory out of 5000000
10765 multiletter control sequences out of 15000+600000
11392 words of font info for 45 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
42i,5n,35p,454b,527s stack positions out of 5000i,500n,10000p,200000b,80000s
42i,5n,35p,457b,527s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb
></usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb>
</usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb><
Expand All @@ -529,7 +529,7 @@ texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb></usr/local/tex
live/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/local/texl
ive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy8.pfb></usr/local/texliv
e/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb>
Output written on 04learn_obj.pdf (5 pages, 151844 bytes).
Output written on 04learn_obj.pdf (5 pages, 151864 bytes).
PDF statistics:
147 PDF objects out of 1000 (max. 8388607)
126 compressed objects within 2 object streams
Expand Down
Binary file modified 04/04learn_obj.pdf
Binary file not shown.
Binary file modified 04/04learn_obj.synctex.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion 04/04learn_obj.tex
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
\item Reading: Section 4.5 of OpenIntro Statistics
\item Test yourself: \\
{\small
In a random sample of 1,017 Americans 60\% said they do not trust the mass media when it comes to reporting the news fully, accurately, and fairly. The standard error associated with this estimate is 0.015 (1.5\%). What is the margin of error ay 95\% confidence level? Calculate a 95\% confidence interval and interpret it in context. You may assume that the point estimate is normally distributed (we'll learn how to check this later).
In a random sample of 1,017 Americans 60\% said they do not trust the mass media when it comes to reporting the news fully, accurately, and fairly. The standard error associated with this estimate is 0.015 (1.5\%). What is the margin of error for a 95\% confidence level? Calculate a 95\% confidence interval and interpret it in context. You may assume that the point estimate is normally distributed (we'll learn how to check this later).
}
\end{itemize}
}}
Expand Down
2 changes: 1 addition & 1 deletion 05/05learn_obj.tex
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

\begin{document}

{\LARGE \textcolor{oiB}{Learning Objectives \hfill Chapter 5: Inference for numerical variables}} \\
{\LARGE \textcolor{oiB}{Learning Objectives \hfill Chapter 5: Inference for numerical data}} \\

%

Expand Down
6 changes: 3 additions & 3 deletions 06/06learn_obj.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex 2015.5.24) 18 DEC 2015 19:23
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex 2015.5.24) 7 JUL 2016 01:00
entering extended mode
\write18 enabled.
%&-line parsing enabled.
Expand Down Expand Up @@ -518,7 +518,7 @@ Here is how much of TeX's memory you used:
10753 multiletter control sequences out of 15000+600000
9347 words of font info for 36 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
42i,5n,35p,395b,548s stack positions out of 5000i,500n,10000p,200000b,80000s
42i,5n,35p,395b,546s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb
></usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb>
</usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb><
Expand All @@ -530,7 +530,7 @@ l/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb></usr/local/t
exlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/local/te
xlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy8.pfb></usr/local/texl
ive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb>
Output written on 06learn_obj.pdf (5 pages, 138388 bytes).
Output written on 06learn_obj.pdf (5 pages, 138647 bytes).
PDF statistics:
124 PDF objects out of 1000 (max. 8388607)
104 compressed objects within 2 object streams
Expand Down
Binary file modified 06/06learn_obj.pdf
Binary file not shown.
Binary file modified 06/06learn_obj.synctex.gz
Binary file not shown.
14 changes: 7 additions & 7 deletions 06/06learn_obj.tex
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

\begin{document}

{\LARGE \textcolor{oiB}{Learning Objectives \hfill Chapter 6: Inference for categorical variables}} \\
{\LARGE \textcolor{oiB}{Learning Objectives \hfill Chapter 6: Inference for categorical data}} \\

%
\begin{enumerate}
Expand Down Expand Up @@ -71,14 +71,14 @@

\item Note that the standard error calculation for the confidence interval and the hypothesis test are different when dealing with proportions, since in the hypothesis test we need to assume that the null hypothesis is true -- remember: p-value = P(observed or more extreme test statistic $|$ $H_0$ true).
\begin{itemize}
\item[-] For confidence intervals use $\hat{p}$ (observed sample proportion) when calculating the standard error and checking the success/failure condition:
\item[-] For confidence intervals use $\hat{p}$ (observed sample proportion) when calculating the standard error and when checking the success/failure condition:
\[ SE_{\hat{p}} = \sqrt{\frac{\hat{p}(1-\hat{p})}{n}} \]
\item[-] For hypothesis tests use $p_0$ (null value) when calculating the standard error and checking the success/failure condition:
\[ SE_{\hat{p}} = \sqrt{\frac{p_0 (1-p_0)}{n}} \]
\item[-] Such a discrepancy doesn't exist when conducting inference for means, since the mean doesn't factor into the calculation of the standard error, while the proportion does.
\end{itemize}

\item Explain why when calculating the required minimum sample size for a given margin of error at a given confidence level, we use $\hat{p} = 0.5$ if there are no previous studies suggesting a more accurate estimate.
\item Calculate the required minimum sample size for a given margin of error at a given confidence level, and explain why we use $\hat{p} = 0.5$ if there are no previous studies suggesting a more accurate estimate.
\begin{itemize}
\item[-] Conceptually: When there is no additional information, 50\% chance of success is a good guess for events with only two outcomes (success or failure).
\item[-] Mathematically: Using $\hat{p} = 0.5$ yields the most conservative (highest) estimate for the required sample size.
Expand Down Expand Up @@ -117,7 +117,7 @@

\item Note that the calculation of the standard error of the distribution of the difference in two independent sample proportions is different for a confidence interval and a hypothesis test.
\begin{itemize}
\item[-] confidence interval and hypothesis test when $H_0: p_1 -p_2 =$ some value other than 0:
\item[-] confidence interval (and hypothesis test when $H_0: p_1 -p_2 =$ some value other than 0):
\[SE_{(\hat{p}_1 - \hat{p}_2)} = \sqrt{\frac{ \hat{p}_1 (1 - \hat{p}_1)}{n_1} + \frac{ \hat{p}_2 (1 - \hat{p}_2)}{n_2} } \]
\item[-] hypothesis test when $H_0: p_1 -p_2 = 0$:
\[SE_{(\hat{p}_1 - \hat{p}_2)} = \sqrt{\frac{ \hat{p}_{pool} (1 - \hat{p}_{pool})}{n_1} + \frac{ \hat{p}_{pool} (1 - \hat{p}_{pool})}{n_2} }, \]
Expand Down Expand Up @@ -166,8 +166,8 @@

\item Use a chi-square test of goodness of fit to evaluate if the distribution of levels of a single categorical variable follows a hypothesized distribution.
\begin{itemize}
\item[] $H_0:$ The distribution of observed counts follow the hypothesized distribution, and any observed differences are due to chance.
\item[] $H_A:$ The distribution of observed counts do not follow the hypothesized distribution.
\item[] $H_0:$ The distribution of the variable follows the hypothesized distribution, and any observed differences are due to chance.
\item[] $H_A:$ The distribution of the variable does not follow the hypothesized distribution.
\end{itemize}

\item Calculate the expected counts for a given level (cell) in a one-way table as the sample size times the hypothesized proportion for that level.
Expand All @@ -176,7 +176,7 @@
\[ \chi = \sum_{i = 1}^{k} \frac{(\text{observed count} - \text{expected count})^2}{\text{expected count}}, \]
where $k$ is the number of cells.

\item Note that the chi-square distribution is right skewed with one parameter: degrees of freedom. In the case of a goodness of fit test, $df = k - 1$.
\item Note that the chi-square distribution is right skewed with one parameter: degrees of freedom. In the case of a goodness of fit test, $df = \# \text{of categories} - 1$.

\item List the conditions necessary for performing a chi-square test (goodness of fit or independence)
\begin{enumerate}
Expand Down
6 changes: 3 additions & 3 deletions 07/07learn_obj.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex 2015.5.24) 18 DEC 2015 19:25
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex 2015.5.24) 7 JUL 2016 01:04
entering extended mode
\write18 enabled.
%&-line parsing enabled.
Expand Down Expand Up @@ -535,7 +535,7 @@ Here is how much of TeX's memory you used:
10768 multiletter control sequences out of 15000+600000
9347 words of font info for 36 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
42i,7n,35p,390b,602s stack positions out of 5000i,500n,10000p,200000b,80000s
42i,7n,35p,390b,568s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb
></usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb>
</usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb><
Expand All @@ -546,7 +546,7 @@ ocal/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmr6.pfb></usr/loca
l/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb></usr/local/t
exlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/local/te
xlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb>
Output written on 07learn_obj.pdf (5 pages, 144310 bytes).
Output written on 07learn_obj.pdf (5 pages, 144379 bytes).
PDF statistics:
140 PDF objects out of 1000 (max. 8388607)
115 compressed objects within 2 object streams
Expand Down
Binary file modified 07/07learn_obj.pdf
Binary file not shown.
Binary file modified 07/07learn_obj.synctex.gz
Binary file not shown.
8 changes: 4 additions & 4 deletions 07/07learn_obj.tex
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@
\item[-] Note that a relationship that is nonlinear is simply called an association.
\end{itemize}

\item Note that correlation coefficient ($R$, also called Pearson's $R$) the following properties:
\item Note that correlation coefficient ($r$, also called Pearson's $r$) the following properties:
\begin{enumerate}
\item[-] the magnitude (absolute value) of the correlation coefficient measures the strength of the linear association between two numerical variables
\item[-] the sign of the correlation coefficient indicates the direction of association
\item[-] the correlation coefficient is always between -1 and 1, -1 indicating perfect negative linear association, +1 indicating perfect positive linear association, and 0 indicating no linear relationship
\item[-] the correlation coefficient is always between -1 and 1, inclusive, with -1 indicating perfect negative linear association, +1 indicating perfect positive linear association, and 0 indicating no \emph{linear} relationship
\item[-] the correlation coefficient is unitless
\item[-] since the correlation coefficient is unitless, it is not affected by changes in the center or scale of either variable (such as unit conversions)
\item[-] the correlation of X with Y is the same as of Y with X
Expand Down Expand Up @@ -126,7 +126,7 @@

\item Calculate the estimate for the slope ($b_1$) as
\[ b_1 = R\frac{s_y}{s_x}, \]
where $R$ is the correlation coefficient, $s_y$ is the standard deviation of the response variable, and $s_x$ is the standard deviation of the explanatory variable.
where $r$ is the correlation coefficient, $s_y$ is the standard deviation of the response variable, and $s_x$ is the standard deviation of the explanatory variable.

\item Interpret the slope as
\begin{itemize}
Expand Down Expand Up @@ -157,7 +157,7 @@
\item Define $R^2$ as the percentage of the variability in the response variable explained by the the explanatory variable.
\begin{itemize}
\item[-] For a good model, we would like this number to be as close to 100\% as possible.
\item[-] This value is calculated as the square of the correlation coefficient.
\item[-] This value is calculated as the square of the correlation coefficient, and is between 0 and 1, inclusive.
\end{itemize}

\end{enumerate}
Expand Down
Binary file added LO-PDFs.zip
Binary file not shown.
Binary file added LO-PDFs/00learn_obj.pdf
Binary file not shown.
Binary file added LO-PDFs/01learn_obj.pdf
Binary file not shown.
Binary file added LO-PDFs/02learn_obj.pdf
Binary file not shown.
Binary file added LO-PDFs/03learn_obj.pdf
Binary file not shown.
Binary file added LO-PDFs/04learn_obj.pdf
Binary file not shown.
Binary file added LO-PDFs/05learn_obj.pdf
Binary file not shown.
Binary file added LO-PDFs/06learn_obj.pdf
Binary file not shown.
Binary file added LO-PDFs/07learn_obj.pdf
Binary file not shown.
Binary file added LO-PDFs/08learn_obj.pdf
Binary file not shown.

0 comments on commit 3c58b87

Please sign in to comment.