Before starting, please read and sign the following declaration of originality

Declaration of originality

By submitting this test, I certify that:

This work has been drafted by me without any assistance from others; I have not discussed, shared, or copied assessment work from/with other students;

I have not used sources that are not explicitly allowed by the course instructors and I have clearly referenced all sources (either from a printed source, internet or any other source) used in the work in accordance with the course requirements and the indications of the course instructors;

This work has not been previously used for other courses in the program, unless explicitly allowed by the instructors.

I understand that any false claim in respect of this work will result in disciplinary action in accordance with university regulations and the program regulations, and that any false claim will be reported to the Board of Examiners. Disciplinary measures can result in exclusion from the course and/or the program, and in a permanent endorsement on my diploma.

I understand that my work may be checked for plagiarism, by the use of plagiarism detection software as well as through other measures taken by the university to prevent and check on fraud and plagiarism.

I understand and endorse the significance of the prevention of fraud and I acknowledge that in case of (gross) fraud the program could declare the exam invalid, which may have consequences for all students.

Date: 16 Jan 2024

Name Student: Maureen Smith

Student Number: s3607399

(Digital) Signature: Maureen Smith

Instructions

  1. Complete the declaration of originality
  2. Please add your answers below each of the questions. Submit as .Rmd file
  3. There is no need to submit data files (or any other file)

Notes

  1. The deadline for submission Friday 19 January 2024 at 23:59 PM. Assignments submitted after this deadline will be considered as failed.
  2. Submit through Brightspace.
  3. This is an individual assignment.
  4. Your answers will be checked for plagiarism.
  5. The assignment counts for 1/3 of the final grade.
  6. In this assignment, we will test your understanding of meta-analysis.
  7. There is a total of 9 points to be gained. The number of points per (sub-)question is indicated. In addition to these points of the individual questions, we judge how you conform to the assignment rubric (3 points; see rubric on Brightspace). This leads to a total of 12 points.
  8. Any question that lacks further explanation likely assumes that you will be able to develop the necessary code yourself based on those prior assignments.

Introduction

For this assignment, you will use the research paper by Barragan-Jason et al. 2022 https://doi.org/10.1111/conl.12852) that reviews the question: Can we improve the human-nature connectedness (HNC) through manipulations involving contact with nature, education (abbreviated with ‘K’ in the dataset) and mindfulness (abbreviated with ‘M’ in the dataset). The study consists of correlational and experimental studies. In this assignment, you will focus on the analysis of experimental studies, the results of which have been described in section 3.1 of the paper. So, all questions implicitly refer to the data collected on experimental studies.

Before analysing the data yourself, first evaluate some general criteria on the quality of the meta-analysis as performed by the authors.

1. Analyse whether the study may be have prone to a publication bias and whether the authors accounted for this (1 1/2p.).

The authors of the study have demonstrated a conscientious effort to mitigate publication bias by exclusively relying on scientific databases. This approach is commendable, as it ensures that the selected studies have undergone a rigorous peer-review process, enhancing the credibility of the included literature. By focusing on peer-reviewed sources, the authors aimed to minimize the risk of biased results stemming from the selective publication of studies.

However, there is room for improvement in addressing potential biases. The exclusive reliance on scientific databases might inadvertently lead to the omission of valuable insights from qualitative studies, gray literature, and non-peer-reviewed sources. These alternative forms of evidence can provide unique perspectives and nuanced understandings that quantitative data alone may not capture. A more comprehensive strategy that incorporates both quantitative and qualitative evidence could enhance the study’s robustness and contribute to a more nuanced interpretation of the phenomenon under investigation. To further enhance the robustness of the meta-analysis, the authors could consider expanding their search strategy to include non-scientific databases, gray literature, and qualitative studies. This broader inclusion criteria would contribute to a more comprehensive examination of the research question and minimize potential biases introduced by a narrow focus on quantitative, peer-reviewed literature.

For increased transparency, it would be beneficial for the authors to explicitly state the limitations of their approach in the paper. Acknowledging the exclusion of certain types of studies and discussing the potential impact on the findings demonstrates transparency and helps readers interpret the results more accurately. This transparency in reporting strengthens the study’s methodological integrity and provides a clearer context for readers to evaluate the reliability and generalizability of the results.

2. Analyse whether selection bias might have occurred (again, you can use the criteria introduced in previous exercises to guide your answer) (1 1/2 p.)

The study’s reliance on specific keywords related to the human-nature connection introduces a potential selection bias, as it may exclude research that explores related concepts without explicitly using these terms. This bias could limit the representation of the broader literature on human-nature connections, potentially overlooking diverse perspectives and nuanced approaches to the topic. The study’s exclusive focus on adults may introduce another layer of bias, neglecting developmental aspects across different age groups. Understanding how human-nature connectedness evolves throughout various life stages is crucial for a comprehensive understanding.

The geographical bias toward high-industrialized countries further raises concerns about the study’s generalizability. By concentrating on specific regions, the findings may not adequately reflect the cultural and socio-economic diversity that influences human-nature relationships globally. The provided experimental data introduces additional complexities, such as unclear gender classifications and manipulations of human-nature connectedness, underscoring the importance of transparent reporting and comprehensive documentation of study characteristics. These potential sources of selection bias should be considered when interpreting the study’s conclusions, and future research could benefit from a more inclusive approach in keyword selection, age representation, and geographical diversity to enhance the robustness and applicability of findings.

3. Read the data file into R and check its properties. Is everything correctly read (correct if needed)? (1/4 p.)

country_data <-
  read.delim("/Users/mausmith/Desktop/assignment 3/A3_data.txt")

country_data$N <- as.numeric(country_data$N)
## Warning: NAs introduced by coercion
# Convert specified columns to factors using as.factor()
country_data$Age.group <- as.factor(country_data$Age.group)
country_data$Age <- as.factor(country_data$Age)
country_data$Gender <- as.factor(country_data$Gender)
country_data$Country <- as.factor(country_data$Country)
country_data$Region <- as.factor(country_data$Region)
country_data$Citation <- as.factor(country_data$Citation)
country_data$SubMeta <- as.factor(country_data$SubMeta)
country_data$Year <- as.factor(country_data$Year)
country_data$HNC <- as.factor(country_data$HNC)

summary(country_data)
##        Citation       Year          N              HNC               Region  
##  Braun     :12   2017   :25   Min.   :  0.0   INS    :57   Asia         :14  
##  Nisbet    :10   2016   :20   1st Qu.: 43.5   CNS    :20   Europe       :35  
##  Crawford  : 9   2019   :18   Median : 90.0   CNI    :10   Multiple     : 4  
##  Richardson: 8   2011   :11   Mean   :103.3   NR     : 9   North America:52  
##  Ernst     : 7   2015   :10   3rd Qu.:114.5   NEP    : 5   Oceania      : 2  
##  Collado   : 6   2018   : 5   Max.   :484.0   EAN    : 3                     
##  (Other)   :55   (Other):18   NA's   :4       (Other): 3                     
##                      Country   Gender    Age.group  Age     Treatment.n    
##  Canada                  :28   0:16   Adult   :56   1:51   Min.   : 11.00  
##  United States of America:24   1:36   Children:51   2:37   1st Qu.: 38.50  
##  United Kingdom          :15   2:51                 3:10   Median : 68.00  
##  Singapore               :12   3: 4                 4: 9   Mean   : 94.73  
##  Spain                   : 6                               3rd Qu.:119.00  
##  Germany                 : 5                               Max.   :484.00  
##  (Other)                 :17                                               
##    Control.n      Mean.Treatment    Mean.Control     sd.treatment   
##  Min.   : 12.00   Min.   : 0.440   Min.   : 0.450   Min.   : 0.140  
##  1st Qu.: 35.00   1st Qu.: 3.760   1st Qu.: 3.340   1st Qu.: 0.615  
##  Median : 67.00   Median : 4.190   Median : 3.890   Median : 1.100  
##  Mean   : 88.38   Mean   : 9.208   Mean   : 8.297   Mean   : 2.465  
##  3rd Qu.:107.00   3rd Qu.: 4.835   3rd Qu.: 4.435   3rd Qu.: 1.515  
##  Max.   :484.00   Max.   :66.190   Max.   :57.230   Max.   :23.990  
##                                                                     
##    sd.control                SubMeta  
##  Min.   : 0.150   K              :10  
##  1st Qu.: 0.640   Mindfulness    : 8  
##  Median : 1.100   Real Nature    :35  
##  Mean   : 2.570   Real Nature + K:37  
##  3rd Qu.: 1.397   Real Nature + M: 6  
##  Max.   :25.930   Virtual Nature :11  
## 
str(country_data)
## 'data.frame':    107 obs. of  16 variables:
##  $ Citation      : Factor w/ 32 levels "Arbuthnott","Arendt",..: 1 2 2 3 3 4 5 6 7 7 ...
##  $ Year          : Factor w/ 13 levels "2007","2009",..: 7 9 9 10 10 12 9 12 10 10 ...
##  $ N             : num  56 87 87 115 115 43 130 484 0 0 ...
##  $ HNC           : Factor w/ 8 levels "CNI","CNS","EAN",..: 2 5 4 2 2 7 2 5 5 5 ...
##  $ Region        : Factor w/ 5 levels "Asia","Europe",..: 4 2 2 5 5 2 2 2 1 1 ...
##  $ Country       : Factor w/ 13 levels "Australia","Austria",..: 4 2 2 1 1 12 12 3 8 8 ...
##  $ Gender        : Factor w/ 4 levels "0","1","2","3": 3 1 1 2 2 2 3 3 3 3 ...
##  $ Age.group     : Factor w/ 2 levels "Adult","Children": 1 1 1 1 1 1 2 2 2 2 ...
##  $ Age           : Factor w/ 4 levels "1","2","3","4": 3 2 2 2 2 2 1 1 1 1 ...
##  $ Treatment.n   : int  28 45 45 41 42 43 130 484 101 101 ...
##  $ Control.n     : int  28 42 42 32 32 43 130 484 101 101 ...
##  $ Mean.Treatment: num  4.85 4.63 0.44 4.3 4.7 3.66 3.92 5.16 3.94 3.85 ...
##  $ Mean.Control  : num  4.44 4.73 0.45 4.1 4.1 3.56 3.29 5.17 3.9 3.9 ...
##  $ sd.treatment  : num  0.79 1.28 0.34 1 1 0.71 0.67 0.83 1.08 1.03 ...
##  $ sd.control    : num  0.83 1.3 0.38 1.1 1.1 0.7 0.64 0.83 1.3 1.3 ...
##  $ SubMeta       : Factor w/ 6 levels "K","Mindfulness",..: 1 6 6 2 2 4 3 4 1 1 ...

4. Show the histogram of the standard deviations in mean performance in the controls (1/4 p.)

Note: this is a measure of the heterogeneity between studies

# Create a histogram of standard deviations in mean performance in controls

hist(
  country_data$sd.control,
  main = "Histogram of Control Standard Deviations",
  xlab = "Standard Deviation",
  ylab = "Frequency",
  col = "#96A76B",
  border = "#96A76B",
  las = 1,  # Make axis labels horizontal
)

# Grid for better readability
grid(col = "lightgray", lty = "dotted")

# Legend
legend("topright", legend = c("Control Standard Deviations"), bg = "white", box.lwd = 1, cex = 0.8)

It is heterogeneous. Higher standard deviations suggest greater heterogeneity among the control groups, indicating differences in study designs, populations, or other factors that contribute to variability in the observed outcomes. Therefore, the histogram provides a visual representation of the degree of heterogeneity present in the control groups across the included studies in the meta-analysis.

5. Do you think that is an appropriate measure given the properties of our variable of interest? (1/2 p.)

The selection of Hedge’s d as the effect size measure in the paper appears appropriate, particularly in the context of the sample sizes encountered in the included studies. Hedge’s d is particularly advantageous in meta-analyses involving small sample sizes, as it integrates a correction factor to address potential biases arising from limited sample sizes. Small sample sizes often result in increased variability and less precise estimates of the true effect size. Hedge’s correction helps mitigate this issue, enhancing the reliability of the effect size estimation and contributing to the robustness of the meta-analysis. In situations where studies within the meta-analysis exhibit varying sample sizes, Hedge’s d becomes a prudent choice as it accounts for the inherent challenges associated with smaller samples, providing a more accurate representation of the underlying population effect size.

6. Calculate your effect size metric for this dataset. Present the command used in R and the summary information of your effect size metric (1/2 p.)

library(metafor)
## Loading required package: Matrix
## Loading required package: metadat
## Loading required package: numDeriv
## 
## Loading the 'metafor' package (version 4.4-0). For an
## introduction to the package please type: help(metafor)
effect_size_Hedges <-
  escalc(
    measure = "SMD",
    m1i = Mean.Treatment,
    m2i = Mean.Control,
    sd1i = sd.treatment,
    sd2i = sd.control,
    n1i = Treatment.n,
    n2i = Control.n,
    data = country_data
  )

