Importing Libraries and the Dataset

# Citations/Disclaimer: This code and analysis follows what learned from course/class notes

# In this chunk I am loading the libraries I need for my analysis

# I am using the library dplyr helps me clean and manipulate the data

# I am using the library readr to import my data file as csv

# I am using the library ggplot2 to help me later for my visualization

library(dplyr)
## Warning: package 'dplyr' was built under R version 4.5.2
## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
library(readr)
library(ggplot2)
## Warning: package 'ggplot2' was built under R version 4.5.2
aquatics<- read_csv("REC_-_Fall_Program_2025_20260505.csv")
## Rows: 1833 Columns: 19
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr  (14): Session, Primary Category, Secondary Category, Activity Name, Act...
## dbl   (3): Zip, Sessions, Fee
## time  (2): Start Time, End Time
## 
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
# I am using this variable head to read the dataset to understand the variables which are included in my dataset
head(aquatics)
## # A tibble: 6 × 19
##   Session `Primary Category` `Secondary Category` `Activity Name`    
##   <chr>   <chr>              <chr>                <chr>              
## 1 Fall    Aquatics           Water Fitness        Abs & Glutes & More
## 2 Fall    Aquatics           Water Fitness        Abs & Glutes & More
## 3 Fall    Aquatics           Water Fitness        Abs & Glutes & More
## 4 Fall    Aquatics           Water Fitness        Abs & Glutes & More
## 5 Fall    Aquatics           Water Fitness        Abs & Glutes & More
## 6 Fall    Aquatics           Water Fitness        Aqua Cardio Dance  
## # ℹ 15 more variables: `Activity Description` <chr>, `Activity Number` <chr>,
## #   Ages <chr>, Location <chr>, Address <chr>, City <chr>, State <chr>,
## #   Zip <dbl>, `Start Date` <chr>, `End Date` <chr>, `Start Time` <time>,
## #   `End Time` <time>, Sessions <dbl>, `Days of the Week` <chr>, Fee <dbl>

Checking the Structure of my Data

# Citations/Disclaimer: This code and analysis follows what learned from course/class notes

# In this chunk I am checking the structure of the dataset

# The function dim() shows me how many rows and columns I have

# Using this variable colnames this is helping me list the names of the variables and it will help me figure out the variables I will use

dim(aquatics)
## [1] 1833   19
colnames(aquatics)
##  [1] "Session"              "Primary Category"     "Secondary Category"  
##  [4] "Activity Name"        "Activity Description" "Activity Number"     
##  [7] "Ages"                 "Location"             "Address"             
## [10] "City"                 "State"                "Zip"                 
## [13] "Start Date"           "End Date"             "Start Time"          
## [16] "End Time"             "Sessions"             "Days of the Week"    
## [19] "Fee"

Research Question

Introduction

The dataset I am using comes from the Montgomery County Recreation Open Data Portal. It includes information about aquatic fitness and recreation programs offered across Montgomery County, Maryland. The dataset contains 1,833 observations and multiple variables, where each row represents a single aquatic program.

The variables I am using in this analysis are Secondary Category, which represents the type of aquatic activity, and Days of the Week, which represents when each program is scheduled. Both variables are categorical since they group the programs into categories.

The reason why I chose this dataset is because it represents real-world community recreation programs and allows me to explore the patterns which are across different aquatic activities. I am interested if program scheduling is random or whether certain activity types are more likely to occur on specific days of the week.

Variables

In my dataset, I am focusing on two categorical variables: Secondary Category and Days of the Week.

Secondary Category - represents the type of aquatic activity being offered in each program. This variable is categorical since it groups programs into different activity types.

Days of the Week - represents the scheduled day each aquatic program occurs. This variable is also categorical since it categorized program by day

Both variables I am using are to see if there is a significant relationship between the type of aquatic activity and when it is scheduled during the week.

Data Analysis steps

In this data analysis section, I will prepare my dataset for a chi-square test of independence which I will use to examine if there is an association between aquatic activity type and the day of the week programs are scheduled. I will use colSums(is.na()) to check the missing values in the dataset for me to identify any issues.

I will use filter() to remove rows with missing values in the two variables and I am checking to see if the results of my test are accurate. I will then use select() to keep the relevant variables so the dataset includes information related to my research question.

I will then use rename in order to create clearer variable names such as activity type and day in order to make the data easier to interpret and work with. I will changed my cleaned dataset into a contingency table by using the table() function. This will summarize the frequency of each activity type across each day of the week and end up converting the data into the required format for a chi-square test.

Data Cleaning

# Citations/Disclaimer: This code and analysis follows what learned from course/class notes

# In this chunk I am cleaning the dataset to prepare for the chi-square test of independence.

# The goal for me is to test to check if there is association between activity type and day of the week.

# I am checking for missing values in each column using the variable colSums(is.na()) .

# I am keeping only the two variables that are relevant to my research question using select() function.

# I am removing rows that have missing values using the filter() function

# I am renaming the variables to simpler names so they are easy to work with

# Lastly I am checking the dataset size and previewing the first few rows to ensure my data is cleaned properly

colSums(is.na(aquatics))
##              Session     Primary Category   Secondary Category 
##                    0                    0                   20 
##        Activity Name Activity Description      Activity Number 
##                    0                  360                    0 
##                 Ages             Location              Address 
##                    1                    0                    4 
##                 City                State                  Zip 
##                   87                    0                   87 
##           Start Date             End Date           Start Time 
##                    0                    0                    0 
##             End Time             Sessions     Days of the Week 
##                    0                    0                    0 
##                  Fee 
##                    4
aquatics_clean <- aquatics %>%
  select(`Secondary Category`, `Days of the Week`) %>%
  filter(!is.na(`Secondary Category`) &
         !is.na(`Days of the Week`)) %>%
  
  
  rename(
    activity_type = `Secondary Category`,
    day = `Days of the Week`
  )


dim(aquatics_clean)
## [1] 1813    2
head(aquatics_clean)
## # A tibble: 6 × 2
##   activity_type day  
##   <chr>         <chr>
## 1 Water Fitness Tu,Th
## 2 Water Fitness Tu,Th
## 3 Water Fitness M    
## 4 Water Fitness W    
## 5 Water Fitness Th   
## 6 Water Fitness Su

Chi-Square Test

# Citations/Disclaimer: This code and analysis follows what learned from course/class notes

# In this chunk I am creating a contingency table to compare aquatic activity type and day of the week.

# This helps me organize my data into counts for me to run the chi-square test 

# I am running a chi-square test to check if my aquatic activity type and day are independent or whether they are connected

table_data <- table(aquatics_clean$activity_type, aquatics_clean$day)

chisq.test(table_data)
## Warning in chisq.test(table_data): Chi-squared approximation may be incorrect
## 
##  Pearson's Chi-squared test
## 
## data:  table_data
## X-squared = 4989.4, df = 2116, p-value < 2.2e-16

Analysis of Chi-Square Test

H₀ (Null Hypothesis): Aquatic activity type and day of the week are independent which means there is no association between what type of activity is offered and the day it is scheduled.

H₁ (Alternative Hypothesis): Aquatic activity type and day of the week are associated which means there is a relationship between the type of aquatic program and the day in which it is scheduled.

I used a Chi-square test of independence because my research question asks whether there is an association between activity type and day and this test determines whether the variables are independent or related.

The test produced a X-squared of 4989.4 with 2116 degrees of freedom and a p-value < 2.2e-16. Since the p-value is less than 0.05 it is statistically significant as a result this is why I am rejecting the null hypothesis.

This indicates how there is a significant association between aquatic activity type and day of the week this means that the variables are not independent and scheduling patterns are not random. The warning about the chi-square approximation means that some cell counts were low. The small p-value shows how there is a significant relationship.

Checking Expected Counts for the Chi-Square Test

# Citations/Disclaimer: This code and analysis follows what learned from course/class notes

