Introduction

This report presents a detailed analysis of competency ratings. The aim is to identify key competencies, understand their variability, and uncover underlying patterns.Competency is assessed for job of senior management.

The dataset consists of competency ratings across various dimensions, which have been evaluated and rated numerically. ## Data Import and Preprocessing

suppressWarnings({
# Load the data
comp_data <- read_csv("comp_short.csv")


# Inspect the first few rows of the dataset
datatable( head(comp_data) )

# Summary statistics

pander( summary(comp_data) )
})
## Rows: 51 Columns: 11
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## dbl (11): Perseverance, Resilience, Optimisim, Creativity, Adaptability, Con...
## 
## ℹ 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.
Table continues below
Perseverance Resilience Optimisim Creativity Adaptability
Min. :1.000 Min. :1.000 Min. :3.000 Min. :1.000 Min. :3.000
1st Qu.:4.000 1st Qu.:4.000 1st Qu.:4.000 1st Qu.:4.000 1st Qu.:4.000
Median :5.000 Median :4.000 Median :5.000 Median :5.000 Median :5.000
Mean :4.529 Mean :4.118 Mean :4.471 Mean :4.412 Mean :4.529
3rd Qu.:5.000 3rd Qu.:5.000 3rd Qu.:5.000 3rd Qu.:5.000 3rd Qu.:5.000
Max. :5.000 Max. :5.000 Max. :5.000 Max. :5.000 Max. :5.000
Table continues below
Confidence Time Management Affability Consistent self- development
Min. :3.000 Min. :2.000 Min. :2.00 Min. :1.000
1st Qu.:4.000 1st Qu.:4.000 1st Qu.:4.00 1st Qu.:4.000
Median :5.000 Median :5.000 Median :5.00 Median :5.000
Mean :4.608 Mean :4.529 Mean :4.51 Mean :4.549
3rd Qu.:5.000 3rd Qu.:5.000 3rd Qu.:5.00 3rd Qu.:5.000
Max. :5.000 Max. :5.000 Max. :5.00 Max. :5.000
Grit and courage Decisiveness
Min. :3.000 Min. :1.00
1st Qu.:4.000 1st Qu.:3.00
Median :5.000 Median :4.00
Mean :4.549 Mean :4.02
3rd Qu.:5.000 3rd Qu.:5.00
Max. :5.000 Max. :5.00

There are 51 observations for 11 competencies. Confidence was rated highest while Decisiveness was rated lowest. Optimism, confidence,adaptability, and grit and courage were the competencies which were found to most important for the position of senior manager.

# Visualisation
# Reshape the data to long format
comp_data <- comp_data %>%
  mutate(across(everything(), ~replace(., abs(. - mean(., na.rm = TRUE)) > (2 * sd(., na.rm = TRUE)), NA)))
# Reshape the data to long format for ggplot
comp_data_long <- comp_data %>%
  pivot_longer(cols = everything(), names_to = "variable", values_to = "value")
# Create boxplots with the Viridis color palette
ggplot(comp_data_long, aes(x = variable, y = value, fill = variable)) +
  geom_boxplot() +
  scale_fill_viridis_d() +
  theme(axis.text.x = element_text(angle = 90, vjust = 0.5, hjust=1)) +
  labs(title = "Boxplot with Different Colors for Each Variable", x = "Variable", y = "Value")
## Warning: Removed 34 rows containing non-finite values (`stat_boxplot()`).