summary(effect_size_Hedges$yi)
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
## -0.4075  0.1134  0.3015  0.3448  0.5282  1.3698
summary(effect_size_Hedges$vi)
##     Min.  1st Qu.   Median     Mean  3rd Qu.     Max. 
## 0.004132 0.017857 0.029886 0.042025 0.056565 0.173829

7. How many NAs are there in your dataset and do you need to account for these NAs in the remainder of your analyses? (1/2 p.)

# Count the number of NAs in the entire dataset
na_count <- sum(is.na(country_data))

# Print the number of NAs
cat("Number of NAs in the dataset: ", na_count, "\n")
## Number of NAs in the dataset:  4

I have identified 4 missing values in the dataset. In this analysis, I have chosen not to remove these missing values to avoid potential bias. The impact of these missing values will be carefully considered in the interpretation of our results.

Null Hypothesis (H0): There is no statistically significant effect of the manipulations on Human-Nature Connectedness in the population. In other words, any observed differences in Human-Nature Connectedness between treatment groups are due to random chance or factors unrelated to the manipulations.

Alternative Hypothesis (H1): There exists a statistically significant effect of the manipulations on Human-Nature Connectedness in the population. The differences observed in Human-Nature Connectedness between treatment groups are not merely the result of random variation, indicating a meaningful impact of the manipulations on the variable of interest.

Alternatively, you can decide on the model(s) to be tested based on a data exploration. Here, for the remainder of the assignment, we opt for that alternative based on data availability and coverage.

8a. Present plots that show the relationships between your effect size metric and potential explanatory variables (1/4 p.)

par(mfrow = c(1, 2), mar = c(6, 5, 2, 2)) 

boxplot(
  effect_size_Hedges$yi ~ effect_size_Hedges$Age.group,
  main = "Effect Size by Age Group",
  xlab = "Age Group",
  ylab = "Effect size",
  col = "skyblue",  
  cex.axis = 0.7,
  las = 1
)

boxplot(
  effect_size_Hedges$yi ~ effect_size_Hedges$Country,
  main = "Effect Size by Country",
  xlab = "Country",
  ylab = "Effect size",
  col = "lightgreen",  
  cex.axis = 0.5,
  las = 2
)

boxplot(
  effect_size_Hedges$yi ~ effect_size_Hedges$Region,
  main = "Effect Size by Region",
  xlab = "Region",
  ylab = "Effect size",
  col = "lightcoral",  
  cex.axis = 0.7,
  las = 2
)

boxplot(
  effect_size_Hedges$yi ~ effect_size_Hedges$SubMeta,
  main = "Effect Size by SubMeta",
  xlab = "SubMeta",
  ylab = "Effect size",
  col = "lightyellow",  
  cex.axis = 0.4,
  las = 2
)

boxplot(
  effect_size_Hedges$yi ~ effect_size_Hedges$Gender,
  main = "Effect Size by Gender",
  xlab = "Gender",
  ylab = "Effect size",
  col = "lightblue"
)

boxplot(
  effect_size_Hedges$yi ~ effect_size_Hedges$HNC,
  main = "Effect Size by HNC",
  xlab = "HNC",
  ylab = "Effect size",
  col = "lightpink",  
  cex.axis = 0.7,
  las = 2
)

boxplot(
  effect_size_Hedges$yi ~ effect_size_Hedges$Age,
  main = "Effect Size by Age",
  xlab = "Age",
  ylab = "Effect size",
  col = "lightcyan", 
  cex.axis = 0.7,
  las = 1
)


# Lower the x-axis labels
par(mgp = c(3, 1, 0))

8b. Which explanatory variable(s) did you select and why? (1/4 p.)

Exploring HNC through the variables of age group, sub-meta, region, and country is particularly interesting and relevant for several reasons. Age group provides insights into how individuals of different ages perceive and connect with nature, offering valuable information on the developmental aspects of HNC. Sub-meta allows for a nuanced investigation into how various study characteristics and methodologies impact HNC, contributing to a more comprehensive understanding of the factors influencing human-nature relationships. Examining HNC across different regions and countries offers a global perspective, shedding light on the cultural, environmental, and societal factors that shape people’s connections with nature on a broader scale. By incorporating these variables, the research can uncover patterns and variations in HNC, informing strategies for fostering sustainable practices and promoting environmental stewardship across diverse populations and contexts.

Based on the data explorations, do you want to change your hypotheses? If so, define your adapted hypotheses.

Adapted Null Hypothesis (H0): There is no statistically significant difference in Human–Nature Connectedness across age groups, sub-meta categories, regions, or countries.

Adapted Alternative Hypothesis (H1): There exists a statistically significant difference in Human–Nature Connectedness across at least one of the explored variables (age group, sub-meta, region, or country). This adaptation allows for a more nuanced understanding of how HNC may vary based on specific characteristics, as identified during your data exploration. It ensures that your hypotheses are tailored to the observed patterns in your dataset, providing a more targeted framework for your subsequent analyses and interpretations.

For the following question(s), do not try to replicate the results in the paper, but follow your own line of reasoning.

9. Create your model(s) (based on the results to question 8), run your model(s) and evaluate its/their outcome. Select the best model. Indicate how you defined and evaluated the best model. (1 1/2 p.)

library(metafor)

# Fit a random-effects meta-analysis model
model <- rma.uni(yi = effect_size_Hedges$yi, vi = effect_size_Hedges$vi, data = effect_size_Hedges)

# Create a plot for visualizing the effect sizes and their confidence intervals
plot.rma.uni(model)

# Perform a regression test for testing heterogeneity in the model
regtest(model)
## 
## Regression Test for Funnel Plot Asymmetry
## 
## Model:     mixed-effects meta-regression model
## Predictor: standard error
## 
## Test for Funnel Plot Asymmetry: z = 0.9803, p = 0.3269
## Limit Estimate (as sei -> 0):   b = 0.2589 (CI: 0.0877, 0.4300)
summary(model)
## 
## Random-Effects Model (k = 107; tau^2 estimator: REML)
## 
##   logLik  deviance       AIC       BIC      AICc   
## -34.4222   68.8444   72.8444   78.1713   72.9609   
## 
## tau^2 (estimated amount of total heterogeneity): 0.0733 (SE = 0.0144)
## tau (square root of estimated tau^2 value):      0.2707
## I^2 (total heterogeneity / total variability):   76.24%
## H^2 (total variability / sampling variability):  4.21
## 
## Test for Heterogeneity:
## Q(df = 106) = 394.0765, p-val < .0001
## 
## Model Results:
## 
## estimate      se     zval    pval   ci.lb   ci.ub      
##   0.3387  0.0317  10.6723  <.0001  0.2765  0.4009  *** 
## 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
model
## 
## Random-Effects Model (k = 107; tau^2 estimator: REML)
## 
## tau^2 (estimated amount of total heterogeneity): 0.0733 (SE = 0.0144)
## tau (square root of estimated tau^2 value):      0.2707
## I^2 (total heterogeneity / total variability):   76.24%
## H^2 (total variability / sampling variability):  4.21
## 
## Test for Heterogeneity:
## Q(df = 106) = 394.0765, p-val < .0001
## 
## Model Results:
## 
## estimate      se     zval    pval   ci.lb   ci.ub      
##   0.3387  0.0317  10.6723  <.0001  0.2765  0.4009  *** 
## 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Explain the model: In evaluating the basic model, the high I² and significant Q-test suggest substantial heterogeneity, emphasizing the importance of considering moderators to explain the observed variability in effect sizes. The comparison with models incorporating moderators will help identify the best-fitting model that provides a more nuanced understanding of the factors influencing the meta-analysis results.

# Single Variable Model (for Region)
model_region <- rma.uni(yi = effect_size_Hedges, vi = var_effect_size_Hedges, mods = ~ Region)
plot.rma.uni(model_region)

model_region
## 
## Mixed-Effects Model (k = 107; tau^2 estimator: REML)
## 
## tau^2 (estimated amount of residual heterogeneity):     0.0768 (SE = 0.0153)
## tau (square root of estimated tau^2 value):             0.2771
## I^2 (residual heterogeneity / unaccounted variability): 76.79%
## H^2 (unaccounted variability / sampling variability):   4.31
## R^2 (amount of heterogeneity accounted for):            0.00%
## 
## Test for Residual Heterogeneity:
## QE(df = 102) = 386.2944, p-val < .0001
## 
## Test of Moderators (coefficients 2:5):
## QM(df = 4) = 0.9180, p-val = 0.9220
## 
## Model Results:
## 
##                      estimate      se     zval    pval    ci.lb   ci.ub      
## intrcpt                0.3670  0.0820   4.4754  <.0001   0.2063  0.5278  *** 
## RegionEurope          -0.0530  0.0985  -0.5385  0.5902  -0.2460  0.1399      
## RegionMultiple        -0.1355  0.1830  -0.7408  0.4588  -0.4942  0.2231      
## RegionNorth America   -0.0101  0.0954  -0.1056  0.9159  -0.1970  0.1769      
## RegionOceania          0.0110  0.2709   0.0405  0.9677  -0.5200  0.5420      
## 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Region:

# Single Variable Model (for Country)
model_country <- rma.uni(yi = effect_size_Hedges, vi = var_effect_size_Hedges, mods = ~ Country)
plot.rma.uni(model_country)

model_country
## 
## Mixed-Effects Model (k = 107; tau^2 estimator: REML)
## 
## tau^2 (estimated amount of residual heterogeneity):     0.0408 (SE = 0.0103)
## tau (square root of estimated tau^2 value):             0.2020
## I^2 (residual heterogeneity / unaccounted variability): 62.28%
## H^2 (unaccounted variability / sampling variability):   2.65
## R^2 (amount of heterogeneity accounted for):            44.32%
## 
## Test for Residual Heterogeneity:
## QE(df = 94) = 233.3541, p-val < .0001
## 
## Test of Moderators (coefficients 2:13):
## QM(df = 12) = 56.4667, p-val < .0001
## 
## Model Results:
## 
##                                  estimate      se     zval    pval    ci.lb 
## intrcpt                            0.3777  0.2206   1.7118  0.0869  -0.0548 
## CountryAustria                    -0.2436  0.2725  -0.8940  0.3713  -0.7777 
## CountryBelgium                    -0.3897  0.3059  -1.2738  0.2027  -0.9893 
## CountryCanada                     -0.0458  0.2268  -0.2019  0.8400  -0.4904 
## CountryChina                       0.7826  0.2984   2.6224  0.0087   0.1977 
## CountryGermany                    -0.3510  0.2468  -1.4223  0.1549  -0.8348 
## CountryMultiple                   -0.1667  0.2563  -0.6504  0.5154  -0.6691 
## CountrySingapore                  -0.1116  0.2308  -0.4833  0.6289  -0.5639 
## CountrySpain                       0.3645  0.2430   1.5000  0.1336  -0.1118 
## CountrySweden                     -0.3708  0.2576  -1.4394  0.1500  -0.8756 
## CountryTurkey                      0.3838  0.3325   1.1541  0.2485  -0.2680 
## CountryUnited Kingdom             -0.0198  0.2308  -0.0858  0.9316  -0.4722 
## CountryUnited States of America    0.0010  0.2293   0.0045  0.9964  -0.4485 
##                                   ci.ub     
## intrcpt                          0.8101   . 
## CountryAustria                   0.2905     
## CountryBelgium                   0.2099     
## CountryCanada                    0.3988     
## CountryChina                     1.3675  ** 
## CountryGermany                   0.1327     
## CountryMultiple                  0.3356     
## CountrySingapore                 0.3408     
## CountrySpain                     0.8409     
## CountrySweden                    0.1341     
## CountryTurkey                    1.0355     
## CountryUnited Kingdom            0.4326     
## CountryUnited States of America  0.4505     
## 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Country:

# Single Variable Model (for Age.group)
model_agegroup <- rma.uni(yi, vi, mods = ~ Age.group, data = effect_size_Hedges)
plot.rma.uni(model_agegroup)

model_agegroup
## 
## Mixed-Effects Model (k = 107; tau^2 estimator: REML)
## 
## tau^2 (estimated amount of residual heterogeneity):     0.0706 (SE = 0.0141)
## tau (square root of estimated tau^2 value):             0.2657
## I^2 (residual heterogeneity / unaccounted variability): 75.43%
## H^2 (unaccounted variability / sampling variability):   4.07
## R^2 (amount of heterogeneity accounted for):            3.63%
## 
## Test for Residual Heterogeneity:
## QE(df = 105) = 383.8543, p-val < .0001
## 
## Test of Moderators (coefficient 2):
## QM(df = 1) = 5.2267, p-val = 0.0222
## 
## Model Results:
## 
##                    estimate      se     zval    pval    ci.lb    ci.ub      
## intrcpt              0.4129  0.0452   9.1427  <.0001   0.3244   0.5014  *** 
## Age.groupChildren   -0.1433  0.0627  -2.2862  0.0222  -0.2662  -0.0204    * 
## 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Age Group:

# Single Variable Model (for Submeta)
model_SubMeta <- rma.uni(yi, vi, mods = ~ SubMeta, data = effect_size_Hedges)
plot.rma.uni(model_SubMeta)

model_SubMeta
## 
## Mixed-Effects Model (k = 107; tau^2 estimator: REML)
## 
## tau^2 (estimated amount of residual heterogeneity):     0.0539 (SE = 0.0118)
## tau (square root of estimated tau^2 value):             0.2321
## I^2 (residual heterogeneity / unaccounted variability): 70.13%
## H^2 (unaccounted variability / sampling variability):   3.35
## R^2 (amount of heterogeneity accounted for):            26.43%
## 
## Test for Residual Heterogeneity:
## QE(df = 101) = 309.8880, p-val < .0001
## 
## Test of Moderators (coefficients 2:6):
## QM(df = 5) = 29.2381, p-val < .0001
## 
## Model Results:
## 
##                         estimate      se    zval    pval    ci.lb   ci.ub      
## intrcpt                   0.1443  0.0887  1.6277  0.1036  -0.0295  0.3181      
## SubMetaMindfulness        0.4676  0.1442  3.2418  0.0012   0.1849  0.7503   ** 
## SubMetaReal Nature        0.3041  0.1023  2.9722  0.0030   0.1036  0.5046   ** 
## SubMetaReal Nature + K    0.0989  0.1001  0.9880  0.3231  -0.0973  0.2950      
## SubMetaReal Nature + M    0.5880  0.1665  3.5303  0.0004   0.2615  0.9144  *** 
## SubMetaVirtual Nature     0.0669  0.1261  0.5303  0.5959  -0.1803  0.3141      
## 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Submeta:

# Multiple Variables Model (Example with 'Country', 'AgeGroup', & 'SubMeta')
model_combined <- rma.uni(yi = effect_size_Hedges, vi = var_effect_size_Hedges, mods = ~ Country + Age.group + SubMeta)
summary(model_combined)
## 
## Mixed-Effects Model (k = 107; tau^2 estimator: REML)
## 
##   logLik  deviance       AIC       BIC      AICc   
##  -3.6711    7.3421   47.3421   96.8888   59.8794   
## 
## tau^2 (estimated amount of residual heterogeneity):     0.0278 (SE = 0.0084)
## tau (square root of estimated tau^2 value):             0.1667
## I^2 (residual heterogeneity / unaccounted variability): 53.08%
## H^2 (unaccounted variability / sampling variability):   2.13
## R^2 (amount of heterogeneity accounted for):            62.07%
## 
## Test for Residual Heterogeneity:
## QE(df = 88) = 179.9188, p-val < .0001
## 
## Test of Moderators (coefficients 2:19):
## QM(df = 18) = 99.7434, p-val < .0001
## 
## Model Results:
## 
##                                  estimate      se     zval    pval    ci.lb 
## intrcpt                            0.0693  0.2741   0.2527  0.8005  -0.4679 
## CountryAustria                    -0.1133  0.2938  -0.3856  0.6998  -0.6891 
## CountryBelgium                    -0.1815  0.3153  -0.5757  0.5648  -0.7996 
## CountryCanada                      0.0997  0.2540   0.3925  0.6947  -0.3982 
## CountryChina                       0.7809  0.2757   2.8327  0.0046   0.2406 
## CountryGermany                    -0.1331  0.2775  -0.4797  0.6314  -0.6771 
## CountryMultiple                   -0.0566  0.2919  -0.1940  0.8462  -0.6288 
## CountrySingapore                   0.1855  0.2674   0.6937  0.4878  -0.3386 
## CountrySpain                       0.5379  0.2739   1.9637  0.0496   0.0010 
## CountrySweden                     -0.1626  0.2862  -0.5680  0.5700  -0.7236 
## CountryTurkey                      0.6922  0.3521   1.9657  0.0493   0.0020 
## CountryUnited Kingdom             -0.0212  0.2523  -0.0841  0.9330  -0.5158 
## CountryUnited States of America    0.1075  0.2598   0.4137  0.6791  -0.4018 
## Age.groupChildren                 -0.1832  0.0899  -2.0369  0.0417  -0.3594 
## SubMetaMindfulness                 0.3082  0.1815   1.6982  0.0895  -0.0475 
## SubMetaReal Nature                 0.3343  0.1147   2.9134  0.0036   0.1094 
## SubMetaReal Nature + K             0.2834  0.1033   2.7450  0.0061   0.0811 
## SubMetaReal Nature + M             0.6326  0.1540   4.1076  <.0001   0.3308 
## SubMetaVirtual Nature              0.0749  0.1374   0.5453  0.5855  -0.1944 
##                                    ci.ub      
## intrcpt                           0.6064      
## CountryAustria                    0.4625      
## CountryBelgium                    0.4365      
## CountryCanada                     0.5976      
## CountryChina                      1.3213   ** 
## CountryGermany                    0.4108      
## CountryMultiple                   0.5155      
## CountrySingapore                  0.7097      
## CountrySpain                      1.0747    * 
## CountrySweden                     0.3984      
## CountryTurkey                     1.3823    * 
## CountryUnited Kingdom             0.4734      
## CountryUnited States of America   0.6168      
## Age.groupChildren                -0.0069    * 
## SubMetaMindfulness                0.6639    . 
## SubMetaReal Nature                0.5591   ** 
## SubMetaReal Nature + K            0.4858   ** 
## SubMetaReal Nature + M            0.9345  *** 
## SubMetaVirtual Nature             0.3443      
## 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Combined:

