\documentclass[11pt]{article} %\usepackage{amsbsy} % for \boldsymbol and \pmb %\usepackage{graphicx} % To include pdf files! \usepackage{amsmath} \usepackage{amsbsy} \usepackage{amsfonts} %\usepackage[colorlinks=true, pdfstartview=FitV, linkcolor=blue, citecolor=blue, urlcolor=blue]{hyperref} % For links \usepackage{fullpage} % Good for US Letter paper \topmargin=-0.75in \textheight=9.5in \usepackage{fancyhdr} \renewcommand{\headrulewidth}{0pt} % Otherwise there's a rule under the header \setlength{\headheight}{15.2pt} \fancyhf{} \pagestyle{fancy} %\cfoot{Page \thepage {} of 2} % \pagestyle{empty} % No page numbers \begin{document} % \enlargethispage*{1000 pt} \begin{flushright} Name \underline{\hspace{60mm}} \\ $\,$ \\ Student Number \underline{\hspace{60mm}} \end{flushright} \vspace{2mm} \begin{center} {\Large \textbf{STA 312 f2023 Quiz 11}}\\ \vspace{1 mm} \end{center} \begin{enumerate} \item (3 points) Consider a proportional hazards regression with two explanatory variables: a quantitative variable $x$, and actual time $t$. \begin{enumerate} \item Write the hazard function. \vspace{30mm} \item What happens to $e^{\beta_2 t}$? \vspace{30mm} \end{enumerate} \item (2 points) \label{aliens} For the Area 51 data, you tested the effect of wearing a hat on the chances of being kidnapped by aliens. Fill in the table below. On your printout, circle the test statistic and $p$-value, and write ``Question~\ref{aliens}" beside them. \vspace{5mm} \begin{center} \begin{tabular}{|c|c|c|} \hline & & Reject $H_0$ at $\alpha=0.05$? \\ Chi-squared or $Z$ Statistic & ~~~~~~~~~~$p$-value~~~~~~~~~~ & (Yes or No)\\ \hline & & \\ & & \\ \hline \end{tabular} \end{center} \item (2 points) In plain, non-statistical language, what do you conclude from the test above? \vspace{40mm} \item (3 points)\label{sexdeath} For the \texttt{channing} data (survival in nursing homes), you plotted the estimated survival curves for male and female nursing home residents. Please attach the plot, and the code that produced it. Write ``Question~\ref{sexdeath}" beside the code. \end{enumerate} \begin{center}\textbf{Please attach \emph{both} printouts.} Make sure your name is on them. \end{center} \end{document}