# In this chunk I am checking the expected counts from the chi-square test
chi_result <- chisq.test(table_data)
## Warning in chisq.test(table_data): Chi-squared approximation may be incorrect
chi_result$expected
##                                          
##                                                     F          M         M,F
##   Adapted Swim Lessons                     0.73690017  1.2046332 0.008825152
##   Adult Cooking                            0.09211252  0.1505792 0.001103144
##   Adult Swim Lessons                       6.17153889 10.0888031 0.073910645
##   Aerobic Dance                            2.76337562  4.5173745 0.033094319
##   Aikido                                   0.18422504  0.3011583 0.002206288
##   Art Instruction                          0.36845008  0.6023166 0.004412576
##   Arts                                     0.46056260  0.7528958 0.005515720
##   Arts and Crafts                          2.76337562  4.5173745 0.033094319
##   Badminton                                0.27633756  0.4517375 0.003309432
##   Ballet                                   0.73690017  1.2046332 0.008825152
##   Ballroom                                 0.82901269  1.3552124 0.009928296
##   Basketball                               1.75013789  2.8610039 0.020959735
##   Beginner Swim Lessons                   16.58025372 27.1042471 0.198565913
##   Bingo                                    0.55267512  0.9034749 0.006618864
##   Board Games                              0.82901269  1.3552124 0.009928296
##   Bocce                                    0.09211252  0.1505792 0.001103144
##   Body Sculpting                           0.27633756  0.4517375 0.003309432
##   Bone Builders                            2.57915058  4.2162162 0.030888031
##   Card Games                               1.47380033  2.4092664 0.017650303
##   Cheer and Poms                           0.09211252  0.1505792 0.001103144
##   Cheer and POMS                           0.18422504  0.3011583 0.002206288
##   Chess                                    0.09211252  0.1505792 0.001103144
##   Club Friday                              0.64478764  1.0540541 0.007722008
##   Community Programs                       6.35576393 10.3899614 0.076116933
##   Computer                                 0.09211252  0.1505792 0.001103144
##   Day Trips and Tours                      0.82901269  1.3552124 0.009928296
##   Developmental Swim                       0.36845008  0.6023166 0.004412576
##   Discussions                              1.93436293  3.1621622 0.023166023
##   Diving                                   3.50027579  5.7220077 0.041919470
##   Drawing                                  0.55267512  0.9034749 0.006618864
##   Engineering                              0.73690017  1.2046332 0.008825152
##   Fitness                                  0.18422504  0.3011583 0.002206288
##   Folk Dancing                             0.73690017  1.2046332 0.008825152
##   Football - Flag Football                 3.50027579  5.7220077 0.041919470
##   Gardening  Native Plants                 0.18422504  0.3011583 0.002206288
##   Guitar                                   0.55267512  0.9034749 0.006618864
##   Health Screenings                        0.18422504  0.3011583 0.002206288
##   Homeschool and Scouting Programs         0.73690017  1.2046332 0.008825152
##   Hula                                     0.09211252  0.1505792 0.001103144
##   Karate - Jujitsu                         2.76337562  4.5173745 0.033094319
##   Kickball                                 0.09211252  0.1505792 0.001103144
##   Knitting and Crochet                     0.73690017  1.2046332 0.008825152
##   Lacrosse                                 0.18422504  0.3011583 0.002206288
##   Language                                 2.11858798  3.4633205 0.025372311
##   Line Dancing                             1.01323773  1.6563707 0.012134584
##   Low Impact                               2.30281302  3.7644788 0.027578599
##   Meditation                               0.27633756  0.4517375 0.003309432
##   Mini Trips                               3.22393822  5.2702703 0.038610039
##   Movie Screenings                         0.36845008  0.6023166 0.004412576
##   Multi-Sports                             1.65802537  2.7104247 0.019856591
##   Musical Performance                      1.47380033  2.4092664 0.017650303
##   Painting                                 0.36845008  0.6023166 0.004412576
##   Parent-Assisted Swim Lessons             8.47435190 13.8532819 0.101489244
##   Performing Arts                          0.18422504  0.3011583 0.002206288
##   Photography                              0.09211252  0.1505792 0.001103144
##   Piano                                    0.36845008  0.6023166 0.004412576
##   Pickleball                               7.36900165 12.0463320 0.088251517
##   Pilates                                  0.36845008  0.6023166 0.004412576
##   Play Time and Music                      1.19746277  1.9575290 0.014340871
##   Playtime and Movement                    0.92112521  1.5057915 0.011031440
##   Pottery - Ceramics                       2.39492554  3.9150579 0.028681743
##   Self Defense                             0.09211252  0.1505792 0.001103144
##   Senior Outdoor Adventures in Rec - SOAR  0.64478764  1.0540541 0.007722008
##   Singing                                  0.55267512  0.9034749 0.006618864
##   Skateboarding                            0.46056260  0.7528958 0.005515720
##   Soccer                                   5.15830116  8.4324324 0.061776062
##   Softball                                 2.02647546  3.3127413 0.024269167
##   Special Events                          11.14561500 18.2200772 0.133480419
##   Specialty Activities                     1.10535025  1.8069498 0.013237728
##   Specialty Programs                       2.39492554  3.9150579 0.028681743
##   Sports                                   0.73690017  1.2046332 0.008825152
##   Staff Training                           0.09211252  0.1505792 0.001103144
##   Strength Training                        1.01323773  1.6563707 0.012134584
##   Support                                  0.36845008  0.6023166 0.004412576
##   Support Group                            0.27633756  0.4517375 0.003309432
##   Swim Team                                0.92112521  1.5057915 0.011031440
##   Table Tennis                             0.27633756  0.4517375 0.003309432
##   Tai Chi                                  2.11858798  3.4633205 0.025372311
##   Tap                                      0.46056260  0.7528958 0.005515720
##   Therapeutic Recreation Programs          1.93436293  3.1621622 0.023166023
##   Total Body Conditioning                  1.19746277  1.9575290 0.014340871
##   Ultimate Frisbee                         0.09211252  0.1505792 0.001103144
##   Violin                                   0.09211252  0.1505792 0.001103144
##   Volleyball                               4.42140099  7.2277992 0.052950910
##   Vovinam                                  0.55267512  0.9034749 0.006618864
##   Water Fitness                            8.01378930 13.1003861 0.095973525
##   Wood Carving - Woodworking               0.09211252  0.1505792 0.001103144
##   Workshop or Speaker Series               1.84225041  3.0115830 0.022062879
##   Writing                                  0.36845008  0.6023166 0.004412576
##   Yoga                                     3.77661335  6.1737452 0.045228902
##   Youth Cooking                            0.27633756  0.4517375 0.003309432
##   Youth Swim Lessons                      12.80364038 20.9305019 0.153337010
##   Zumba                                    2.67126310  4.3667954 0.031991175
##                                          
##                                                  M,Th        M,Tu      M,Tu,W
##   Adapted Swim Lessons                    0.039713183 0.013237728 0.017650303
##   Adult Cooking                           0.004964148 0.001654716 0.002206288
##   Adult Swim Lessons                      0.332597904 0.110865968 0.147821291
##   Aerobic Dance                           0.148924435 0.049641478 0.066188638
##   Aikido                                  0.009928296 0.003309432 0.004412576
##   Art Instruction                         0.019856591 0.006618864 0.008825152
##   Arts                                    0.024820739 0.008273580 0.011031440
##   Arts and Crafts                         0.148924435 0.049641478 0.066188638
##   Badminton                               0.014892443 0.004964148 0.006618864
##   Ballet                                  0.039713183 0.013237728 0.017650303
##   Ballroom                                0.044677330 0.014892443 0.019856591
##   Basketball                              0.094318809 0.031439603 0.041919470
##   Beginner Swim Lessons                   0.893546608 0.297848869 0.397131826
##   Bingo                                   0.029784887 0.009928296 0.013237728
##   Board Games                             0.044677330 0.014892443 0.019856591
##   Bocce                                   0.004964148 0.001654716 0.002206288
##   Body Sculpting                          0.014892443 0.004964148 0.006618864
##   Bone Builders                           0.138996139 0.046332046 0.061776062
##   Card Games                              0.079426365 0.026475455 0.035300607
##   Cheer and Poms                          0.004964148 0.001654716 0.002206288
##   Cheer and POMS                          0.009928296 0.003309432 0.004412576
##   Chess                                   0.004964148 0.001654716 0.002206288
##   Club Friday                             0.034749035 0.011583012 0.015444015
##   Community Programs                      0.342526200 0.114175400 0.152233867
##   Computer                                0.004964148 0.001654716 0.002206288
##   Day Trips and Tours                     0.044677330 0.014892443 0.019856591
##   Developmental Swim                      0.019856591 0.006618864 0.008825152
##   Discussions                             0.104247104 0.034749035 0.046332046
##   Diving                                  0.188637617 0.062879206 0.083838941
##   Drawing                                 0.029784887 0.009928296 0.013237728
##   Engineering                             0.039713183 0.013237728 0.017650303
##   Fitness                                 0.009928296 0.003309432 0.004412576
##   Folk Dancing                            0.039713183 0.013237728 0.017650303
##   Football - Flag Football                0.188637617 0.062879206 0.083838941
##   Gardening  Native Plants                0.009928296 0.003309432 0.004412576
##   Guitar                                  0.029784887 0.009928296 0.013237728
##   Health Screenings                       0.009928296 0.003309432 0.004412576
##   Homeschool and Scouting Programs        0.039713183 0.013237728 0.017650303
##   Hula                                    0.004964148 0.001654716 0.002206288
##   Karate - Jujitsu                        0.148924435 0.049641478 0.066188638
##   Kickball                                0.004964148 0.001654716 0.002206288
##   Knitting and Crochet                    0.039713183 0.013237728 0.017650303
##   Lacrosse                                0.009928296 0.003309432 0.004412576
##   Language                                0.114175400 0.038058467 0.050744622
##   Line Dancing                            0.054605626 0.018201875 0.024269167
##   Low Impact                              0.124103696 0.041367899 0.055157198
##   Meditation                              0.014892443 0.004964148 0.006618864
##   Mini Trips                              0.173745174 0.057915058 0.077220077
##   Movie Screenings                        0.019856591 0.006618864 0.008825152
##   Multi-Sports                            0.089354661 0.029784887 0.039713183
##   Musical Performance                     0.079426365 0.026475455 0.035300607
##   Painting                                0.019856591 0.006618864 0.008825152
##   Parent-Assisted Swim Lessons            0.456701600 0.152233867 0.202978489
##   Performing Arts                         0.009928296 0.003309432 0.004412576
##   Photography                             0.004964148 0.001654716 0.002206288
##   Piano                                   0.019856591 0.006618864 0.008825152
##   Pickleball                              0.397131826 0.132377275 0.176503034
##   Pilates                                 0.019856591 0.006618864 0.008825152
##   Play Time and Music                     0.064533922 0.021511307 0.028681743
##   Playtime and Movement                   0.049641478 0.016547159 0.022062879
##   Pottery - Ceramics                      0.129067843 0.043022614 0.057363486
##   Self Defense                            0.004964148 0.001654716 0.002206288
##   Senior Outdoor Adventures in Rec - SOAR 0.034749035 0.011583012 0.015444015
##   Singing                                 0.029784887 0.009928296 0.013237728
##   Skateboarding                           0.024820739 0.008273580 0.011031440
##   Soccer                                  0.277992278 0.092664093 0.123552124
##   Softball                                0.109211252 0.036403751 0.048538334
##   Special Events                          0.600661886 0.200220629 0.266960838
##   Specialty Activities                    0.059569774 0.019856591 0.026475455
##   Specialty Programs                      0.129067843 0.043022614 0.057363486
##   Sports                                  0.039713183 0.013237728 0.017650303
##   Staff Training                          0.004964148 0.001654716 0.002206288
##   Strength Training                       0.054605626 0.018201875 0.024269167
##   Support                                 0.019856591 0.006618864 0.008825152
##   Support Group                           0.014892443 0.004964148 0.006618864
##   Swim Team                               0.049641478 0.016547159 0.022062879
##   Table Tennis                            0.014892443 0.004964148 0.006618864
##   Tai Chi                                 0.114175400 0.038058467 0.050744622
##   Tap                                     0.024820739 0.008273580 0.011031440
##   Therapeutic Recreation Programs         0.104247104 0.034749035 0.046332046
##   Total Body Conditioning                 0.064533922 0.021511307 0.028681743
##   Ultimate Frisbee                        0.004964148 0.001654716 0.002206288
##   Violin                                  0.004964148 0.001654716 0.002206288
##   Volleyball                              0.238279095 0.079426365 0.105901820
##   Vovinam                                 0.029784887 0.009928296 0.013237728
##   Water Fitness                           0.431880860 0.143960287 0.191947049
##   Wood Carving - Woodworking              0.004964148 0.001654716 0.002206288
##   Workshop or Speaker Series              0.099282956 0.033094319 0.044125758
##   Writing                                 0.019856591 0.006618864 0.008825152
##   Yoga                                    0.203530061 0.067843354 0.090457805
##   Youth Cooking                           0.014892443 0.004964148 0.006618864
##   Youth Swim Lessons                      0.690016547 0.230005516 0.306674021
##   Zumba                                   0.143960287 0.047986762 0.063982350
##                                          
##                                              M,Tu,W,F   M,Tu,W,Th M,Tu,W,Th,F
##   Adapted Swim Lessons                    0.004412576 0.017650303 0.048538334
##   Adult Cooking                           0.000551572 0.002206288 0.006067292
##   Adult Swim Lessons                      0.036955323 0.147821291 0.406508549
##   Aerobic Dance                           0.016547159 0.066188638 0.182018753
##   Aikido                                  0.001103144 0.004412576 0.012134584
##   Art Instruction                         0.002206288 0.008825152 0.024269167
##   Arts                                    0.002757860 0.011031440 0.030336459
##   Arts and Crafts                         0.016547159 0.066188638 0.182018753
##   Badminton                               0.001654716 0.006618864 0.018201875
##   Ballet                                  0.004412576 0.017650303 0.048538334
##   Ballroom                                0.004964148 0.019856591 0.054605626
##   Basketball                              0.010479868 0.041919470 0.115278544
##   Beginner Swim Lessons                   0.099282956 0.397131826 1.092112521
##   Bingo                                   0.003309432 0.013237728 0.036403751
##   Board Games                             0.004964148 0.019856591 0.054605626
##   Bocce                                   0.000551572 0.002206288 0.006067292
##   Body Sculpting                          0.001654716 0.006618864 0.018201875
##   Bone Builders                           0.015444015 0.061776062 0.169884170
##   Card Games                              0.008825152 0.035300607 0.097076669
##   Cheer and Poms                          0.000551572 0.002206288 0.006067292
##   Cheer and POMS                          0.001103144 0.004412576 0.012134584
##   Chess                                   0.000551572 0.002206288 0.006067292
##   Club Friday                             0.003861004 0.015444015 0.042471042
##   Community Programs                      0.038058467 0.152233867 0.418643133
##   Computer                                0.000551572 0.002206288 0.006067292
##   Day Trips and Tours                     0.004964148 0.019856591 0.054605626
##   Developmental Swim                      0.002206288 0.008825152 0.024269167
##   Discussions                             0.011583012 0.046332046 0.127413127
##   Diving                                  0.020959735 0.083838941 0.230557088
##   Drawing                                 0.003309432 0.013237728 0.036403751
##   Engineering                             0.004412576 0.017650303 0.048538334
##   Fitness                                 0.001103144 0.004412576 0.012134584
##   Folk Dancing                            0.004412576 0.017650303 0.048538334
##   Football - Flag Football                0.020959735 0.083838941 0.230557088
##   Gardening  Native Plants                0.001103144 0.004412576 0.012134584
##   Guitar                                  0.003309432 0.013237728 0.036403751
##   Health Screenings                       0.001103144 0.004412576 0.012134584
##   Homeschool and Scouting Programs        0.004412576 0.017650303 0.048538334
##   Hula                                    0.000551572 0.002206288 0.006067292
##   Karate - Jujitsu                        0.016547159 0.066188638 0.182018753
##   Kickball                                0.000551572 0.002206288 0.006067292
##   Knitting and Crochet                    0.004412576 0.017650303 0.048538334
##   Lacrosse                                0.001103144 0.004412576 0.012134584
##   Language                                0.012686156 0.050744622 0.139547711
##   Line Dancing                            0.006067292 0.024269167 0.066740210
##   Low Impact                              0.013789300 0.055157198 0.151682295
##   Meditation                              0.001654716 0.006618864 0.018201875
##   Mini Trips                              0.019305019 0.077220077 0.212355212
##   Movie Screenings                        0.002206288 0.008825152 0.024269167
##   Multi-Sports                            0.009928296 0.039713183 0.109211252
##   Musical Performance                     0.008825152 0.035300607 0.097076669
##   Painting                                0.002206288 0.008825152 0.024269167
##   Parent-Assisted Swim Lessons            0.050744622 0.202978489 0.558190844
##   Performing Arts                         0.001103144 0.004412576 0.012134584
##   Photography                             0.000551572 0.002206288 0.006067292
##   Piano                                   0.002206288 0.008825152 0.024269167
##   Pickleball                              0.044125758 0.176503034 0.485383343
##   Pilates                                 0.002206288 0.008825152 0.024269167
##   Play Time and Music                     0.007170436 0.028681743 0.078874793
##   Playtime and Movement                   0.005515720 0.022062879 0.060672918
##   Pottery - Ceramics                      0.014340871 0.057363486 0.157749586
##   Self Defense                            0.000551572 0.002206288 0.006067292
##   Senior Outdoor Adventures in Rec - SOAR 0.003861004 0.015444015 0.042471042
##   Singing                                 0.003309432 0.013237728 0.036403751
##   Skateboarding                           0.002757860 0.011031440 0.030336459
##   Soccer                                  0.030888031 0.123552124 0.339768340
##   Softball                                0.012134584 0.048538334 0.133480419
##   Special Events                          0.066740210 0.266960838 0.734142306
##   Specialty Activities                    0.006618864 0.026475455 0.072807501
##   Specialty Programs                      0.014340871 0.057363486 0.157749586
##   Sports                                  0.004412576 0.017650303 0.048538334
##   Staff Training                          0.000551572 0.002206288 0.006067292
##   Strength Training                       0.006067292 0.024269167 0.066740210
##   Support                                 0.002206288 0.008825152 0.024269167
##   Support Group                           0.001654716 0.006618864 0.018201875
##   Swim Team                               0.005515720 0.022062879 0.060672918
##   Table Tennis                            0.001654716 0.006618864 0.018201875
##   Tai Chi                                 0.012686156 0.050744622 0.139547711
##   Tap                                     0.002757860 0.011031440 0.030336459
##   Therapeutic Recreation Programs         0.011583012 0.046332046 0.127413127
##   Total Body Conditioning                 0.007170436 0.028681743 0.078874793
##   Ultimate Frisbee                        0.000551572 0.002206288 0.006067292
##   Violin                                  0.000551572 0.002206288 0.006067292
##   Volleyball                              0.026475455 0.105901820 0.291230006
##   Vovinam                                 0.003309432 0.013237728 0.036403751
##   Water Fitness                           0.047986762 0.191947049 0.527854385
##   Wood Carving - Woodworking              0.000551572 0.002206288 0.006067292
##   Workshop or Speaker Series              0.011031440 0.044125758 0.121345836
##   Writing                                 0.002206288 0.008825152 0.024269167
##   Yoga                                    0.022614451 0.090457805 0.248758963
##   Youth Cooking                           0.001654716 0.006618864 0.018201875
##   Youth Swim Lessons                      0.076668505 0.306674021 0.843353558
##   Zumba                                   0.015995587 0.063982350 0.175951462
##                                          
##                                                  M,W       M,W,F         Sa
##   Adapted Swim Lessons                    0.09707667 0.008825152  1.1825703
##   Adult Cooking                           0.01213458 0.001103144  0.1478213
##   Adult Swim Lessons                      0.81301710 0.073910645  9.9040265
##   Aerobic Dance                           0.36403751 0.033094319  4.4346387
##   Aikido                                  0.02426917 0.002206288  0.2956426
##   Art Instruction                         0.04853833 0.004412576  0.5912852
##   Arts                                    0.06067292 0.005515720  0.7391065
##   Arts and Crafts                         0.36403751 0.033094319  4.4346387
##   Badminton                               0.03640375 0.003309432  0.4434639
##   Ballet                                  0.09707667 0.008825152  1.1825703
##   Ballroom                                0.10921125 0.009928296  1.3303916
##   Basketball                              0.23055709 0.020959735  2.8086045
##   Beginner Swim Lessons                   2.18422504 0.198565913 26.6078323
##   Bingo                                   0.07280750 0.006618864  0.8869277
##   Board Games                             0.10921125 0.009928296  1.3303916
##   Bocce                                   0.01213458 0.001103144  0.1478213
##   Body Sculpting                          0.03640375 0.003309432  0.4434639
##   Bone Builders                           0.33976834 0.030888031  4.1389961
##   Card Games                              0.19415334 0.017650303  2.3651407
##   Cheer and Poms                          0.01213458 0.001103144  0.1478213
##   Cheer and POMS                          0.02426917 0.002206288  0.2956426
##   Chess                                   0.01213458 0.001103144  0.1478213
##   Club Friday                             0.08494208 0.007722008  1.0347490
##   Community Programs                      0.83728627 0.076116933 10.1996691
##   Computer                                0.01213458 0.001103144  0.1478213
##   Day Trips and Tours                     0.10921125 0.009928296  1.3303916
##   Developmental Swim                      0.04853833 0.004412576  0.5912852
##   Discussions                             0.25482625 0.023166023  3.1042471
##   Diving                                  0.46111418 0.041919470  5.6172090
##   Drawing                                 0.07280750 0.006618864  0.8869277
##   Engineering                             0.09707667 0.008825152  1.1825703
##   Fitness                                 0.02426917 0.002206288  0.2956426
##   Folk Dancing                            0.09707667 0.008825152  1.1825703
##   Football - Flag Football                0.46111418 0.041919470  5.6172090
##   Gardening  Native Plants                0.02426917 0.002206288  0.2956426
##   Guitar                                  0.07280750 0.006618864  0.8869277
##   Health Screenings                       0.02426917 0.002206288  0.2956426
##   Homeschool and Scouting Programs        0.09707667 0.008825152  1.1825703
##   Hula                                    0.01213458 0.001103144  0.1478213
##   Karate - Jujitsu                        0.36403751 0.033094319  4.4346387
##   Kickball                                0.01213458 0.001103144  0.1478213
##   Knitting and Crochet                    0.09707667 0.008825152  1.1825703
##   Lacrosse                                0.02426917 0.002206288  0.2956426
##   Language                                0.27909542 0.025372311  3.3998897
##   Line Dancing                            0.13348042 0.012134584  1.6260342
##   Low Impact                              0.30336459 0.027578599  3.6955323
##   Meditation                              0.03640375 0.003309432  0.4434639
##   Mini Trips                              0.42471042 0.038610039  5.1737452
##   Movie Screenings                        0.04853833 0.004412576  0.5912852
##   Multi-Sports                            0.21842250 0.019856591  2.6607832
##   Musical Performance                     0.19415334 0.017650303  2.3651407
##   Painting                                0.04853833 0.004412576  0.5912852
##   Parent-Assisted Swim Lessons            1.11638169 0.101489244 13.5995587
##   Performing Arts                         0.02426917 0.002206288  0.2956426
##   Photography                             0.01213458 0.001103144  0.1478213
##   Piano                                   0.04853833 0.004412576  0.5912852
##   Pickleball                              0.97076669 0.088251517 11.8257033
##   Pilates                                 0.04853833 0.004412576  0.5912852
##   Play Time and Music                     0.15774959 0.014340871  1.9216768
##   Playtime and Movement                   0.12134584 0.011031440  1.4782129
##   Pottery - Ceramics                      0.31549917 0.028681743  3.8433536
##   Self Defense                            0.01213458 0.001103144  0.1478213
##   Senior Outdoor Adventures in Rec - SOAR 0.08494208 0.007722008  1.0347490
##   Singing                                 0.07280750 0.006618864  0.8869277
##   Skateboarding                           0.06067292 0.005515720  0.7391065
##   Soccer                                  0.67953668 0.061776062  8.2779923
##   Softball                                0.26696084 0.024269167  3.2520684
##   Special Events                          1.46828461 0.133480419 17.8863762
##   Specialty Activities                    0.14561500 0.013237728  1.7738555
##   Specialty Programs                      0.31549917 0.028681743  3.8433536
##   Sports                                  0.09707667 0.008825152  1.1825703
##   Staff Training                          0.01213458 0.001103144  0.1478213
##   Strength Training                       0.13348042 0.012134584  1.6260342
##   Support                                 0.04853833 0.004412576  0.5912852
##   Support Group                           0.03640375 0.003309432  0.4434639
##   Swim Team                               0.12134584 0.011031440  1.4782129
##   Table Tennis                            0.03640375 0.003309432  0.4434639
##   Tai Chi                                 0.27909542 0.025372311  3.3998897
##   Tap                                     0.06067292 0.005515720  0.7391065
##   Therapeutic Recreation Programs         0.25482625 0.023166023  3.1042471
##   Total Body Conditioning                 0.15774959 0.014340871  1.9216768
##   Ultimate Frisbee                        0.01213458 0.001103144  0.1478213
##   Violin                                  0.01213458 0.001103144  0.1478213
##   Volleyball                              0.58246001 0.052950910  7.0954220
##   Vovinam                                 0.07280750 0.006618864  0.8869277
##   Water Fitness                           1.05570877 0.095973525 12.8604523
##   Wood Carving - Woodworking              0.01213458 0.001103144  0.1478213
##   Workshop or Speaker Series              0.24269167 0.022062879  2.9564258
##   Writing                                 0.04853833 0.004412576  0.5912852
##   Yoga                                    0.49751793 0.045228902  6.0606729
##   Youth Cooking                           0.03640375 0.003309432  0.4434639
##   Youth Swim Lessons                      1.68670712 0.153337010 20.5471594
##   Zumba                                   0.35190292 0.031991175  4.2868174
##                                          
##                                                   Su     Su,M,Th
##   Adapted Swim Lessons                     0.8560397 0.004412576
##   Adult Cooking                            0.1070050 0.000551572
##   Adult Swim Lessons                       7.1693326 0.036955323
##   Aerobic Dance                            3.2101489 0.016547159
##   Aikido                                   0.2140099 0.001103144
##   Art Instruction                          0.4280199 0.002206288
##   Arts                                     0.5350248 0.002757860
##   Arts and Crafts                          3.2101489 0.016547159
##   Badminton                                0.3210149 0.001654716
##   Ballet                                   0.8560397 0.004412576
##   Ballroom                                 0.9630447 0.004964148
##   Basketball                               2.0330943 0.010479868
##   Beginner Swim Lessons                   19.2608935 0.099282956
##   Bingo                                    0.6420298 0.003309432
##   Board Games                              0.9630447 0.004964148
##   Bocce                                    0.1070050 0.000551572
##   Body Sculpting                           0.3210149 0.001654716
##   Bone Builders                            2.9961390 0.015444015
##   Card Games                               1.7120794 0.008825152
##   Cheer and Poms                           0.1070050 0.000551572
##   Cheer and POMS                           0.2140099 0.001103144
##   Chess                                    0.1070050 0.000551572
##   Club Friday                              0.7490347 0.003861004
##   Community Programs                       7.3833425 0.038058467
##   Computer                                 0.1070050 0.000551572
##   Day Trips and Tours                      0.9630447 0.004964148
##   Developmental Swim                       0.4280199 0.002206288
##   Discussions                              2.2471042 0.011583012
##   Diving                                   4.0661886 0.020959735
##   Drawing                                  0.6420298 0.003309432
##   Engineering                              0.8560397 0.004412576
##   Fitness                                  0.2140099 0.001103144
##   Folk Dancing                             0.8560397 0.004412576
##   Football - Flag Football                 4.0661886 0.020959735
##   Gardening  Native Plants                 0.2140099 0.001103144
##   Guitar                                   0.6420298 0.003309432
##   Health Screenings                        0.2140099 0.001103144
##   Homeschool and Scouting Programs         0.8560397 0.004412576
##   Hula                                     0.1070050 0.000551572
##   Karate - Jujitsu                         3.2101489 0.016547159
##   Kickball                                 0.1070050 0.000551572
##   Knitting and Crochet                     0.8560397 0.004412576
##   Lacrosse                                 0.2140099 0.001103144
##   Language                                 2.4611142 0.012686156
##   Line Dancing                             1.1770546 0.006067292
##   Low Impact                               2.6751241 0.013789300
##   Meditation                               0.3210149 0.001654716
##   Mini Trips                               3.7451737 0.019305019
##   Movie Screenings                         0.4280199 0.002206288
##   Multi-Sports                             1.9260894 0.009928296
##   Musical Performance                      1.7120794 0.008825152
##   Painting                                 0.4280199 0.002206288
##   Parent-Assisted Swim Lessons             9.8444567 0.050744622
##   Performing Arts                          0.2140099 0.001103144
##   Photography                              0.1070050 0.000551572
##   Piano                                    0.4280199 0.002206288
##   Pickleball                               8.5603971 0.044125758
##   Pilates                                  0.4280199 0.002206288
##   Play Time and Music                      1.3910645 0.007170436
##   Playtime and Movement                    1.0700496 0.005515720
##   Pottery - Ceramics                       2.7821291 0.014340871
##   Self Defense                             0.1070050 0.000551572
##   Senior Outdoor Adventures in Rec - SOAR  0.7490347 0.003861004
##   Singing                                  0.6420298 0.003309432
##   Skateboarding                            0.5350248 0.002757860
##   Soccer                                   5.9922780 0.030888031
##   Softball                                 2.3541092 0.012134584
##   Special Events                          12.9476007 0.066740210
##   Specialty Activities                     1.2840596 0.006618864
##   Specialty Programs                       2.7821291 0.014340871
##   Sports                                   0.8560397 0.004412576
##   Staff Training                           0.1070050 0.000551572
##   Strength Training                        1.1770546 0.006067292
##   Support                                  0.4280199 0.002206288
##   Support Group                            0.3210149 0.001654716
##   Swim Team                                1.0700496 0.005515720
##   Table Tennis                             0.3210149 0.001654716
##   Tai Chi                                  2.4611142 0.012686156
##   Tap                                      0.5350248 0.002757860
##   Therapeutic Recreation Programs          2.2471042 0.011583012
##   Total Body Conditioning                  1.3910645 0.007170436
##   Ultimate Frisbee                         0.1070050 0.000551572
##   Violin                                   0.1070050 0.000551572
##   Volleyball                               5.1362383 0.026475455
##   Vovinam                                  0.6420298 0.003309432
##   Water Fitness                            9.3094319 0.047986762
##   Wood Carving - Woodworking               0.1070050 0.000551572
##   Workshop or Speaker Series               2.1400993 0.011031440
##   Writing                                  0.4280199 0.002206288
##   Yoga                                     4.3872035 0.022614451
##   Youth Cooking                            0.3210149 0.001654716
##   Youth Swim Lessons                      14.8736900 0.076668505
##   Zumba                                    3.1031440 0.015995587
##                                          
##                                           Su,M,Tu,W,Th,F,Sa        Su,W
##   Adapted Swim Lessons                          0.004412576 0.004412576
##   Adult Cooking                                 0.000551572 0.000551572
##   Adult Swim Lessons                            0.036955323 0.036955323
##   Aerobic Dance                                 0.016547159 0.016547159
##   Aikido                                        0.001103144 0.001103144
##   Art Instruction                               0.002206288 0.002206288
##   Arts                                          0.002757860 0.002757860
##   Arts and Crafts                               0.016547159 0.016547159
##   Badminton                                     0.001654716 0.001654716
##   Ballet                                        0.004412576 0.004412576
##   Ballroom                                      0.004964148 0.004964148
##   Basketball                                    0.010479868 0.010479868
##   Beginner Swim Lessons                         0.099282956 0.099282956
##   Bingo                                         0.003309432 0.003309432
##   Board Games                                   0.004964148 0.004964148
##   Bocce                                         0.000551572 0.000551572
##   Body Sculpting                                0.001654716 0.001654716
##   Bone Builders                                 0.015444015 0.015444015
##   Card Games                                    0.008825152 0.008825152
##   Cheer and Poms                                0.000551572 0.000551572
##   Cheer and POMS                                0.001103144 0.001103144
##   Chess                                         0.000551572 0.000551572
##   Club Friday                                   0.003861004 0.003861004
##   Community Programs                            0.038058467 0.038058467
##   Computer                                      0.000551572 0.000551572
##   Day Trips and Tours                           0.004964148 0.004964148
##   Developmental Swim                            0.002206288 0.002206288
##   Discussions                                   0.011583012 0.011583012
##   Diving                                        0.020959735 0.020959735
##   Drawing                                       0.003309432 0.003309432
##   Engineering                                   0.004412576 0.004412576
##   Fitness                                       0.001103144 0.001103144
##   Folk Dancing                                  0.004412576 0.004412576
##   Football - Flag Football                      0.020959735 0.020959735
##   Gardening  Native Plants                      0.001103144 0.001103144
##   Guitar                                        0.003309432 0.003309432
##   Health Screenings                             0.001103144 0.001103144
##   Homeschool and Scouting Programs              0.004412576 0.004412576
##   Hula                                          0.000551572 0.000551572
##   Karate - Jujitsu                              0.016547159 0.016547159
##   Kickball                                      0.000551572 0.000551572
##   Knitting and Crochet                          0.004412576 0.004412576
##   Lacrosse                                      0.001103144 0.001103144
##   Language                                      0.012686156 0.012686156
##   Line Dancing                                  0.006067292 0.006067292
##   Low Impact                                    0.013789300 0.013789300
##   Meditation                                    0.001654716 0.001654716
##   Mini Trips                                    0.019305019 0.019305019
##   Movie Screenings                              0.002206288 0.002206288
##   Multi-Sports                                  0.009928296 0.009928296
##   Musical Performance                           0.008825152 0.008825152
##   Painting                                      0.002206288 0.002206288
##   Parent-Assisted Swim Lessons                  0.050744622 0.050744622
##   Performing Arts                               0.001103144 0.001103144
##   Photography                                   0.000551572 0.000551572
##   Piano                                         0.002206288 0.002206288
##   Pickleball                                    0.044125758 0.044125758
##   Pilates                                       0.002206288 0.002206288
##   Play Time and Music                           0.007170436 0.007170436
##   Playtime and Movement                         0.005515720 0.005515720
##   Pottery - Ceramics                            0.014340871 0.014340871
##   Self Defense                                  0.000551572 0.000551572
##   Senior Outdoor Adventures in Rec - SOAR       0.003861004 0.003861004
##   Singing                                       0.003309432 0.003309432
##   Skateboarding                                 0.002757860 0.002757860
##   Soccer                                        0.030888031 0.030888031
##   Softball                                      0.012134584 0.012134584
##   Special Events                                0.066740210 0.066740210
##   Specialty Activities                          0.006618864 0.006618864
##   Specialty Programs                            0.014340871 0.014340871
##   Sports                                        0.004412576 0.004412576
##   Staff Training                                0.000551572 0.000551572
##   Strength Training                             0.006067292 0.006067292
##   Support                                       0.002206288 0.002206288
##   Support Group                                 0.001654716 0.001654716
##   Swim Team                                     0.005515720 0.005515720
##   Table Tennis                                  0.001654716 0.001654716
##   Tai Chi                                       0.012686156 0.012686156
##   Tap                                           0.002757860 0.002757860
##   Therapeutic Recreation Programs               0.011583012 0.011583012
##   Total Body Conditioning                       0.007170436 0.007170436
##   Ultimate Frisbee                              0.000551572 0.000551572
##   Violin                                        0.000551572 0.000551572
##   Volleyball                                    0.026475455 0.026475455
##   Vovinam                                       0.003309432 0.003309432
##   Water Fitness                                 0.047986762 0.047986762
##   Wood Carving - Woodworking                    0.000551572 0.000551572
##   Workshop or Speaker Series                    0.011031440 0.011031440
##   Writing                                       0.002206288 0.002206288
##   Yoga                                          0.022614451 0.022614451
##   Youth Cooking                                 0.001654716 0.001654716
##   Youth Swim Lessons                            0.076668505 0.076668505
##   Zumba                                         0.015995587 0.015995587
##                                          
##                                                  Th        Th,F         Tu
##   Adapted Swim Lessons                     1.134032 0.004412576  1.1384446
##   Adult Cooking                            0.141754 0.000551572  0.1423056
##   Adult Swim Lessons                       9.497518 0.036955323  9.5344732
##   Aerobic Dance                            4.252620 0.016547159  4.2691671
##   Aikido                                   0.283508 0.001103144  0.2846111
##   Art Instruction                          0.567016 0.002206288  0.5692223
##   Arts                                     0.708770 0.002757860  0.7115279
##   Arts and Crafts                          4.252620 0.016547159  4.2691671
##   Badminton                                0.425262 0.001654716  0.4269167
##   Ballet                                   1.134032 0.004412576  1.1384446
##   Ballroom                                 1.275786 0.004964148  1.2807501
##   Basketball                               2.693326 0.010479868  2.7038058
##   Beginner Swim Lessons                   25.515720 0.099282956 25.6150028
##   Bingo                                    0.850524 0.003309432  0.8538334
##   Board Games                              1.275786 0.004964148  1.2807501
##   Bocce                                    0.141754 0.000551572  0.1423056
##   Body Sculpting                           0.425262 0.001654716  0.4269167
##   Bone Builders                            3.969112 0.015444015  3.9845560
##   Card Games                               2.268064 0.008825152  2.2768891
##   Cheer and Poms                           0.141754 0.000551572  0.1423056
##   Cheer and POMS                           0.283508 0.001103144  0.2846111
##   Chess                                    0.141754 0.000551572  0.1423056
##   Club Friday                              0.992278 0.003861004  0.9961390
##   Community Programs                       9.781026 0.038058467  9.8190844
##   Computer                                 0.141754 0.000551572  0.1423056
##   Day Trips and Tours                      1.275786 0.004964148  1.2807501
##   Developmental Swim                       0.567016 0.002206288  0.5692223
##   Discussions                              2.976834 0.011583012  2.9884170
##   Diving                                   5.386652 0.020959735  5.4076117
##   Drawing                                  0.850524 0.003309432  0.8538334
##   Engineering                              1.134032 0.004412576  1.1384446
##   Fitness                                  0.283508 0.001103144  0.2846111
##   Folk Dancing                             1.134032 0.004412576  1.1384446
##   Football - Flag Football                 5.386652 0.020959735  5.4076117
##   Gardening  Native Plants                 0.283508 0.001103144  0.2846111
##   Guitar                                   0.850524 0.003309432  0.8538334
##   Health Screenings                        0.283508 0.001103144  0.2846111
##   Homeschool and Scouting Programs         1.134032 0.004412576  1.1384446
##   Hula                                     0.141754 0.000551572  0.1423056
##   Karate - Jujitsu                         4.252620 0.016547159  4.2691671
##   Kickball                                 0.141754 0.000551572  0.1423056
##   Knitting and Crochet                     1.134032 0.004412576  1.1384446
##   Lacrosse                                 0.283508 0.001103144  0.2846111
##   Language                                 3.260342 0.012686156  3.2730281
##   Line Dancing                             1.559294 0.006067292  1.5653613
##   Low Impact                               3.543850 0.013789300  3.5576393
##   Meditation                               0.425262 0.001654716  0.4269167
##   Mini Trips                               4.961390 0.019305019  4.9806950
##   Movie Screenings                         0.567016 0.002206288  0.5692223
##   Multi-Sports                             2.551572 0.009928296  2.5615003
##   Musical Performance                      2.268064 0.008825152  2.2768891
##   Painting                                 0.567016 0.002206288  0.5692223
##   Parent-Assisted Swim Lessons            13.041368 0.050744622 13.0921125
##   Performing Arts                          0.283508 0.001103144  0.2846111
##   Photography                              0.141754 0.000551572  0.1423056
##   Piano                                    0.567016 0.002206288  0.5692223
##   Pickleball                              11.340320 0.044125758 11.3844457
##   Pilates                                  0.567016 0.002206288  0.5692223
##   Play Time and Music                      1.842802 0.007170436  1.8499724
##   Playtime and Movement                    1.417540 0.005515720  1.4230557
##   Pottery - Ceramics                       3.685604 0.014340871  3.6999448
##   Self Defense                             0.141754 0.000551572  0.1423056
##   Senior Outdoor Adventures in Rec - SOAR  0.992278 0.003861004  0.9961390
##   Singing                                  0.850524 0.003309432  0.8538334
##   Skateboarding                            0.708770 0.002757860  0.7115279
##   Soccer                                   7.938224 0.030888031  7.9691120
##   Softball                                 3.118588 0.012134584  3.1307226
##   Special Events                          17.152234 0.066740210 17.2189741
##   Specialty Activities                     1.701048 0.006618864  1.7076669
##   Specialty Programs                       3.685604 0.014340871  3.6999448
##   Sports                                   1.134032 0.004412576  1.1384446
##   Staff Training                           0.141754 0.000551572  0.1423056
##   Strength Training                        1.559294 0.006067292  1.5653613
##   Support                                  0.567016 0.002206288  0.5692223
##   Support Group                            0.425262 0.001654716  0.4269167
##   Swim Team                                1.417540 0.005515720  1.4230557
##   Table Tennis                             0.425262 0.001654716  0.4269167
##   Tai Chi                                  3.260342 0.012686156  3.2730281
##   Tap                                      0.708770 0.002757860  0.7115279
##   Therapeutic Recreation Programs          2.976834 0.011583012  2.9884170
##   Total Body Conditioning                  1.842802 0.007170436  1.8499724
##   Ultimate Frisbee                         0.141754 0.000551572  0.1423056
##   Violin                                   0.141754 0.000551572  0.1423056
##   Volleyball                               6.804192 0.026475455  6.8306674
##   Vovinam                                  0.850524 0.003309432  0.8538334
##   Water Fitness                           12.332598 0.047986762 12.3805847
##   Wood Carving - Woodworking               0.141754 0.000551572  0.1423056
##   Workshop or Speaker Series               2.835080 0.011031440  2.8461114
##   Writing                                  0.567016 0.002206288  0.5692223
##   Yoga                                     5.811914 0.022614451  5.8345284
##   Youth Cooking                            0.425262 0.001654716  0.4269167
##   Youth Swim Lessons                      19.703806 0.076668505 19.7804744
##   Zumba                                    4.110866 0.015995587  4.1268616
##                                          
##                                                 Tu,F      Tu,Th        Tu,W
##   Adapted Swim Lessons                    0.02206288 0.23827910 0.004412576
##   Adult Cooking                           0.00275786 0.02978489 0.000551572
##   Adult Swim Lessons                      0.18477661 1.99558742 0.036955323
##   Aerobic Dance                           0.08273580 0.89354661 0.016547159
##   Aikido                                  0.00551572 0.05956977 0.001103144
##   Art Instruction                         0.01103144 0.11913955 0.002206288
##   Arts                                    0.01378930 0.14892443 0.002757860
##   Arts and Crafts                         0.08273580 0.89354661 0.016547159
##   Badminton                               0.00827358 0.08935466 0.001654716
##   Ballet                                  0.02206288 0.23827910 0.004412576
##   Ballroom                                0.02482074 0.26806398 0.004964148
##   Basketball                              0.05239934 0.56591285 0.010479868
##   Beginner Swim Lessons                   0.49641478 5.36127965 0.099282956
##   Bingo                                   0.01654716 0.17870932 0.003309432
##   Board Games                             0.02482074 0.26806398 0.004964148
##   Bocce                                   0.00275786 0.02978489 0.000551572
##   Body Sculpting                          0.00827358 0.08935466 0.001654716
##   Bone Builders                           0.07722008 0.83397683 0.015444015
##   Card Games                              0.04412576 0.47655819 0.008825152
##   Cheer and Poms                          0.00275786 0.02978489 0.000551572
##   Cheer and POMS                          0.00551572 0.05956977 0.001103144
##   Chess                                   0.00275786 0.02978489 0.000551572
##   Club Friday                             0.01930502 0.20849421 0.003861004
##   Community Programs                      0.19029233 2.05515720 0.038058467
##   Computer                                0.00275786 0.02978489 0.000551572
##   Day Trips and Tours                     0.02482074 0.26806398 0.004964148
##   Developmental Swim                      0.01103144 0.11913955 0.002206288
##   Discussions                             0.05791506 0.62548263 0.011583012
##   Diving                                  0.10479868 1.13182570 0.020959735
##   Drawing                                 0.01654716 0.17870932 0.003309432
##   Engineering                             0.02206288 0.23827910 0.004412576
##   Fitness                                 0.00551572 0.05956977 0.001103144
##   Folk Dancing                            0.02206288 0.23827910 0.004412576
##   Football - Flag Football                0.10479868 1.13182570 0.020959735
##   Gardening  Native Plants                0.00551572 0.05956977 0.001103144
##   Guitar                                  0.01654716 0.17870932 0.003309432
##   Health Screenings                       0.00551572 0.05956977 0.001103144
##   Homeschool and Scouting Programs        0.02206288 0.23827910 0.004412576
##   Hula                                    0.00275786 0.02978489 0.000551572
##   Karate - Jujitsu                        0.08273580 0.89354661 0.016547159
##   Kickball                                0.00275786 0.02978489 0.000551572
##   Knitting and Crochet                    0.02206288 0.23827910 0.004412576
##   Lacrosse                                0.00551572 0.05956977 0.001103144
##   Language                                0.06343078 0.68505240 0.012686156
##   Line Dancing                            0.03033646 0.32763376 0.006067292
##   Low Impact                              0.06894650 0.74462217 0.013789300
##   Meditation                              0.00827358 0.08935466 0.001654716
##   Mini Trips                              0.09652510 1.04247104 0.019305019
##   Movie Screenings                        0.01103144 0.11913955 0.002206288
##   Multi-Sports                            0.04964148 0.53612796 0.009928296
##   Musical Performance                     0.04412576 0.47655819 0.008825152
##   Painting                                0.01103144 0.11913955 0.002206288
##   Parent-Assisted Swim Lessons            0.25372311 2.74020960 0.050744622
##   Performing Arts                         0.00551572 0.05956977 0.001103144
##   Photography                             0.00275786 0.02978489 0.000551572
##   Piano                                   0.01103144 0.11913955 0.002206288
##   Pickleball                              0.22062879 2.38279095 0.044125758
##   Pilates                                 0.01103144 0.11913955 0.002206288
##   Play Time and Music                     0.03585218 0.38720353 0.007170436
##   Playtime and Movement                   0.02757860 0.29784887 0.005515720
##   Pottery - Ceramics                      0.07170436 0.77440706 0.014340871
##   Self Defense                            0.00275786 0.02978489 0.000551572
##   Senior Outdoor Adventures in Rec - SOAR 0.01930502 0.20849421 0.003861004
##   Singing                                 0.01654716 0.17870932 0.003309432
##   Skateboarding                           0.01378930 0.14892443 0.002757860
##   Soccer                                  0.15444015 1.66795367 0.030888031
##   Softball                                0.06067292 0.65526751 0.012134584
##   Special Events                          0.33370105 3.60397132 0.066740210
##   Specialty Activities                    0.03309432 0.35741864 0.006618864
##   Specialty Programs                      0.07170436 0.77440706 0.014340871
##   Sports                                  0.02206288 0.23827910 0.004412576
##   Staff Training                          0.00275786 0.02978489 0.000551572
##   Strength Training                       0.03033646 0.32763376 0.006067292
##   Support                                 0.01103144 0.11913955 0.002206288
##   Support Group                           0.00827358 0.08935466 0.001654716
##   Swim Team                               0.02757860 0.29784887 0.005515720
##   Table Tennis                            0.00827358 0.08935466 0.001654716
##   Tai Chi                                 0.06343078 0.68505240 0.012686156
##   Tap                                     0.01378930 0.14892443 0.002757860
##   Therapeutic Recreation Programs         0.05791506 0.62548263 0.011583012
##   Total Body Conditioning                 0.03585218 0.38720353 0.007170436
##   Ultimate Frisbee                        0.00275786 0.02978489 0.000551572
##   Violin                                  0.00275786 0.02978489 0.000551572
##   Volleyball                              0.13237728 1.42967457 0.026475455
##   Vovinam                                 0.01654716 0.17870932 0.003309432
##   Water Fitness                           0.23993381 2.59128516 0.047986762
##   Wood Carving - Woodworking              0.00275786 0.02978489 0.000551572
##   Workshop or Speaker Series              0.05515720 0.59569774 0.011031440
##   Writing                                 0.01103144 0.11913955 0.002206288
##   Yoga                                    0.11307226 1.22118036 0.022614451
##   Youth Cooking                           0.00827358 0.08935466 0.001654716
##   Youth Swim Lessons                      0.38334253 4.14009928 0.076668505
##   Zumba                                   0.07997794 0.86376172 0.015995587
##                                          
##                                                    W        W,Th
##   Adapted Swim Lessons                     1.2046332 0.004412576
##   Adult Cooking                            0.1505792 0.000551572
##   Adult Swim Lessons                      10.0888031 0.036955323
##   Aerobic Dance                            4.5173745 0.016547159
##   Aikido                                   0.3011583 0.001103144
##   Art Instruction                          0.6023166 0.002206288
##   Arts                                     0.7528958 0.002757860
##   Arts and Crafts                          4.5173745 0.016547159
##   Badminton                                0.4517375 0.001654716
##   Ballet                                   1.2046332 0.004412576
##   Ballroom                                 1.3552124 0.004964148
##   Basketball                               2.8610039 0.010479868
##   Beginner Swim Lessons                   27.1042471 0.099282956
##   Bingo                                    0.9034749 0.003309432
##   Board Games                              1.3552124 0.004964148
##   Bocce                                    0.1505792 0.000551572
##   Body Sculpting                           0.4517375 0.001654716
##   Bone Builders                            4.2162162 0.015444015
##   Card Games                               2.4092664 0.008825152
##   Cheer and Poms                           0.1505792 0.000551572
##   Cheer and POMS                           0.3011583 0.001103144
##   Chess                                    0.1505792 0.000551572
##   Club Friday                              1.0540541 0.003861004
##   Community Programs                      10.3899614 0.038058467
##   Computer                                 0.1505792 0.000551572
##   Day Trips and Tours                      1.3552124 0.004964148
##   Developmental Swim                       0.6023166 0.002206288
##   Discussions                              3.1621622 0.011583012
##   Diving                                   5.7220077 0.020959735
##   Drawing                                  0.9034749 0.003309432
##   Engineering                              1.2046332 0.004412576
##   Fitness                                  0.3011583 0.001103144
##   Folk Dancing                             1.2046332 0.004412576
##   Football - Flag Football                 5.7220077 0.020959735
##   Gardening  Native Plants                 0.3011583 0.001103144
##   Guitar                                   0.9034749 0.003309432
##   Health Screenings                        0.3011583 0.001103144
##   Homeschool and Scouting Programs         1.2046332 0.004412576
##   Hula                                     0.1505792 0.000551572
##   Karate - Jujitsu                         4.5173745 0.016547159
##   Kickball                                 0.1505792 0.000551572
##   Knitting and Crochet                     1.2046332 0.004412576
##   Lacrosse                                 0.3011583 0.001103144
##   Language                                 3.4633205 0.012686156
##   Line Dancing                             1.6563707 0.006067292
##   Low Impact                               3.7644788 0.013789300
##   Meditation                               0.4517375 0.001654716
##   Mini Trips                               5.2702703 0.019305019
##   Movie Screenings                         0.6023166 0.002206288
##   Multi-Sports                             2.7104247 0.009928296
##   Musical Performance                      2.4092664 0.008825152
##   Painting                                 0.6023166 0.002206288
##   Parent-Assisted Swim Lessons            13.8532819 0.050744622
##   Performing Arts                          0.3011583 0.001103144
##   Photography                              0.1505792 0.000551572
##   Piano                                    0.6023166 0.002206288
##   Pickleball                              12.0463320 0.044125758
##   Pilates                                  0.6023166 0.002206288
##   Play Time and Music                      1.9575290 0.007170436
##   Playtime and Movement                    1.5057915 0.005515720
##   Pottery - Ceramics                       3.9150579 0.014340871
##   Self Defense                             0.1505792 0.000551572
##   Senior Outdoor Adventures in Rec - SOAR  1.0540541 0.003861004
##   Singing                                  0.9034749 0.003309432
##   Skateboarding                            0.7528958 0.002757860
##   Soccer                                   8.4324324 0.030888031
##   Softball                                 3.3127413 0.012134584
##   Special Events                          18.2200772 0.066740210
##   Specialty Activities                     1.8069498 0.006618864
##   Specialty Programs                       3.9150579 0.014340871
##   Sports                                   1.2046332 0.004412576
##   Staff Training                           0.1505792 0.000551572
##   Strength Training                        1.6563707 0.006067292
##   Support                                  0.6023166 0.002206288
##   Support Group                            0.4517375 0.001654716
##   Swim Team                                1.5057915 0.005515720
##   Table Tennis                             0.4517375 0.001654716
##   Tai Chi                                  3.4633205 0.012686156
##   Tap                                      0.7528958 0.002757860
##   Therapeutic Recreation Programs          3.1621622 0.011583012
##   Total Body Conditioning                  1.9575290 0.007170436
##   Ultimate Frisbee                         0.1505792 0.000551572
##   Violin                                   0.1505792 0.000551572
##   Volleyball                               7.2277992 0.026475455
##   Vovinam                                  0.9034749 0.003309432
##   Water Fitness                           13.1003861 0.047986762
##   Wood Carving - Woodworking               0.1505792 0.000551572
##   Workshop or Speaker Series               3.0115830 0.011031440
##   Writing                                  0.6023166 0.002206288
##   Yoga                                     6.1737452 0.022614451
##   Youth Cooking                            0.4517375 0.001654716
##   Youth Swim Lessons                      20.9305019 0.076668505
##   Zumba                                    4.3667954 0.015995587

Expected Counts Check

The expected cell counts which I examined were implemented in order to check the Chi-square assumption. Many expected values were below which meant that some activity type and day combinations were rare are in the dataset.

For example, Kickball has an expected count of about 0.00055. Bocce has an expected count around 0.000551572 which is extremely small. Due to this the Chi-square approximation is considered not fully reliable.

# Citations/Disclaimer: This section was created with help from AI because I needed support structuring a clearer visualization that better connects to my research question.

# I am using this step to connect back to my research question

# I am using count() in order to find frequent aquatic activity types in the dataset.

# This helps me identify which activity categories are most meaningful 

top_activities <- aquatics_clean %>%
  count(activity_type, sort = TRUE) %>%
  slice_head(n = 5)
# I am using filter() to keep top 5 most common activity types

# This helps create organization in the visualization and makes patterns across days easier to compare for my research question

aquatics_reduced <- aquatics_clean %>%
  filter(activity_type %in% top_activities$activity_type)

Visualization

# Citations/Disclaimer: This code and analysis follows what learned from course/class notes

# I am making a bar chart to see how activity types are distributed across days.

# I am using position = "fill" in order to compare proportions, since some days might just have more programs occuring overall

# day on x axis shows the schedule day of the program

# activity_type is basically the type of aquatic program which is offered

