Publications by Kitada Smalley

MATH266: Discrete Simulations

16.03.2022

Example 1: Robin Hood An archer is able to hit the bullseye 70% of the time. Assume each shot is independent of the others. Part I: Identify which distribution should be used in each scenario and calculate the desired probability. The archer’s first bullseye comes on the fifth arrow. The archer’s first bullseye comes within the first five a...

2602 sym R (1318 sym/10 pcs) 2 img

SP22: Logistic Regression Spam Filter

28.03.2022

Building a spam filter library(openintro) data(email) str(email) ## tibble [3,921 × 21] (S3: tbl_df/tbl/data.frame) ## $ spam : Factor w/ 2 levels "0","1": 1 1 1 1 1 1 1 1 1 1 ... ## $ to_multiple : Factor w/ 2 levels "0","1": 1 1 1 1 1 1 2 2 1 1 ... ## $ from : Factor w/ 2 levels "0","1": 2 2 2 2 2 2 2 2 2 2 ... ## $ cc ...

1683 sym R (5710 sym/28 pcs) 5 img

ACS Graphics Example

01.05.2022

Example Graphics for ACS These examples require tables that have been exported and aggregated for each year of the ACS. Example 1: Question Type by Household Language (HHL) and Mode (RESMODE) ## ACS 2022 Research Graphics library(tidyverse) path<-"~/Desktop/ACS/SAVED_TABLES/yearALL_tableDF" tables<-c("0", "1", "2", "0R", "1R", "2R") #### TABLES...

213 sym R (3199 sym/8 pcs) 4 img

ACS Analysis Example

13.04.2022

Working with Complex Survey Data from the American Community Survey The American Community Survey (ACS) is performed annually by the US Census Bureau. Due to its frequency, the ACS can be used to better study trends than the US Census, which occurs every ten years. However, unlike the decennial census data for the ACS is obtained from a random sa...

7090 sym R (6586 sym/20 pcs) 2 img

MATH266: Coverage

11.04.2022

Confidence Intervals Confidence intervals present a range of reasonable values for the population. In the frequentist paradigm the population (\(\mu\)) is assumed to be fixed and unknown. We collect a sample of data and estimate \(\mu\) using the sample mean \(\bar{x}=\sum_{i=1}^n x_i\). Generate the Data In this simulation, I will suppress to t...

2809 sym R (1805 sym/18 pcs) 2 img