Skip to content

Commit

Permalink
Deploying to gh-pages from @ 112ee77 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
ismayc committed Sep 29, 2024
1 parent 44b319c commit b1820dd
Show file tree
Hide file tree
Showing 38 changed files with 82 additions and 82 deletions.
Binary file modified v2/ModernDive.pdf
Binary file not shown.
42 changes: 21 additions & 21 deletions v2/ModernDive.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ \subsection{Additional resources}\label{additional-resources}

}

\caption{Preview of \emph{Getting Used to R, RStudio, and R Markdown}.}\label{fig:unnamed-chunk-30}
\caption{Preview of \emph{Getting Used to R, RStudio, and R Markdown}.}\label{fig:unnamed-chunk-31}
\end{figure}

\subsection{What's to come?}\label{whats-to-come}
Expand Down Expand Up @@ -5748,7 +5748,7 @@ \subsection{Exploratory data analysis}\label{model2EDA}

\begin{table}[H]
\centering
\caption{\label{tab:unnamed-chunk-197}Summary of life expectancy and continent variables}
\caption{\label{tab:unnamed-chunk-198}Summary of life expectancy and continent variables}
\centering
\fontsize{9}{11}\selectfont
\begin{tabular}[t]{lrllrrrrrrr}
Expand Down Expand Up @@ -6267,7 +6267,7 @@ \subsection{Correlation is not necessarily causation}\label{correlation-is-not-c
\end{Highlighting}
\end{Shaded}

\begin{center}\includegraphics[width=\textwidth]{ModernDive_files/figure-latex/unnamed-chunk-212-1} \end{center}
\begin{center}\includegraphics[width=\textwidth]{ModernDive_files/figure-latex/unnamed-chunk-213-1} \end{center}

\begin{Shaded}
\begin{Highlighting}[]
Expand All @@ -6278,7 +6278,7 @@ \subsection{Correlation is not necessarily causation}\label{correlation-is-not-c
\end{Highlighting}
\end{Shaded}

\begin{center}\includegraphics[width=\textwidth]{ModernDive_files/figure-latex/unnamed-chunk-213-1} \end{center}
\begin{center}\includegraphics[width=\textwidth]{ModernDive_files/figure-latex/unnamed-chunk-214-1} \end{center}

\begin{Shaded}
\begin{Highlighting}[]
Expand Down Expand Up @@ -7493,7 +7493,7 @@ \subsection{Exploratory data analysis}\label{model3EDA}

\begin{table}[H]
\centering
\caption{\label{tab:unnamed-chunk-253}Summary of credit data}
\caption{\label{tab:unnamed-chunk-254}Summary of credit data}
\centering
\fontsize{8}{10}\selectfont
\begin{tabular}[t]{lrllrrrrrrr}
Expand Down Expand Up @@ -12853,7 +12853,7 @@ \subsection{Is metal music more popular than deep house music?}\label{is-metal-m

\begin{table}[H]
\centering
\caption{\label{tab:unnamed-chunk-452}Sample of twelve songs from the Spotify data frame.}
\caption{\label{tab:unnamed-chunk-453}Sample of twelve songs from the Spotify data frame.}
\centering
\fontsize{6}{8}\selectfont
\begin{tabular}[t]{lllrl}
Expand Down Expand Up @@ -12938,7 +12938,7 @@ \subsection{Shuffling once}\label{shuffling-once}

\begin{table}[H]
\centering
\caption{\label{tab:unnamed-chunk-458}Representative sample of metal and deep-house songs}
\caption{\label{tab:unnamed-chunk-459}Representative sample of metal and deep-house songs}
\centering
\fontsize{6}{8}\selectfont
\begin{tabular}[t]{lllrl}
Expand Down Expand Up @@ -12973,7 +12973,7 @@ \subsection{Shuffling once}\label{shuffling-once}

\begin{table}[H]
\centering
\caption{\label{tab:unnamed-chunk-460}Shuffled version of \texttt{popular\_or\_not} in representative sample of metal and deep-house songs}
\caption{\label{tab:unnamed-chunk-461}Shuffled version of \texttt{popular\_or\_not} in representative sample of metal and deep-house songs}
\centering
\fontsize{6}{8}\selectfont
\begin{tabular}[t]{lllrl}
Expand Down Expand Up @@ -14779,7 +14779,7 @@ \subsubsection*{Two sample difference in means}\label{two-sample-difference-in-m

\begin{table}[H]
\centering
\caption{\label{tab:unnamed-chunk-533}Regression table for two-sample difference in means example}
\caption{\label{tab:unnamed-chunk-534}Regression table for two-sample difference in means example}
\centering
\fontsize{8}{10}\selectfont
\begin{tabular}[t]{l|r|r|r|r|r|r}
Expand Down Expand Up @@ -14828,7 +14828,7 @@ \subsubsection*{ANOVA}\label{anova}

\begin{table}[H]
\centering
\caption{\label{tab:unnamed-chunk-536}Five randomly selected rows from \texttt{spotify\_for\_anova}}
\caption{\label{tab:unnamed-chunk-537}Five randomly selected rows from \texttt{spotify\_for\_anova}}
\centering
\fontsize{8}{10}\selectfont
\begin{tabular}[t]{l|l|r|l}
Expand Down Expand Up @@ -14860,11 +14860,11 @@ \subsubsection*{ANOVA}\label{anova}

\begin{figure}[H]

{\centering \includegraphics[width=\textwidth]{ModernDive_files/figure-latex/unnamed-chunk-537-1}
{\centering \includegraphics[width=\textwidth]{ModernDive_files/figure-latex/unnamed-chunk-538-1}

}

\caption{Boxplot of popularity by genre.}\label{fig:unnamed-chunk-537}
\caption{Boxplot of popularity by genre.}\label{fig:unnamed-chunk-538}
\end{figure}

We can also compute the mean \texttt{popularity} grouping by \texttt{track\_genre}:
Expand Down Expand Up @@ -14898,7 +14898,7 @@ \subsubsection*{ANOVA}\label{anova}

\begin{table}[H]
\centering
\caption{\label{tab:unnamed-chunk-540}Regression table for ANOVA example}
\caption{\label{tab:unnamed-chunk-541}Regression table for ANOVA example}
\centering
\fontsize{10}{12}\selectfont
\begin{tabular}[t]{l|r|r|r|r|r|r}
Expand Down Expand Up @@ -16194,7 +16194,7 @@ \subsection{Example: coffee quality rating scores}\label{example-coffee-quality-

\begin{table}[H]
\centering
\caption{\label{tab:unnamed-chunk-570}Summary of coffee data}
\caption{\label{tab:unnamed-chunk-571}Summary of coffee data}
\centering
\fontsize{7}{9}\selectfont
\begin{tabular}[t]{lrllrrrrrrr}
Expand Down Expand Up @@ -16967,11 +16967,11 @@ \subsection{Model fit and diagnostics}\label{model-fit-mult}

\begin{figure}[H]

{\centering \includegraphics[width=\textwidth]{ModernDive_files/figure-latex/unnamed-chunk-587-1}
{\centering \includegraphics[width=\textwidth]{ModernDive_files/figure-latex/unnamed-chunk-588-1}

}

\caption{Residuals vs. fitted values plot and QQ-plot for the multiple regression model.}\label{fig:unnamed-chunk-587}
\caption{Residuals vs. fitted values plot and QQ-plot for the multiple regression model.}\label{fig:unnamed-chunk-588}
\end{figure}

The plot of residuals against fitted values (left) appears to be close to a null plot. This result is desirable because it supports the \textbf{L}inearity condition as no patterns are observed in this plot.
Expand Down Expand Up @@ -17095,7 +17095,7 @@ \subsubsection*{Getting the observed fitted model}\label{getting-the-observed-fi

\begin{table}[H]
\centering
\caption{\label{tab:unnamed-chunk-592}The regression table for \texttt{mod\_mult}}
\caption{\label{tab:unnamed-chunk-593}The regression table for \texttt{mod\_mult}}
\centering
\fontsize{8}{10}\selectfont
\begin{tabular}[t]{lrrrrrr}
Expand Down Expand Up @@ -17321,11 +17321,11 @@ \subsubsection*{Hypothesis tests for the partial slopes}\label{hypothesis-tests-

\begin{figure}[H]

{\centering \includegraphics[width=\textwidth]{ModernDive_files/figure-latex/unnamed-chunk-599-1}
{\centering \includegraphics[width=\textwidth]{ModernDive_files/figure-latex/unnamed-chunk-600-1}

}

\caption{Shaded p-values for the partial slopes in this multiple linear regression.}\label{fig:unnamed-chunk-599}
\caption{Shaded p-values for the partial slopes in this multiple linear regression.}\label{fig:unnamed-chunk-600}
\end{figure}

From these visualizations, we can surmise that \texttt{aroma} and \texttt{flavor} are statistically significant, as their observed test statistics fall far to the right of the null distribution. On the other hand, \texttt{moisture\_percentage} is not statistically significant, as its observed test statistic falls within the null distribution. We can also compute the numerical \(p\)-values using the \texttt{get\_p\_value()} function.
Expand Down Expand Up @@ -17660,7 +17660,7 @@ \subsection{Exploratory data analysis: part I}\label{house-prices-EDA-I}

\begin{table}[H]
\centering
\caption{\label{tab:unnamed-chunk-611}Summary of some house\_prices variables.}
\caption{\label{tab:unnamed-chunk-612}Summary of some house\_prices variables.}
\centering
\fontsize{7.8}{9.8}\selectfont
\begin{tabular}[t]{l|r|l|l|r|r|r|r|r|r|r}
Expand Down Expand Up @@ -18116,7 +18116,7 @@ \subsubsection*{Theory-based hypothesis testing for partial slopes}\label{theory

\begin{table}[H]
\centering
\caption{\label{tab:unnamed-chunk-628}Regression table for interaction model}
\caption{\label{tab:unnamed-chunk-629}Regression table for interaction model}
\centering
\fontsize{10}{12}\selectfont
\begin{tabular}[t]{lrrrrrr}
Expand Down
Binary file modified v2/ModernDive_files/figure-html/unnamed-chunk-213-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v2/ModernDive_files/figure-html/unnamed-chunk-667-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v2/ModernDive_files/figure-html/unnamed-chunk-675-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v2/ModernDive_files/figure-html/unnamed-chunk-685-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v2/ModernDive_files/figure-html/unnamed-chunk-694-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v2/ModernDive_files/figure-html/unnamed-chunk-703-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v2/ModernDive_files/figure-html/unnamed-chunk-715-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v2/ModernDive_files/figure-html/unnamed-chunk-716-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v2/ModernDive_files/figure-html/unnamed-chunk-717-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v2/ModernDive_files/figure-html/unnamed-chunk-718-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v2/ModernDive_files/figure-html/unnamed-chunk-719-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b1820dd

Please sign in to comment.