#LyX 2.5 created this file. For more info see https://www.lyx.org/ \lyxformat 620 \begin_document \begin_header \save_transient_properties true \origin unavailable \textclass beamer \options notheorems \use_default_options true \begin_modules knitr \end_modules \maintain_unincluded_children no \language english \language_package default \inputencoding utf8 \fontencoding auto \font_roman "default" "default" \font_sans "default" "default" \font_typewriter "default" "default" \font_math "auto" "auto" \font_default_family default \use_non_tex_fonts false \font_sc false \font_roman_osf false \font_sans_osf false \font_typewriter_osf false \font_sf_scale 100 100 \font_tt_scale 100 100 \use_microtype false \use_dash_ligatures true \graphics default \default_output_format default \output_sync 0 \bibtex_command default \index_command default \float_placement class \float_alignment class \paperfontsize default \spacing single \use_hyperref false \papersize default \use_geometry true \use_package amsmath 1 \use_package amssymb 1 \use_package cancel 1 \use_package esint 1 \use_package mathdots 1 \use_package mathtools 1 \use_package mhchem 1 \use_package stackrel 1 \use_package stmaryrd 1 \use_package undertilde 1 \cite_engine biblatex-natbib \cite_engine_type authoryear \biblio_style plain \biblio_options maxcitenames=4 \biblatex_bibstyle authoryear \biblatex_citestyle authoryear \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date true \justification true \use_refstyle 1 \use_formatted_ref 0 \use_minted 0 \use_lineno 0 \index Index \shortcut idx \color #008000 \end_index \secnumdepth 4 \tocdepth 3 \paragraph_separation indent \paragraph_indentation default \is_math_indent 0 \math_numbering_side default \quotes_style english \dynamic_quotes 0 \papercolumns 1 \papersides 1 \paperpagestyle default \tablestyle default \tracking_changes false \output_changes false \change_bars false \postpone_fragile_content false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \docbook_table_output 0 \docbook_mathml_prefix 1 \end_header \begin_body \begin_layout Frame \end_layout \begin_deeper \begin_layout Block Recall: \begin_inset Formula $\sigma_{XY}:=E\left[\left(X-\mu_{X}\right)\left(Y-\mu_{y}\right)\right]$ \end_inset . \begin_inset Formula $X$ \end_inset is monthly income, measured in $1000's, \begin_inset Formula $Y$ \end_inset is years of education. \end_layout \end_deeper \begin_layout Frame \begin_inset Flex Chunk status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout include = FALSE \end_layout \end_inset \end_layout \begin_layout Plain Layout \end_layout \begin_layout Plain Layout # create data set... \end_layout \begin_layout Plain Layout \end_layout \begin_layout Plain Layout x <- 3 \end_layout \begin_layout Plain Layout \end_layout \end_inset \end_layout \begin_layout Frame blah \end_layout \begin_layout Frame \end_layout \end_body \end_document