Example Setup for Seminar Style Slides/Handouts

%Usage: pdflatex foo
%       kprinter foo.pdf, print to pdf, 2-up for handouts
\documentclass[semhelv,semcolor,portrait,11pt]{seminar}
\usepackage{url,relsize}  % relsize used for \smaller etc.
\centerslidesfalse

\slideframe{none}

\newcommand{\bs}[1]{\begin{slide*}\Ti{#1}}
\newcommand{\es}{\end{slide*}}

\newcommand{\Ti}[1]{\hfill {\textbf{\large \blue  #1}\\}%
  \vspace*{-1cm} \rule{\linewidth}{0.2mm}}

\newcommand{\mg}[1]{{\magenta #1}}
\newcommand{\rd}[1]{{\red #1}}
\newcommand{\bu}[1]{{\blue #1}}
\newcommand{\gr}[1]{{\green #1}}

\newcommand{\bi}{\begin{itemize}}
\newcommand{\ei}{\end{itemize}}
\newcommand{\be}{\begin{enumerate}}
\newcommand{\ee}{\end{enumerate}}

\newcommand{\ignore}[1]{}
\begin{document}

\vspace*{\stretch{1}}
\noindent\rule{\linewidth}{1mm}
\begin{flushright}
\huge Statistical Thinking in Biomedical Research \\[1ex]
\Large
Department of Biostatistics \\
School of Medicine \\
Vanderbilt University \\[1ex]
\normalsize{\url{biostat.mc.vanderbilt.edu/biostat/twiki/bin/view/Main/ClinStat}}
\end{flushright}
\rule{\linewidth}{1mm}
\vspace*{\stretch{2}}
\begin{center}
\textsc{\today}
\end{center}
\thispagestyle{empty}

%\newpagestyle{mine}{\hspace{\fill}\rightmark \hspace{\fill}\thepage}{}
%\pagestyle{mine}

%\markright{Introduction to Statistical Concepts}

\newcommand{\ra}{$\rightarrow$ }
\newcommand{\da}{$\downarrow$ }
\newcommand{\ua}{$\uparrow$ }

\newcommand{\sml}{\small}
\newcommand{\vsml}{\tiny}

\makeatletter
\def\@cite#1#2{~\ignorespaces\hspace{-.35em}$^{\scriptsize\scriptstyle#1\if@tempswa,#2\fi}$}
\makeatother
\bs{Section 1: Introduction to Statistical Concepts ---
Frank Harrell}
\bi
\item   What does biostatistics have to offer to
  biomedical research?
\item   Statistical inference
\item   Study design issues
\item   Descriptive statistics
\item   Measuring change
\item   Biostatistical resources at VU
\ei
\es

\bs{What Does Biostatistics Offer?}
\bi
\item   Help in developing concrete objectives and data acquisition
        methods that meet the objectives, concrete descriptions
        of primary and secondary endpoints
\item   Appropriate experimental and study design
\bi
    \item   Sources of bias
    \item   Measurement issues
    \item   Efficiency/power
    \item   Maximizing use of a given number of animals
    \item   Interpretability of findings
    \item   Reproducibility of analyses
\ei
Choice of appropriate design depends crucially on the type of
experiment/disease and treatment being studied.
\item   \ua likelihood that sample will yield estimates of adequate
        precision to make experiments conclusive/affect medical practice
\item   More efficient use of data
\item   Formulate analysis plans without making inappropriate assumptions
\item   {\scriptsize Estimate sample size (if fixed)}
\ei
\es
\bs{Example}
\bi
\item   Objective: Does an intervention (could be a new drug,
        patient education intervention, method of administration) improve
        a response?
\item   What is meant by ``response'' and how will it be 
        measured?
\item   Is it based on symptoms, physiologic measurements, anatomical
        measurements, or a combination?
\item   Does the ``response'' variable truly
        measure the effect of treatment?
\item   When is the response measured --- 30 days after enrollment; 
        30 days after discharge from the hospital, anytime within a 
        5 year follow--up period, during the procedure, immediately
        upon reperfusion after a coronary artery is unclamped,
        after steady state, \ldots?\\
\newslide
\item   If a ``time to'' endpoint, how much time is given to 
        enrolling patients and how much to follow--up?
\item   Where will patients come from and which group do they represent?
\item   How will the study results be used?
\ei
\es
\bs{Education Opportunities at VU}
\bi
\item MSCI program
\item MPH program
\item GCRC workshops
\item Short courses (\emph{Statistical Thinking} will be offered at
        least twice/year)
\item Biostatistics seminars and workshops (see
        \url{biostat.mc.vanderbilt.edu})
\ei
\es

\sml
\nocite{lan97how,bai95med}
\bibliographystyle{abbrv}
\bibliography{/home/harrelfe/bib/feh}
\end{document}

Example Usage of Report Style for Handouts

The output is optimized for handouts and for readability by instructor during presentation.
% Usage: pdflatex foo
%        kprinter foo - print to pdf, 2-up for handouts
\usepackage{url,graphicx,relsize}

\topmargin -.2in  % was -.75 then -.25in
\textheight 9in    % was 9.5
\oddsidemargin -.25in
\evensidemargin -.25in
\textwidth 7in
\parskip 14pt
\parindent 0ex
\renewcommand\sfdefault{phv}%               use helvetica for sans serif
\renewcommand\familydefault{\sfdefault}%    use sans serif by default

\renewcommand{\co}[1]{\texttt{\smaller #1}}  % for software commands
\newcommand{\sml}{\normalsize}
\newcommand{\nml}{\Large}

%Optimize for note-taking
\newenvironment{itmz}{
 \renewcommand{\labelitemi}{\Huge$\cdot$}
 \begin{itemize} \setlength{\itemsep}{3ex}}
 {\end{itemize}}

\newcommand{\btable}[2]{
    \need 2in
    \begin{center}#2
    \begin{tabular}{#1}
}
\newcommand{\etable}{
    \end{tabular}
    \end{center}
}
\newcommand{\mc}[2]{\multicolumn{#1}{c}{#2}}

\setkeys{Gin}{width=\textwidth}

\newcommand{\fig}[3]{\begin{figure}[!htbp]
        \leavevmode
        \centerline{\scalebox{#3}{\includegraphics{#1.pdf}}}
        \caption{\large#2}
        \label{#1}
        \end{figure}}
\renewcommand{\thefootnote}{\alph{footnote}}
\newcommand{\sfbox}[1]{%
\setlength{\fboxrule}{0.05pt}\setlength{\fboxsep}{1pt}%
\fbox{\scriptsize #1}%
\setlength{\fboxrule}{0.4pt}\setlength{\fboxsep}{3pt}}
\setlength{\marginparsep}{-1ex}
\newcommand{\be}{\begin{enumerate}}
\newcommand{\ee}{\end{enumerate}}
\newcommand{\bi}{\begin{itmz}}
\newcommand{\ei}{\end{itmz}}
\newcommand{\ra}{$\rightarrow \ $}
\newcommand{\etal}{{\em et al.}}

\begin{document}
\author{ }

\vspace*{\stretch{1}}
\noindent\rule{\linewidth}{1mm}
\begin{flushright}
\Huge
\textsc{S for Statistical Data Analysis and Graphics} \\
\huge Frank E Harrell Jr \\
\Large
Department of Biostatistics \\
Vanderbilt University School of Medicine \\
{\tt f.harrell@vanderbilt.edu} \\
\url{http://biostat.mc.vanderbilt.edu/StatCompCourse} \\
{\small \today}
\end{flushright}
\rule{\linewidth}{1mm}
\vspace*{\stretch{2}}
\begin{center}
\vspace{.5in}
{\Large Workshop} \\ January 23 and 30, 2004 \\
\vspace{.5in}
\small
Copyright 2000-2004 FE Harrell ~~~ All Rights Reserved
\end{center}

\thispagestyle{empty}
\pagenumbering{roman}
%\setcounter{tocdepth}{2}
\tableofcontents
\pagenumbering{arabic}
\pagestyle{headings}
\setcounter{page}{1}

\nml
\chapter{Overview of Computer Languages and User Interfaces}
\section{Types of Products}
\bi
\item Operating systems: Windows, Unix, Linux, MacOS
\item Applications: Word, Excel
\item Commercial systems (Microsoft Windows and Office, \splus, SAS,
  SPSS, Mac)
 \bi
 \item Code, bug list secret
 \item Expensive unless your institution has a site license
 \item Upgrades increase cost even though don't always add useful
   features
 \ei
\item Free open-source systems (Linux, \LaTeX, OpenOffice, R)
 \bi
 \item Revolution in software availability and function from the open
   source movement
 \item Acceptance of free open-source \texttt{APACHE Web Server} by
   the commercial world and maturity of Linux has spearheaded this
   movement\footnote{\texttt{APACHE} is the number one Web server in
     the world in terms of popularity, soon outdistancing Microsoft
     servers by a 2:1 margin.  \texttt{APACHE} is used by major
     corporations for critical Web applications.
     See \emph{Rebel Code} by Glyn Moody;
     Cambridge MS: Perseus Publishing, 2001.}
 \item Can see all code, change it, learn from it
 \item Quality generally quite good
 \item More rapid updates
 \item No one obligated to assist users but most products have an
   active and helpful user news group
 \item Lacks some bells and whistles such as extensive GUI
 \ei
\ei

\section{User Interfaces}
\bi
\item Graphical (GUI, mouse, menus)
 \bi
 \item Easier to learn
. . .
\sml
\bibliographystyle{abbrv}
\bibliography{/home/harrelfe/bib/feh}
\end{document}
Topic revision: r2 - 28 May 2009, FrankHarrell
 

This site is powered by FoswikiCopyright © 2013-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback