Publications by Sith

Week 1 Discussion

28.03.2023

Load Libraries library(fpp3) ## ── Attaching packages ────────────────────────────────────────────── fpp3 0.5 ── ## ✔ tibble 3.2.1 ✔ tsibble 1.1.3 ## ✔ dplyr 1.1.1 ✔ tsibbledata 0.4.1 ## ✔ tidyr 1.3.0 ✔ ...

509 sym R (6673 sym/37 pcs) 7 img

Lecture 2-R

27.03.2023

Libraries require(fpp3) ## Loading required package: fpp3 ## ── Attaching packages ────────────────────────────────────────────── fpp3 0.5 ── ## ✔ tibble 3.2.1 ✔ tsibble 1.1.3 ## ✔ dplyr 1.1.1 ✔ tsibbledata 0.4.1 ## �...

104 sym 4 img

For Anthony

26.03.2023

Load Data #remove(list=ls()) require(Amelia) ## Loading required package: Amelia ## Loading required package: Rcpp ## ## ## ## Amelia II: Multiple Imputation ## ## (Version 1.8.1, built: 2022-11-18) ## ## Copyright (C) 2005-2023 James Honaker, Gary King and Matthew Blackwell ## ## Refer to http://gking.harvard.edu/amelia/ for more informatio...

555 sym Python (15616 sym/77 pcs) 4 img

Week 7 Solutions

20.03.2023

Problem 1 Let \(X_1, X_2, . . . , X_n\) be n mutually independent random variables, each of which is uniformly distributed on the integers from 1 to k. Let Y denote the minimum of the \(X_i's\). Find the distribution of \(Y\). Let \(P(Y \le y)\) be the distribution of the minimum. \[P(min(X_1, X_2, ..X_n) \le y)\] Using the complement, \(P(Y ...

2526 sym

Initial Look at Data for Brad

05.03.2023

Graphing Functions require(ggplot2) ## Loading required package: ggplot2 ## Warning: package 'ggplot2' was built under R version 4.2.2 require(ggcorrplot) ## Loading required package: ggcorrplot ## Warning: package 'ggcorrplot' was built under R version 4.2.2 corfunction=function(d){ mycorr=cor(d[, 1:ncol(d)]); p.mat=ggcorrplot::cor_pmat(d[,1:nc...

387 sym R (27279 sym/55 pcs) 9 img

BRFSS 2023 Take2

05.03.2023

Setup Setup knitr::opts_chunk$set(echo = TRUE) knitr::opts_knit$set(root.dir = "C:/Users/lfult/Documents/Jose") Load Libraries options(scipen=20) require(dplyr);require(doParallel);require(epitools);require(foreach) ## Loading required package: dplyr ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ...

18731 sym R (131130 sym/163 pcs) 20 img 4 tbl

BRFSS 2023

05.03.2023

Setup Setup knitr::opts_chunk$set(echo = TRUE) knitr::opts_knit$set(root.dir = "C:/Users/lfult/Documents/Jose") Load Libraries options(scipen=20) require(dplyr);require(doParallel);require(epitools);require(foreach) ## Loading required package: dplyr ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ...

18731 sym R (131130 sym/163 pcs) 20 img 4 tbl

Simple Regression with Box Cox

28.02.2023

Libraries require(car) ## Loading required package: car ## Loading required package: carData require(lmtest) ## Loading required package: lmtest ## Loading required package: zoo ## ## Attaching package: 'zoo' ## The following objects are masked from 'package:base': ## ## as.Date, as.Date.numeric require(Hmisc) ## Loading required package: ...

2966 sym Python (4937 sym/52 pcs) 11 img

Population Variance Sample Size

28.02.2023

Sample Size for Variance The problem: Find the minimum sample size needed to be 99% confident that the sample’s variance is within 1% of the population’s variance. This question is exceedingly tricky, since 1) \(\chi^2\) is not symmetrical, but we can at least find one interval that meets the mission. But remember, the sample variance is th...

1539 sym

ASiF Modeling

27.02.2023

Libraries ###################### library(Amelia) # ## Warning: package 'Amelia' was built under R version 4.2.2 ## Loading required package: Rcpp ## ## ## ## Amelia II: Multiple Imputation ## ## (Version 1.8.0, built: 2021-05-26) ## ## Copyright (C) 2005-2023 James Honaker, Gary King and Matthew Blackwell ## ## Refer to http://gking.harv...

441 sym R (58759 sym/142 pcs) 22 img