# I am using the function labs() for labels for the graph to be easier to read

# I am using the function theme_minimal() to keep the plot visually good

ggplot(aquatics_reduced, aes(x = day, fill = activity_type)) +
  geom_bar(position = "fill") +
  labs(
    x = "Day",
    y = "Proportion",
    fill = "Activity",
    caption = "Source: Montgomery County Recreation Dataset"
  ) +
  theme_minimal()

Analysis of Visualization

This bar chart shows the distribution of the top aquatic activity types across different days of the week. I notice in the graph that Special Events on Monday and Friday as well as Monday Tuesday and Wednesday have 100%. But I notice that Youth programs are much more common on weekends such as Saturday and Sunday.

On Saturday the count is about 35 % and on Sunday the count is about 40% in terms of the activities. For Beginner Swim Lessons I also notice they come more frequently on Tuesday, Thursday, and Wednesday in comparison to the other days.

The differences in the proportions also support the chi-square test results since it found statistically significant association between aquatic activity type and the day that the programs are scheduled. This shows that the scheduling patterns are not just randomly based.

Conclusion and Future Directions

I used a chi-square test of independence to see if there is a relationship between aquatic activity type and the day of the week programs are scheduled.

The results were statistically significant because the p-value was less than 0.05 which is why I rejected the null hypothesis. This means that activity type and day of the week are not independent. This also means that some types of programs are more likely to be scheduled on certain days rather than being evenly spread out.

This matters for my research question because it shows that scheduling in Montgomery County Recreation is not random. It seems like there are patterns in how programs are assigned to days, which could be influenced by things like the demand or availability for a certain facilities. For future analysis, I would include like to include other variables to see whether they also affect scheduling. I would also like to try a different method such regression in order for me to predict which types of activities are more likely to happen on specific days.

References

Montgomery County of Maryland. (2025). REC – Fall Program 2025 dataset. Montgomery County Open Data Portal. https://data.montgomerycountymd.gov/Community-Recreation/REC-Fall-Program-2025/ggsf-dths/about_data