suppressWarnings({
    

# Calculate mean for each competency
competency_means <- comp_data %>%
  summarise(across(everything(), \(x) mean(x, na.rm = TRUE)))

# Reshape data for easier analysis
competency_means_long <- pivot_longer(competency_means, 
                                      cols = everything(), 
                                      names_to = "Competency", 
                                      values_to = "AverageRating")

# Highest-rated competencies
highest_rated <- competency_means_long %>%
  arrange(desc(AverageRating)) %>%
  top_n(5, AverageRating)  # You can change 5 to however many top competencies you want

# Lowest-rated competencies
lowest_rated <- competency_means_long %>%
  arrange(AverageRating) %>%
  top_n(-5, AverageRating)  # You can change 5 to however many bottom competencies you want

# Print the results
highest_rated
lowest_rated

# Calculate standard deviation for each competency
competency_sd <- comp_data %>%
  summarise(across(everything(), sd, na.rm = TRUE))

# Reshape data for easier analysis
competency_sd_long <- pivot_longer(competency_sd, 
                                   cols = everything(), 
                                   names_to = "Competency", 
                                   values_to = "StdDeviation")
# Competencies with the highest variability
highest_variability <- competency_sd_long %>%
  arrange(desc(StdDeviation))

# Print the results
highest_variability
})

Correlation Analysis

# Compute the correlation matrix
# Assuming all columns in comp_data are numerical
comp_data_NA <- na.omit(comp_data)
cor_matrix <- cor(comp_data_NA)

# Convert the correlation matrix into a long format for ggplot2
cor_data_long <- cor_matrix %>% 
  as.data.frame() %>% 
  rownames_to_column(var = "Variable1") %>% 
  pivot_longer(cols = -Variable1, names_to = "Variable2", values_to = "Correlation")

# Plot
ggplot(cor_data_long, aes(x = Variable1, y = Variable2, fill = Correlation)) +
  geom_tile() +
  scale_fill_gradient2(low = "blue", high = "red", mid = "white", midpoint = 0) +
  theme_minimal() +
  theme(axis.text.x = element_text(angle = 45, hjust = 1)) +
  labs(title = "Correlation Matrix with ggplot2", x = "", y = "")

# Bartlett’s test of sphericity
cortest.bartlett(comp_data)
## R was not square, finding R from data
## $chisq
## [1] 93.83071
## 
## $p.value
## [1] 0.000859497
## 
## $df
## [1] 55
# KMO Test
KMO(comp_data)
## Kaiser-Meyer-Olkin factor adequacy
## Call: KMO(r = comp_data)
## Overall MSA =  0.47
## MSA for each item = 
##                 Perseverance                   Resilience 
##                         0.49                         0.51 
##                    Optimisim                   Creativity 
##                         0.43                         0.60 
##                 Adaptability                   Confidence 
##                         0.43                         0.47 
##              Time Management                   Affability 
##                         0.43                         0.40 
## Consistent self- development             Grit and courage 
##                         0.44                         0.44 
##                 Decisiveness 
##                         0.63

Conclusions and Recommendations

Key Findings:

  • Highest Rated Competency: The analysis identifies ‘Confidence’ as the highest-rated competency. This suggests that individuals often perceive themselves as confident, or this trait is highly valued or developed among the respondents.

  • Lowest Rated Competency: ‘Decisiveness’ emerged as the lowest-rated competency. This might indicate a potential area for development or a less emphasized trait in the current environment.

  • Competency with Highest Variability: ‘Decisiveness’ also displayed the highest variability in ratings. This variability suggests differing perceptions or inconsistent levels of this trait among individuals, highlighting it as a key area for focused development.

  • Correlation Insights:

    • Positive Correlations:

      • Time Management and Adaptability:
        • Good time management skills correlate with higher adaptability.
        • Efficient time allocation helps in adjusting to new situations.
      • Time Management and Resilience:
        • Strong time management is associated with increased resilience.
        • Anticipating challenges and planning effectively aids in stress reduction and recovery.
      • Grit and Courage and Consistent Self-Development:
        • Individuals with grit and courage often pursue continuous self-improvement.
        • The perseverance aspect of grit motivates ongoing personal development.
    • Negative Correlations:

      • Time Management and Optimism:
        • Better time management correlates negatively with optimism.
        • It could suggest that a highly structured approach to time might limit positive expectations about future outcomes.
      • Confidence and Adaptability:
        • A negative correlation exists between confidence and adaptability.
        • High confidence might sometimes be associated with less perceived need for adaptability or change.
  • Factor Analysis: The analysis showed that the data is not entirely appropriate for factor analysis. A Measure of Sampling Adequacy (MSA) value of 0