Skip to content

Commit

Permalink
Fix a batch of typos that have been reported
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidDiez committed Dec 27, 2024
1 parent c8dfa76 commit f28516b
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 23 deletions.
4 changes: 2 additions & 2 deletions ch_foundations_for_inf/TeX/ch_foundations_for_inf.tex
Original file line number Diff line number Diff line change
Expand Up @@ -654,8 +654,8 @@ \subsection{Applying the Central Limit Theorem to
We do not actually know the population proportion
unless we conduct an expensive poll of all individuals
in the population.
Our earlier value of $p = 0.88$ was based on
a Pew Research conducted a poll of \pewsolarpollsize{}
Our earlier value of $p = 0.88$ was based on poll
conducted by Pew Research of \pewsolarpollsize{}
American adults that found
$\hat{p} = \pewsolarpollprop{}$ of them favored
expanding solar energy.
Expand Down
2 changes: 1 addition & 1 deletion ch_inference_for_means/TeX/ch_inference_for_means.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ \subsection{Inference for paired data}
$H_0$ is true,
and the p-value is represented by the two shaded tails:
\begin{center}
\Figures[A bell-shaped distribution is shown, with a center of mu-sub-0, which has a value of 0. The area under the distribution above x-bar-sub-diff equals 3.98 is shaded, as is the corresponding tail below -3.98.]{0.53}{textbooksF18}{textbooksF18HTTails}
\Figures[A bell-shaped distribution is shown, with a center of mu-sub-0, which has a value of 0. The area under the distribution above x-bar-sub-diff equals 3.58 is shaded, as is the corresponding tail below -3.58.]{0.53}{textbooksF18}{textbooksF18HTTails}
\end{center}
The degrees of freedom is
$df = \uclabookN{} - 1 = \uclabookDF{}$.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ normTail(L = -abs(m),
# border = COL[4],
axes = FALSE)
at <- c(-100, 0, m, 100)
labels <- expression(0, mu[0]*' = 0', bar(x)[diff]*" = 3.98", 0)
labels <- expression(0, mu[0]*' = 0', bar(x)[diff]*" = 3.58", 0)
axis(1, at, labels, cex.axis = 0.9)
dev.off()
Binary file not shown.
6 changes: 3 additions & 3 deletions ch_intro_to_data/TeX/ch_intro_to_data.tex
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ \subsection{Observations, variables, and data matrices}
The columns represent characteristics,
called \termsub{variables}{variable},
for each of the loans.
For example, the first row represents a loan of \$7,500 with an interest rate of 7.34\%, where the borrower is based in Maryland (MD) and has an income of \$70,000.
For example, the first row represents a loan of \$22,000 with an interest rate of 10.90\%, where the borrower is based in New Jersey (NJ) and has an income of \$59,000.

\begin{exercisewrap}
\begin{nexercise}
Expand All @@ -178,7 +178,7 @@ \subsection{Observations, variables, and data matrices}
in the footnote.\footnotemark{}
\end{nexercise}
\end{exercisewrap}
\footnotetext{The loan's grade is A,
\footnotetext{The loan's grade is B,
and the borrower rents their residence.}

In practice, it is especially important to ask clarifying
Expand Down Expand Up @@ -476,7 +476,7 @@ \subsection{Types of variables}
The \mbox{\var{num\us{}migraines}} variable represents the number
of migraines the patient experienced during a 3-month period.
\mbox{Classify} each variable as either numerical or
categorical?\footnotemark
categorical.\footnotemark
\end{nexercise}
\end{exercisewrap}
\footnotetext{The
Expand Down
2 changes: 1 addition & 1 deletion ch_regr_mult_and_log/TeX/ch_regr_mult_and_log.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ \subsection{Two model selection strategies}
\var{credit\us{}checks} \\
&
$R^2_{adj} = 0.12855$ &
$R^2_{adj} = -$<$0.00018$ &
$R^2_{adj} = 0.00018$ &
$R^2_{adj} = 0.01711$ \\
\end{tabular}
\end{center}
Expand Down
2 changes: 1 addition & 1 deletion ch_summarizing_data/TeX/ch_summarizing_data.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2093,7 +2093,7 @@ \subsection{Comparing numerical data across groups}
and hollow histograms (right panel) for
\var{med\us{}hh\us{}income},
where the counties are split by whether there was
a population gain or loss.}
a population gain or there was no gain.}
\label{countyIncomeSplitByPopGain}
\end{figure}

Expand Down
23 changes: 10 additions & 13 deletions extraTeX/eoceSolutions/eoceSolutions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ \chapter{Exercise solutions}
\eocesol{(a)~Simple random sample. Non-response bias, if only those people who have
strong opinions about the survey responds his sample may not be representative
of the population.
(b)~Convenience sample. Under coverage bias, his sample may not be
(b)~Convenience sample. His sample may not be
representative of the population since it consists only of his friends. It is
also possible that the study will have non-response bias if some choose to not
bring back the survey.
Expand Down Expand Up @@ -1723,8 +1723,8 @@ \chapter{Exercise solutions}

\eocesol{Paired, data are recorded in the same cities at two
different time points.
The temperature in a city at one point is not independent
of the temperature in the same city at another time point.}
The air quality in a city at one point is not independent
of the air quality in the same city at another time point.}

% 17

Expand Down Expand Up @@ -1988,16 +1988,13 @@ \chapter{Exercise solutions}
pairwise test. $H_0$: The two means are equal. $H_A$: The two means are
different. The sample sizes are equal and we use the pooled SD, so we can
compute $SE = 3.7$ with the pooled $df = 39$.
The p-value for Trmt 1 vs. Trmt 3 is the only one under 0.05:
p-value = 0.035 (or 0.024 if using $s_{pooled}$
in place of $s_1$ and $s_3$, though this won't
affect the final conclusion).
The p-value is larger than $0.05 / 3 = 1.67$,
so we do not have strong evidence to conclude that
it is this particular pair of groups that are different.
That is, we cannot identify if which particular pair of
groups are actually different, even though we've rejected
the notion that they are all the same!}
Looking at the largest difference, Trmt 1 vs Trmt 3:
$Z = \frac{6.21 - (-3.21)}{3.7} = 2.52$ on $df = 39$ yields a p-value of 0.015.
Because this is smaller than $0.05 / 3 = 1.67$,
we have strong evidence to that this particular pair of groups are different.
When doing similar calculations for Trmt 1 vs 2 or 2 vs 3, we do not
find any statistically significant difference.
(Note that we get a different result if not using the pooled result.)}

% 47

Expand Down
2 changes: 1 addition & 1 deletion main.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
\documentclass[10pt,openany]%,oneside]
{book}
\newcommand{\versiondate}[0]{May 27th, 2023}
\newcommand{\versiondate}[0]{Dec 27th, 2024}

\usepackage{
amsmath, calc,
Expand Down

0 comments on commit f28516b

Please sign in to comment.