10. Present a plot to analyse whether certain observation(s)/citation(s) cause(s) major deviations from the remainder of the dataset and interpret the plot (1/2 p.)

# Plotting influence analysis to identify potential outliers
baujat(model_combined)

The influence analysis plot, generated using the baujat function, indicates that several observations or citations may be causing substantial deviations from the rest of the dataset. Notably, there appears to be a specific study situated in the corner of the plot that significantly influences the overall results. It is advisable to conduct a more in-depth investigation into the findings of this particular study.

Further research should be undertaken to carefully scrutinize the methodology, data, and results of the identified influential study. If any anomalies or issues are uncovered during this examination, consideration should be given to either addressing and correcting the discrepancies or, if necessary, excluding this particular study from the analysis. The decision to retain or exclude the study should be based on the robustness and reliability of its contributions to the overall meta-analysis. Addressing the impact of influential observations ensures the integrity and accuracy of the meta-analytic findings.

11. Test in R whether there is any indication for a publication bias according to the best model. (1/2 p.)

funnel(model_combined)

regtest(model_combined)
## 
## Regression Test for Funnel Plot Asymmetry
## 
## Model:     mixed-effects meta-regression model
## Predictor: standard error
## 
## Test for Funnel Plot Asymmetry: z = -1.3519, p = 0.1764

Interpretation:

A significant p-value (typically < 0.05) suggests evidence of publication bias. The intercept reflects the degree of asymmetry in the funnel plot. If there is a significant indication of publication bias, it’s important to interpret the meta-analysis results cautiously, as the effect size estimate may be biased. Additionally, consider performing sensitivity analyses or adjusting for publication bias using methods like trim-and-fill if appropriate.

12. When comparing the analysis you performed with the results in the original paper, which differences do you see and how do you explain those differences? (1 p.)

In comparing our meta-analysis with the results presented in the original paper, a notable difference arises in the factors considered for explaining variations in effect sizes. The original paper focused primarily on agency manipulation as a potential explanatory variable, emphasizing its impact on the observed differences in effect sizes across studies. However, our approach extends beyond their scope, incorporating additional variables and dimensions that were not explicitly addressed in their analysis.

While the original paper centered on manipulations, our meta-analysis delves into a more comprehensive set of variables, including but not limited to age group, sub-meta categories, region, and country. By exploring these additional factors, we aim to identify and quantify their contributions as potential predictors of the observed variations in HNC. This broader perspective allows us to discern the nuanced influences that go beyond the scope of manipulations alone.

One notable difference highlighted in our analysis is the examination of agency levels as a variable of interest. The paper’s focus on agency manipulation serves as an essential starting point, but our exploration of additional variables aims to shed light on the relative importance and predictive power of each factor in explaining differences in effect sizes. Consequently, our conclusions may provide a more nuanced understanding of the key determinants influencing HNC and the variations observed across diverse studies. This expanded analysis contributes to a more comprehensive and robust interpretation of the factors driving HNC in the context of the meta-analysis.