Publications by Avery Holloman

Multiple Linear Regression

08.11.2024

# I am performing multiple linear regression to analyze the relationship between reaction yield # and three different chemical additives: additive_A, additive_B, and additive_C. This approach # helps me understand the combined effects of these additives on the reaction yield and how they # interact in a chemical reaction. # In this analysis,...

29 sym Python (9245 sym/22 pcs) 4 img

Contour Plot of RSS (Residual Sum of Squares)

08.11.2024

# I am analyzing the RSS Contour Plot for my auto insurance dataset to better understand # how the intercept (β0) and slope (β1) values influence the residual sum of squares (RSS). # My goal is to find the optimal values that minimize RSS and explain their significance. # I interpret the RSS Contour Plot by focusing on the key elements. Each ...

9 sym R (7873 sym/4 pcs) 2 img

Assessing the Accuracy of the Coeffcient Estimates

08.11.2024

# I am assessing the accuracy of coefficient estimates in simple linear regression. # My focus is on understanding how well the intercept (β0) and slope (β1) approximate # the true relationship between X (predictor) and Y (response) in the presence of random error (ϵ). # I assume that the true relationship is Y = β0 + β1X + ϵ, where ϵ is ...

13 sym Python (6483 sym/8 pcs) 2 img

Assessing the Accuracy of the Model

08.11.2024

# In this analysis, I am interpreting the results of the Linear Regression Fit and Residuals plot. # I created this plot to visualize the relationship between the predictor (X) and the response (Y) # and to assess the accuracy of my linear regression model. # As I examine the plot, I see the blue regression line running through the data points,...

10 sym Python (5116 sym/6 pcs) 1 img

Linear Regression

06.11.2024

# Load required libraries library(ggplot2) # I wanted to explore the relationship between study hours and test scores, so I created a fictional dataset. set.seed(42) study_data <- data.frame( # I decided to simulate data for study hours ranging from 0 to 10 hours per week. Study_Hours = runif(100, min = 0, max = 10), # I generated tes...

7 sym R (3352 sym/3 pcs) 1 img

USArrests

05.11.2024

# I load the data.table library because I want to work efficiently with large data sets. library(data.table) # I load the USArrests dataset to analyze arrest data for different crimes across US states. data("USArrests") # I like to preview the data to get a quick look at what I'm working with. head(USArrests) ## Murder Assault Urb...

21 sym R (7907 sym/17 pcs) 1 img

Barplot

05.11.2024

# I load the ggplot2 library, but for this task, I'll use base R's barplot function library(ggplot2) # I start by defining the possible grades and simulating the marks for 40 students grades <- c("A+", "A-", "B+", "B", "C") Marks <- sample(grades, 40, replace = TRUE, prob = c(.2, .3, .25, .15, .1)) # I use barplot() to create a basic bar chart t...

22 sym R (3534 sym/11 pcs) 8 img

data.table

05.11.2024

# Load the data.table package library(data.table) # I am constructing a data.table with my own data my_DT <- data.table( my_letters = letters[6:10], # I chose letters 'f' to 'j' my_numbers = 6:10, # I selected numbers from 6 to 10 my_logical = (6:10) > 8 # I decided to compare if these numbers are greater than 8 ) # I...

118 sym R (17150 sym/115 pcs)

Understanding Statistical Learning in the Context of Planetary Research

05.11.2024

# Load necessary libraries # I want to ensure that the required libraries are available for this analysis. library(ggplot2) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, ...

15 sym R (3299 sym/10 pcs) 2 img

Pipe Operator

04.11.2024

# Pipe operators like %>%. These operators, available in magrittr, dplyr, and other packages, have transformed how I process data. By allowing me to pass the output of one function directly into another, they’ve made my code cleaner and more intuitive. # # Basic Use and Chaining # When I first encountered the %>% operator, I realized it was a...

41 sym R (9147 sym/36 pcs) 1 img 1 tbl