Publications by StatsWithSarah
PS05 Solutions
STAT 360: Computational Statistics and Data Analysis Load R Libraries, Import and Attach Relevant Data, and Specify Seed library(rmarkdown); library(knitr); library(readxl) set.seed(37) EXERCISE 01 Part (a) povertyData <-data.frame(Name = c("Estonia", "Luxembourg", "Chile", "Belgium", "Greece", "Spain", "Djibouti", "Cyprus", "Lithuania", "K...
544 sym R (8696 sym/43 pcs)
PS03 Solutions
STAT 360: Computational Statistics and Data Analysis Load R Libraries, Import and Attach Relevant Data, and Specify Seed library(rmarkdown); library(knitr); library(readxl) set.seed(37) library(cats) EXERCISE 01 Part (a) ascend <- c(1,4,6,7) descend <- c(7,6,4,1) asmean <- (ascend[1]+ascend[2]+ascend[3]+ascend[4])/length(ascend) desmean ...
706 sym R (3368 sym/52 pcs) 7 img
PS04 Solutions
STAT 360: Computational Statistics and Data Analysis Load R Libraries, Import and Attach Relevant Data, and Specify Seed library(rmarkdown); library(knitr); library(readxl) set.seed(37) EXERCISE 01 Part (a) stonks <- matrix(c(.00023,.00008,.00012,.00083,.00006,.00008,.00134,.00041,.00039,.00008,.00012,.00041,.00093,.00019,.00002,.00083,.0003...
705 sym R (9609 sym/27 pcs) 6 img
PS08 Solutions
STAT 360: Computational Statistics and Data Analysis Load R Libraries, Import and Attach Relevant Data, and Specify Seed library(rmarkdown); library(knitr); library(readxl) set.seed(37) EXERCISE 01 Part (a) library(readxl) DistressData <- read_excel("C:/Users/Sarah Chock/OneDrive - University of St. Thomas/Senior Year/STAT 360 Comp Stat and...
516 sym R (6427 sym/45 pcs) 1 img
PS09 Solutions
STAT 360: Computational Statistics and Data Analysis Load R Libraries, Import and Attach Relevant Data, and Specify Seed library(rmarkdown); library(knitr); library(readxl) set.seed(37) EXERCISE 01 Data Time eigenvals <- c(2.232,1.423,.705,.363,.277) stonks <- matrix(c(-.551,-.505,-.444,-.379,-.316,.285,.328,.231,-.584,-.645,-.247,-.443,.79...
565 sym R (5241 sym/36 pcs) 4 img
PS10 Solutions
STAT 360: Computational Statistics and Data Analysis Load R Libraries, Import and Attach Relevant Data, and Specify Seed library(rmarkdown); library(knitr); library(readxl) set.seed(37) EXERCISE 01 Part (a) The intrinsic dimensionality is 2 DCF <- matrix(c(1.00, -.72, -.09, -.38, -.72, 1.00, 0.23, 0.49, -.09, 0.23, 1.0, -.46, -.38, 0.49, -.4...
864 sym R (7510 sym/56 pcs) 1 img
EDA Submission
Removal or Adjustment to Data Data Removal We removed the following dimensions from the original dataset. They include the following: 1) Parent Institution - we removed this dimension because this information could be summarized by the county data, and we didn't want our data broken down by institution, we cared more about the region it was in....
1531 sym R (175760 sym/584 pcs) 53 img
PS11 Solutions
STAT 360: Computational Statistics and Data Analysis Load R Libraries, Import and Attach Relevant Data, and Specify Seed library(rmarkdown); library(knitr); library(readxl) set.seed(37) EXERCISE 01 Part (a) library(readxl) DistressData <- read_excel("C:/Users/Sarah Chock/OneDrive - University of St. Thomas/Senior Year/STAT 360 Comp Stat and...
289 sym R (4927 sym/28 pcs) 4 img
PS17 Solutions
STAT 360: Computational Statistics and Data Analysis Load R Libraries, Import and Attach Relevant Data, and Specify Seed library(rmarkdown); library(knitr); library(readxl) set.seed(37) EXERCISE 01 Part (a) trees <- read.csv("C:/Users/Sarah Chock/OneDrive - University of St. Thomas/Senior Year/STAT 360 Comp Stat and Data Analysis/Structural ...
286 sym R (245606 sym/28 pcs) 1 img
PS19 Solutions
STAT 360: Computational Statistics and Data Analysis Load R Libraries, Import and Attach Relevant Data, and Specify Seed library(rmarkdown); library(knitr); library(readxl) set.seed(37) EXERCISE 01 Part (a) The full mediation model is nested within partial mediation. This is because the degrees of freedom and chi-squared are higher for full ...
286 sym R (2008 sym/17 pcs) 1 img