Introduction

Sustainability is considered a key component of modern economies (Arslan et al. 2022; Azam et al. 2023; Jackman and Moore 2021; Khan et al. 2022b). Sustainability of the environment is one of the most important aspects of sustainable development (Zakari et al. 2022a), in which energy security and environmental sustainability play a critical role in alleviating poverty (Taghizadeh-Hesary et al. 2022) and sustainable economic growth (Arslan et al. 2022). In the literature, there is a vast number of empirical studies on determinants of environmental sustainability, such as the role of green innovation (Liu et al. 2022; Zakari et al. 2022a); abundant energy resources and education (Zakari et al. 2022c; Liu et al. 2022) and alternative and nuclear energy (Khan et al. 2022a); economic growth, international trade, clean energy investment (Lyu et al. 2021); industrial value-added, capital formation, urbanization, population growth, and biocapacity (Yang and Khan 2021); the energy consumption, tourism growth (Khan and Hou 2021), or the partnership between countries (Tawiah et al. 2021). According to a recent study, sustainable consumption and production of oil are crucial to promoting environmental sustainability (Zakari et al. 2022b). Although scholars have paid considerable attention to environmental sustainability's determinants and influences, many aspects still need further investigation.

Global Risk Report in 2021 identified emerging environmental problems as the top global risks based on likelihood and impact. Protecting the environment has become an essential component of proactive management in Vietnam (Pulipaka and Garg 2021; Saleem et al. 2021). A clean and healthy environment is a top priority for companies (Grieger and Cummings 2022; Rijal and Khanna 2020), including preserving ecosystems, maintaining air quality, and preserving resources. There is no doubt that environmental practices play a significant role in reducing corporate expenses, enhancing business reputation, gaining a competitive edge, and reducing the bottom line of companies (Liu et al. 2019). Several companies are implementing effective measures to combat these challenges, including workplace recycling, green community encouragement, the establishment of sustainable committees, and continuing digitization (Kraus et al. 2021; Krause and Tolaymat 2018). Additionally, due to industrialization and urbanization, Vietnam has prioritized environmental practices (Ha et al. 2021; Le et al. 2022). Recent years have seen a rapid deterioration of Vietnam’s environment. Over the past 2 decades, significant progress has been achieved in reducing greenhouse gas emissions and mitigating climate change; however, there need to be more opportunities to increase efforts to protect nature, conserve natural resources, and mitigate climate change. Several alarming problems have been faced by Vietnam in recent years, including the loss of biodiversity, the consequences of climate change, and excessive natural resource usage (Le et al. 2021; Ha 2022). In recent years, the phrase “digitalization” has been spread with an increase in public disclosure and, in several cases, has been abused or utilized deceptively (Tilen and Andrej 2018). Understanding the distinction between digital, digitization transformation, and digitalization is critical. The term “digitization” refers to the automation of routines and processes, such as analog-to-digital conversion into digital information. In contrast, digitization refers to the incorporation of digital components, and digital transformation is the complete introduction to product or service offerings of new business models and digital platforms (Feroz et al. 2021). According to Brennen and Kreiss (2016), digitization and digitalization employ a digital instrument for product or service offerings, while digital transformation is the more thorough introduction, which is then saved as a PDF. However, in the situation of digitization, the PDF format is then saved on a computer’s hard drive, but in terms of digitalization, the PDF is subsequently uploaded through the Internet to a cloud service, which may be viewed at any time and from any location (Ha et al. 2022a).

The amount of productivity knowledge a country accumulates also dictates its economic activities (Hidalgo 2021; Hidalgo and Hausmann 2009). Economic complexity (EC) is an indicator that indicates a country’s ability to acquire productivity knowledge, according to Chu (2020) and Tauseef Hassan et al. (2023). Hausmann and Hidalgo (2011) explain that a country’s ability to produce various products reflects its knowledge. Diversified products are those a country can produce competitively, while ubiquity refers to the number of countries able to produce a particular product efficiently. Product complexity and sophistication are probably higher in a developed economy. Consequently, it is commonly acknowledged that its broadening and sophistication products determine a country’s product knowledge or production complexity.

Inconsistent theoretical arguments are provided about the correlation between digital technologies, ecological sustainability, and energy security in the literature. Introducing a new link between digitalization and energy security is presented by Moyer and Hughes (2012). According to the International Futures (IFs) comprehensive evaluation system, information and communications technologies can increase productivity, decrease energy intensity, as well as lowering the cost of renewable energy by putting down pressure on the energy system. It has been shown that ICT can have both positive and negative effects on household energy consumption, according to Lange et al. (2020). As a result, digitalization is likely to harm energy consumption. Although this argument rests without using an analytical model or any empirical support, it cannot stand alone. As opposed to this, Dwivedi et al. (2022) contend that electronic technologies assist in model innovation in business and thus address obstacles in the shift to sustainable energy. A crucial aspect of energy security is sustainability, which is provided by digitalization. Bassam (2021) explains the link between digitalization and energy security. Converting information into digital form helps energy providers to control and balance the supply–demand grid more effectively with the help of the digital revolution of the energy retail.

Before Poshakwale and Ganguly (2015), researchers concentrated on explaining the factors contributing to economic growth and development. Human capital, physical capital, and technology all contribute to economic development (Giordano and Giugliano 2015; Kurt and Kurt 2015). Economic and production systems have become more complex since economists began paying attention to them (Hartmann 2014; Oosterlaken 2015; Tauseef Hassan et al. 2023). A complex economy contributes to economic growth (Hausmann and Hidalgo 2011; Hidalgo 2021), minimizes income inequality (Hartmann et al. 2017), or reduces the shadow economy. However, Nguyen et al. (2020) do not discuss the driving force behind economic complexity. It has been shown that economic complexity (Hidalgo and Hausmann 2009), Internet usage (Lapatinas 2019), institutions (Hartmann et al. 2017; Lapatinas and Litina 2019), trade liberalization (Hartmann et al. 2017), or financial development (Chu 2020; Nguyen et al. 2020) are correlated with income levels (Hidalgo and Hausmann 2009). A strong political system encourages investment in innovation and technology, which improves exports’ quality, as Faruq (2011) stated. A sophisticated product is often developed by tacitly accumulating the knowledge associated with specialization and innovation. There is no explicit and transparent presentation of them. Several people have focused on the connection between technological advancement and digital transformation implementation to achieve economic sophistication. Digitalization directly and indirectly influences economic growth because it influences internalization, financial development, and the quality of institutions.

It can be described as using infrastructures and digital technologies in various business, economics, and social aspects. Many individuals nowadays use information technology in production and business. Using Internet and mobile phone usage levels, Visser (2019) illustrates how digitization affects life quality. The digitalization of the economy also has a positive impact on social behavior. In industrialized countries, healthcare personnel and doctoral benefit from information technology and the Internet, making it easier to care for people. Because the Internet and cell phone use are prevalent, everyone on the planet can engage and communicate more effectively with fewer connection delays and lower costs (Suvankulov et al. 2012). A high level of growth requires ICT adoption to transition to a new economic structure (Lapatinas 2019). Increasingly, electronic devices and the Internet are becoming irreplaceable in human socioeconomic and environmental activities (Visser 2019; Wang and Hao 2018), including education (Bonk 2009), health services (Korp 2006; McMullan 2006), commercial activities (Clarke and Wallsten 2006; Visser 2019), and politics (Layne and Lee 2001; West 2004). Consequently, digitalization is believed to improve a system’s security, ecological sustainability, and economic complexity.

Through innovative mechanisms (El-Haggar 2007; Zhang et al. 2017), operational expenses while increasing worker safety and intelligent, sustainable manufacturing could be applied among enterprises. Digitalization and digitization use a digital tool to scan an analog contract record into a digital record, which is then saved in PDF format (Brennen and Kreiss 2016). Digitalizing involves storing the PDFs on a PC hard disk, whereas digitization involves uploading them to a cloud service over the Internet, which can be accessed anytime, anywhere.

However, to our best knowledge, no paper provides an in-depth analysis of the link between digitalization, economic complexity, green technology, and environmental issues in the case of developing economies. The primary objective of this article is to investigate a link between these variables in Vietnam. One of the biggest challenges for scholars in exploring the nexus among variables in our designed system in developing countries like Vietnam is the availability of relevant information and database. The traditional approaches in previous studies seem to be inappropriate for the yearly data in a short period. Therefore, there have been arguments among the results obtained from these approaches. Notably, the findings obtained from previous studies are not novel and do not create significant scientific values for policymakers in designing policies to promote an attraction of foreign aid while still securing the sustainability of the ecological and energy system.

This article will overcome these limitations by applying novel econometric techniques to study the relationship between digitalization, economic complexity, green technology, and energy consumption. First and foremost, this is the first research to investigate the relationship between digitization and economic complexity, environmental technologies, green energy consumption, and CO2 emissions. The study also suggested methods for evaluating volatility interconnections between different issues better suited to examining these interconnections. Our article explores the interlinkages between various issues in the context of Vietnam using a quantile vector autoregression (QVAR). As a third point, our study investigates the interconnectedness between volatility resulting from digitalization, technologies, economic complexity, energy, and environmental issues as influenced by global political, economic, and financial issues. The advantages of our techniques are to help us identify transmission pathways between digitization and economic complexity, environmental technologies, green energy consumption, and CO2 emissions. Due to the advantages of our novel approach, short- and long-term decisions are taken into account, which is expected to provide essential insights for economists and policymakers and help them design and implement economic and environmental policies more effectively.

Afterward, the paper is structured as follows: The “Literature review and hypothesis development” section includes a literature review and hypothesis building. A description of the model, the data, and the estimation method is provided in the “Statistical investigation and methods” section. The “Results” section summarizes empirical results and discusses them. The paper concludes in the “Policy implications and conclusions” section.

Literature review and hypothesis development

Digitalization and economic complexity

According to Khan and Hou (2021), economic growth is often sacrificed for environmental sustainability. The quality of the environment is harmed in order to achieve a higher level of economic development (Khan et al. 2021a). As shown in Khan et al. (2021b), there is a strong positive correlation between energy consumption and economic growth, both in the short and long run. Furthermore, in the process of development, scholars indicate a short and long relationship between urbanization (Awan et al. 2022) development, population growth, industrial development (Jie et al. 2023), and environmental degradation. An analysis of the impacts of natural resources, energy consumption, and certain economic and social factors on ecological quality is presented by Khan et al. (2021a). New evidence on the association between energy intensity, financial development, and ecological sustainability has been found recently in the Asia Pacific Economic Cooperation countries by Khan et al. (2021c) and in OECD countries by Khan et al. (2021b). While previous studies have examined both causes and influences of environmental sustainability, they have not fully accounted for the attendants of ecological sustainability. More recently, scholars are more likely to concentrate on the importance of digitalization. For example, Thanh et al. (2022) empirically analyze a link between digitalization and energy security, while Ha et al. (2022b) quantify its environmental consequences. Recent studies focused more on the interconnection between different markets to explain the source of volatility in a typical market (Adekoya et al. 2022; Antonakakis et al. 2022; Asai et al. 2020; Chatziantoniou et al. 2022; Ha et al. 2022a; Le 2022). Hence, studying the dynamic connectedness between digitalization, environmental technology, economic complexity, and environmental issues is vital.

The prior literature supports our belief that digitalization affects economic complexity, directly and indirectly. Digitalization directly affects economic complexity, according to Banga (2019) and Sweet and Eterovic Maggio (2015), since it is associated with innovation and new knowledge. Increasing a country’s economic complexity means accumulating more productive knowledge (Chu 2020). It is possible to improve product knowledge accumulation by combining innovation activities with digital transformation processes. According to Rachinger et al. (2018), digitalization influences the business model innovation of a country, improving knowledge over time. Using digital transformation as an example, Coronado-Medina et al. (2020) found an increase in absorptive knowledge capacity, as a result of which product innovation is promoted. Economic complexity performance is also improved by product innovation. Nguyen et al. (2020) also show a positive relationship between economic complexity and digitization, represented by internet usage. Therefore, economic complexity rises directly and positively with digitalization.

A further benefit of digitalization on the economy can be seen in the literature, which illustrates how it may enhance economic complexity. As a starting point, previous studies have shown that digitalization has multiple positive economic impacts, including positive impacts on economic growth (Niebel 2018), trade (Adeleye et al. 2021), and productivity (Cardona et al. 2013), which in turn positively affect economic complexity (Hidalgo and Hausmann 2009). Digitalization has positively impacted financial markets, as demonstrated in the literature. There is a reduction in labor and intermediate costs associated with digitalization, and at the same time, there is an increase in industrialization (Herzog et al. 2017; Pop 2020). Additionally, digitalization helps cross-border firms achieve higher operational efficiency (Dethine et al. 2020), generates new investment opportunities for foreign investors (Damgaard et al. 2018), and creates new markets. Also, digitalization makes economic activities more efficient, increasing the efficiency of financial services and ultimately enhancing competitiveness. Svirydzenka (2016) examines financial development through two dimensions: institutions of financial development (banks, insurance companies, funds, etc.). Pradhan et al. (2016) conducted an empirical study and concluded that information and communication technologies adversely affect financial institutions’ development. Representatives, agents, and brokers can communicate more efficiently with digital technology at a lower cost, but face-to-face communication cannot be replaced completely. In parallel with these positive influences, there are negative effects as well. As a result, the impact of digitalization has yet to be determined consistently. Digitalization and financial development are closely related, while financial development is closely related to economic complexity. According to Fan et al. (2015), lenders are more likely to produce high-quality products when credit is prevalent. A flourishing financial sector will invest more capital in economic activities, thus stimulating research and development and product upgrading (Canh and Dinh Thanh 2020; Svirydzenka 2016). In this way, financial complexity develops due to digital transformation (Dutta and Sobel 2018).

Thirdly, previous documents also pointed out the vital influence of politics on a country’s long-term growth (Acemoglu and Verdier 1998; Acemoglu and Zilibotti 2001). Therefore, political institutions’ nature and outlook can improve the economy’s quality and output while also increasing its complexity by investing in human capital accumulation, development, research, and innovation. Good institutions will enact effective policies, such as guaranteeing property rights and enforcing contracts, laws, and regulations, leading to increased benefits from knowledge and accumulation of human capital. The higher the human capital countries have, the more quickly they catch up with trends in learning and mastering complex manufacturing jobs (Zhu and Li 2017). According to Zhu and Fu (2013), human capital favorably influences the level of sophistication in exports. There is a positive relationship between human capital and economic complexity (Hausmann et al. 2014). Besides human capital, institutions also positively influence economic complexity through innovation activities. Sweet and Eterovic Maggio (2015) suggest that an increase in economic complexity can boost a country’s productive capacity to produce sophisticated goods. Furthermore, complexity provides important information about innovation for achieving economic prosperity (Hausmann et al. 2014). Hausmann et al. (2007) demonstrate that the capability to export sophisticated goods highly depends on the institutional environment that stimulates entrepreneurs to engage in innovative activities.

In the following discussion, we indicate that the effectiveness of applying the digitalization process influences the quality of governance of that institution (Gulati et al. 2014). In general, digitalization is recognized as a favorable influence on better institutional quality. According to Accenture (2014), digitalization alters the relationship between citizens and government. The Internet and mobile improve communication efficiency with lower costs than face-to-face chatting and gradually bridge the distance between individuals. The advancement of ICT has facilitated the government to gather citizens’ opinions and analyze and share information better, resulting in punctual and appropriate policy enactment. Simultaneously, the Internet promotes the government to manage data, store, and track residents’ information and boosts coordination between departments (Agarwal and Maiti 2020). Institutional transparency will be enhanced if the government manages information and data is appropriately collected. According to Sabbagh et al. (2012), digitalization influences government efficiency through transparency in public service delivery. Pina et al. (2007) advocate this suggestion based on empirical evidence in the USA, Canada, Australia, New Zealand, and 15 EU countries. The findings reveal that information technology improves the governance effectiveness of institutions. Information technology is one of the most important dimensions in reducing corruption and improving governance (Shim and Eom 2008). Digitalization improves government information infrastructure, thus enhancing the efficiency of the decision-making process, encouraging interaction between citizens and government, and increasing public accountability. The digital transformation process in revenues and expenditures enhances fraud detection, resulting in a reduction in corruption. A higher degree of digitization increases the transparency of information, thereby decreasing uncertainty (Bertot et al. 2016; Klitgaard 1988). As supervision becomes more stringent, public institutions must pay more attention to acting according to ethics (Davies and Fumega 2014) and legislation (Rose-Ackerman 1999). Information exchange between government and citizens becomes more efficient, leading it to a powerful tool against corruption (Adam and Fazekas 2018). The level of corruption decreases as the prevalence of digitalization increases (Garcia-Murillo 2013), thus, governance also becomes more effective.

Economic complexity and digitalization

Poorly developed economic complexity characterizes the evolution of economic complexity has been controversial in the past due to the difficulty of leveraging the productive capacities of economies at this stage. Products produced in these countries are typically simple and are comparatively distant from each other. According to Hidalgo et al. (2007), a number of natural-based products are included in this production stage, including fishing, tropical crops, clothing, mining, and agriculture. As a result of the high dependence on natural resources and product proximity, there are fewer prospects for new manufacturing operations and a limited selection of occupations (Elgin and Oztunali 2014). With its gradual transformation from the periphery to the core of the international trade network, the economy is now progressing to higher economic sophistication (Hausmann et al. 2014). A shift to heavy industrial products is necessary in order to reduce dependence on natural resources (Stern 2004). With the economy reaching its core structure, improvements and increases in production capacity will boost product development and diversity of industry sectors. Consequently, a broader range of occupational and educational opportunities will be available to workers at all levels (Adam 2020).

A more complex economy suggests an improvement in industrial productivity. This leads to enhancing the digital transformation process according to new socioeconomic and institutional conditions. It is generally assumed that scale determines profitability. Therefore, the more intricate the economy, the higher the degree of specialization and, consequently, the higher the profit (Constantine 2017; Lee and Vu 2020). As Hartmann et al. (2017) argue, complexity is a reliable predictor of economic growth and development, even sustained long-term, due to the increased resilience of economies with diversified production structures to economic shocks (Barnes et al. 2015; Joya 2015). In addition to the socioeconomic environment, the political-institutional environment also contributes significantly to the complexity of an economy (Vu 2021; Zhu and Fu 2013). By improving income, businesses and the public sector will access increased funding, enhancing digital transformation in various industries.

Digitalization and energy efficiency

The benefits of digitalization can be attributed to either its impact on human capital or financial development as a technological advance. Due to the invention of the Internet and its widespread use, the amount of information has increased exponentially. People could gain access to a broader spectrum of knowledge more quickly and efficiently with the help of more efficient search tools and low-cost access to the World Wide. Aside from the acquisition of information, big data, cloud computing, and multiple communication methods have made it possible to transmit and integrate information more efficiently and affordably among individuals and specialists in a wide variety of locations and times (Spiezia 2011). The information assists workers in improving their expertise conducting more research and development initiatives, as well as acquiring new professional skills on a regular basis. As a result of this process, human capital is improved, which benefits technical innovation activities (Ferro 2011; Haini 2019). There is no limit to the effect of this on a nation. Through the Internet platform, information is disseminated, exchanged, and employment is migrated more rapidly, resulting in transborder knowledge exchange and technological spillover. By doing so, we optimize the value of human capital and assist the international dissemination of innovative technologies across diverse sectors (Basu and Fernald 2007; Ceccobelli et al. 2012). Solid financial development in the digital age supports technology advancements and industrial structure upgrades. The development of financial models and a more significant number of credit channels have been enabled, and the matching of financing suppliers with enterprises spanning borders and time zones has been facilitated (Salahuddin and Alam 2016; Salahuddin and Gow 2014). Sources of funding and credit have grown, in turn, provide financial assistance for the implementation of R&D initiatives, particularly in green technologies, and to comply with the requirements of environmental laws and regulations (Faisal et al. 2018; Owusu-Agyei et al. 2020; Tamazian et al. 2009).

Each step of the manufacturing and its coordination is expected to be more efficient as the production equipment’s intelligence level increases. As a result of technological advances, low-energy equipment is now available, which can be replaced using high-energy machinery (Airehrour and Ray 2016), and technology-intensive products can be substituted for traditional products requiring a lot of resources (Li et al. 2019). Internet technology allows the transmission of information technology production impacts to other departments of information technology, as well as between digital firms and non-digital companies, when green manufacturing and management techniques are optimized for developing new products, productivity, and market expansion. The resource reallocation shift will offer more resources to more efficient, technologically intensive businesses due to the productivity gap between sectors that rely on technology and those that rely on traditional resources. Consequently, the industrial structure is being upgraded to include more technology-intensive industries (Qin et al. 2022), while energy-intensive and low-polluting industries are depleted. In the context of digitalization, two forces could accelerate this process: firms exchanging new ideas and the creation of robust competitive mechanisms (Vassileva et al. 2012). Thus, by improving industrial buildings, energy efficiency may be raised while consumption can be lowered. Several empirical studies, including Collard et al. (2005), have demonstrated digitalization’s beneficial effects on energy efficiency.

Digitalization and green production and consumption

Digitalization could increase the consumption of clean and renewable energy by individuals and businesses. This could explain the demand side of the equation if digitalization plays a role in economic growth and globalization. By lowering transaction costs and distorting time, space, and boundaries between goods and services trade, the digitalization of the economy facilitates national and international trade (Zu et al. 2022). The effectiveness and efficiency of governance can be improved through e-government by reducing corruption (Adam 2020; Ali et al. 2021). In addition to enhancing national income and economic growth, digitalization contributes to the advancement of human capital, structural improvement, and trade. The desire for happiness and environmental stewardship will likely increase in a highly digitalized nation with economic development and high earnings (Galeotti et al. 2009; Lee and Lee 2009; Martínez-Zarzoso and Maruotti 2011). There is a likely increase in consumer demand for eco-friendly products that produce and use fewer fossil fuels. Conversely, the companies themselves switch to eco-friendly products and green manufacturing in order to remain competitive, adapt to environmental regulations that are becoming increasingly demanding, and improve social acceptance (Sinclair-Desgagné 2008; Kennett and Steenblik 2006). Due to technologies for the environment, green capital items (with low environmental impacts) rapidly replaced brown capital goods (Kemp-Benedict 2014). As a result, production sectors consume a large amount of non-fossil fuels, particularly renewable energy sources. By lowering the cost of spatial transactions and removing information asymmetry, digitalization is transforming societies, markets, and economies toward more globalization. The spillover effects of R&D on green production and consumption could also contribute to technological innovation (Ali et al. 2021). With the globalization of the economy and finance, green technologies may become more widespread, reducing the consumption of fossil fuels. Foreign direct investment and international trade flows may influence supply chains (Bi et al. 2015; Bakhsh et al. 2017; Zaidi et al. 2019).

From the perspective of the supply side, Moyer and Hughes (2012) stated that information and communication technology (ICT) fosters environmentally friendly consumption and production by reducing the cost of renewable energy. As a result of the application of smart grids, an energy infrastructure type that monitors and matches energy supply and demands continuously, transmission efficiency can be improved, intermittency can be addressed, as well as renewable energy generation and consumption costs can be reduced. Also, this infrastructure facilitates the exchange of information between individuals and firms. Using digital technology, Verma et al. (2020) assert that renewable energy can be efficiently produced, distributed, and integrated into existing centralized energy systems, leading to rapid increases in biomass consumption. Because of sophisticated machine learning algorithms and other artificial intelligence technologies, we can decentralize the energy system, improve weather forecasts, and analyze consumption trends and technology performance better, effectively engage people across the value chain, as well as empowering pro-consumers (who act as both consumers and producers of renewable energy) to participate actively.).

Additionally, the efficiency of the bioenergy industry depends upon labor inputs, capital inputs, innovation systems, market connections, and enabling environments in order to achieve technological efficiency, cost-effectiveness, and general growth (Alsaleh et al. 2017, 2020; Abdulwakil et al. 2020). Bioenergy product development and market penetration may be enhanced through digitization, including digital connectivity, digital governance, digital business, and digital talents. This relationship is of considerable significance because it has the potential to improve human resources (Spiezia 2011), facilitate innovation activities and spillover effects from research and development (Ferro 2011; Ceccobelli et al. 2012; Haini 2019), connect investors to global markets (Salahuddin and Alam 2016; Salahuddin and Gow 2016; Ahmedov 2020), as well as enhance institutional quality (Ali et al. 2021; Adam 2020). Additionally, digitalization will positively affect bioenergy and business models that rely on environmentally friendly methods of production. By doing so, Todd and McCauley (2021) seeks to remove barriers in the sustainable energy transition to create a more environmentally friendly and sustainable economic environment. The penetration of information and communication technologies throughout the Chinese manufacturing industry has resulted in greater pipe-end incorporation, pollution treatment plants, cleaner production technologies and reduced environmental impact, as demonstrated by empirical evidence (Wen et al. 2021).

Statistical investigation and methods

Statistical investigation

In this paper, we use year-by-year time series of digitalization, which includes the number of individuals using the Internet (% of the population) (INU), mobile cellular subscriptions (per 100 people) (MOBSUB), green technology development (EI), renewable energy consumption (REC), CO2 emissions (CO2), and the Economic Complexity Index (ECI). Our study’s period spanned from 1996 to 2019, with data on INU, MOBSUB, and EI collected from the World Bank database, REC, and CO2 data sourced from the Our World in Data database. Finally, ECI was collected from the Observatory of Economic Complexity (OEC). This is the longest data period that we can collect for the year data on foreign aid and renewable and nonrenewable energy consumption in Vietnam. After data collection, we calculated the growth rates of the above data series and used them in the empirical analysis. In the next section, we investigate the trend of these variables. Figure 1 demonstrates a pattern of these series.

Fig. 1
figure 1

INU, MOBSUB, RENEW, EI, ECI growth rates

The descriptive statistics of included series are presented in Table 1, which shows that the average of the data series is positive. Specifically, INU and EI are highly volatile because of the large variance compared to the average. INU is leptokurtic and right-skewed, and EI is platykurtic and left-skewed. Based on the test of Jarque and Bera (1980), the results show that INU, EI, and ECI are not normally distributed. The ERS unit root test (Elliott et al. 1996) shows that these series are not stationary. Finally, the weighted portmanteau test (Fisher and Gallagher 2012) shows INU, MOBSUB, and CO2 have autocorrelation on returns. Otherwise, there is no autocorrelation on the data series for squared returns. It is clear from these results that our proposed method—QVAR—is appropriate. This article aims to investigate the dynamic connectedness between digitalization, green technology, economic complexity, and environmental issues.

Table 1 Summary statistics

Empirical approach

Quantile vector autoregression

All connection measurements may be calculated later on. To begin, we compute net pairwise connection. Using this model, we calculate all connectedness metrics using a quantile vector autoregression or QVAR (p).

$${\mathbb{z}}_{t}= {{\varvec{\mu}}}_{{\varvec{t}}}\left(\tau \right)+ {\mathfrak{d}}_{1}\left(\tau \right){\mathbb{z}}_{t-1}+ {\mathfrak{d}}_{2}\left(\tau \right){\mathbb{z}}_{t-2}+\dots + {\mathfrak{d}}_{p}\left(\tau \right){\mathbb{z}}_{t-p}+ {{\varvec{u}}}_{t}\left(\tau \right).$$
(1)

They depict dimensional endogenous variable vectors, the quantile of an indicator, lag lengths in QVAR models, dimensional error vectors with variance–covariance matrixes, and conditional mean vectors. The strategy of the world is used to translate QVAR (p) to QVMA():

$${\mathbb{z}}_{t}={\varvec{\mu}}\left(\tau \right)+ \sum_{j=1}^{p}{\mathfrak{d}}_{j}\left(\tau \right){\mathbb{z}}_{t-j}+ {{\varvec{u}}}_{t}\left(\tau \right)={\varvec{\mu}}\left(\tau \right)+ {\sum }_{i=0}^{\infty }{\mathfrak{Z}}_{i}\left(\tau \right){{\varvec{u}}}_{t-i}.$$

Consequently, our research estimate the decomposition of generalized forecast error variance (GFEVD) (Pesaran and Shin 1998; Koop et al. 1996;), which is the center of the connectedness technique.Footnote 1 As GFEVDs have a general structure, it could be applied to assess the shock’s impact that series j has on variable i with regard to its forecast error variances:

$${\Upsilon}_{ij}(\breve{\text{U}})= \frac{ {(\Sigma \left(\tau \right))}_{jj}^{-1}{\sum }_{\mathrm{\breve{\text{u}}}=0}^{\breve{\text{U}}-1}{\left({\left({\mathfrak{Z}}_{h}\left(\tau \right)\Sigma \left(\tau \right)\right)}_{ij}\right)}^{2}}{{\sum }_{\breve{\text{u}}=0}^{\breve{\text{U}}}{\left({\mathfrak{Z}}_{h}\left(\tau \right)\Sigma \left(\tau \right){\mathfrak{Z}}_{h}^{^{\prime}}\left(\tau \right)\right) }_{ii}}$$
(2)
$${\widetilde{\Upsilon}}_{ij}\left(H\right) = \frac{{\Upsilon}_{ij}(\breve{\text{U}})}{{\sum }_{k=1}^{N}{\Upsilon}_{ij}(\breve{\text{U}})}$$
(3)

where \({\widetilde{\Upsilon}}_{ij}(\breve{\text{U}})\) clarifies the consequences of \(j\) th series on the variance of the ith series’ prediction inaccuracy at horizon \(\breve{\text{U}}\). The rows of \({\widetilde{\Upsilon}}_{ij}(\breve{\text{U}})\) then standardized their sum does not even equal one, which yields \({\widetilde{\Upsilon}}_{ij}\). Next, identities by standardization are then standardized:

$${\sum }_{i=1}^{N}{\widetilde{\Upsilon}}_{ij}(\breve{\text{U}})=1\mathrm{\;and}{\sum }_{j=1}^{N}{\sum }_{i=1}^{N}{\widetilde{\Upsilon}}_{ij}\left(H\right)=N.$$

In a later phase, all connection measures may be computed. First, we compute the net pairwise connectivity as follows:

$${NPDC}_{ij}(\breve{\text{U}})= {\widetilde{\Upsilon}}_{ij}(\breve{\text{U}})- {\widetilde{\Upsilon}}_{ji}(\breve{\text{U}}).$$
(4)

If \({NPDC}_{ij}(\breve{\text{U}})>0\)  \(({NPDC}_{ij}(\breve{\text{U}})<0\), it signifies that series j has a greater (lesser) influence on series I than the other way around.

Depending on their directional connectivity, \(i\) shock to one indicator will have an impact on all others \(j\).

A shock to one indicator will have an impact on all others based on their total directional connectedness to each other

$${TO}_{i}(\breve{\text{U}})= \sum_{i=1, i \ne j}^{N}{\widetilde{\Upsilon}}_{ji}(\breve{\text{U}})$$
(5)

When an indicator \(i\) a receives a shock, the total directional connectedness FROM the other indicators \(j\) is described as follows:

$${\mathrm{FROM}}_{i}(\breve{\text{U}})= \sum_{i=1, i \ne j}^{N}{\widetilde{\Upsilon}}_{ij}(\breve{\text{U}})$$
(6)

Since it is the difference between TO and TO other systems, the net total directional connectivity might be considered the influence series i has on the system under consideration.

$${\mathrm{NET}}_{i}(\breve{\text{U}})= {\mathrm{TO}}_{i}\left(\breve{\text{U}}\right)- {\mathrm{FROM}}_{i}\left(\breve{\text{U}}\right)$$
(7)

If the \({\mathrm{NET}}_{i}\) > 0 (\({\mathrm{NET}}_{i}\) < 0), every other serie i has a more significant (lesser) influence on all other series than they are on us. Consequently, we can call it as an e-shock transmitter (receiver). To calculate the total connectedness index (TCI), which measures how interconnected a network is, we can use the following formulas:

$$\mathrm{TCI}(\breve{\text{U}})= {N}^{-1}\sum_{i=1}^{N}{\mathrm{TO}}_{i}(\breve{\text{U}})={N}^{-1}\sum_{i=1}^{N}{\mathrm{FROM}}_{i}(\breve{\text{U}})$$
(8)

The metric thus indicates how a surprise in one series affects all others—the market’s risk increases with its value and vice versa.

The focus of this study has been on the evaluation of time-domain connectivity. The frequency area is also being evaluated for connectedness. We can investigate connectivity in the frequency range through the spectral decomposition approach developed by Stiassny (1996). The function is explored in the following manner: \(\mathfrak{Z}\left({{\varvec{e}}}^{-{\varvec{i}}{\varvec{\omega}}}\right)=\boldsymbol{ }{\sum }_{\mathrm{\breve{\text{u}}}=0}^{\boldsymbol{\infty }}{e}^{-iwh}{\mathfrak{Z}}_{\mathrm{\breve{\text{u}}}}\), where \(i= \sqrt{-1}\) and \(\omega\) stands want the frequency to correspond to the spectral density of \({x}_{t}\) at frequency \(\omega ,\) This is represented by a Fourier transformation of the QVMA(∞):

$${{\varvec{S}}}_{\mathbb{z}}(\omega )=\boldsymbol{ }\sum_{\mathrm{\breve{\text{u}}}= -\infty }^{\boldsymbol{\infty }}E({\mathbb{z}}_{t}{\mathbb{z}}_{t-h}^{^{\prime}}) {e}^{-iwh}= \mathfrak{Z}\left({e}^{-i\omega h}\right){\sum }_{t}\mathfrak{Z}\left({e}^{+i\omega h}\right)$$
(9)

Frequency GFEVD is calculated by combining spectral density and GFEVD. GFEVD needs to be normalized in the frequency domain just as it must be in the time domain. The following formula can be used to accomplish this:

$${\Upsilon}_{ij}\left(\omega \right)= \frac{ {(\Sigma \left(\tau \right))}_{jj}^{-1}{\left|{\sum }_{\mathrm{\breve{\text{u}}}=0}^{\infty }{\left(\mathfrak{Z}\left(\tau \right){(e}^{-iwh})\Sigma \left(\tau \right)\right)}_{ij}\right|}^{2}}{{\sum }_{\breve{\text{u}}=0}^{\infty }{\left(\mathfrak{Z}{(e}^{-iwh})\Sigma \left(\tau \right)\mathfrak{Z}\left(\tau \right){(e}^{iwh})\right)}_{ii}}$$
(10)
$${\widetilde{\Upsilon}}_{ij}\left(\omega \right) = \frac{{\Upsilon}_{ij}\left(\omega \right)}{{\sum }_{k=1}^{N}{\Upsilon}_{ij}\left(\omega \right)}$$
(11)

where \({\widetilde{\Upsilon}}_{ij}\left(\omega \right)\) states that at certain frequencies in the spectrum of the ith variable, a shock in the jth series can be assigned to that portion of the spectrum. It may be viewed as a within-frequency indicator.

We measure short and long-term connectedness by combining all frequencies within a certain range instead of using a single frequency, \(d=\left(a,b\right):a,b \epsilon \left(-\pi ,\pi \right), a<b:\)

$${\widetilde{\Upsilon}}_{ij}\left(d\right) = {\int }_{a}^{b}{\widetilde{\Upsilon}}_{ij}\left(\omega \right)d\omega$$
(12)

Using this information, we can calculate the same connectedness estimation as described earlier. The same method can be used to evaluate them. Despite the fact that estimates of frequency interconnectivity are provided. Information on the spread over particular frequency ranges does not provide information about the spread within that frequency range:

$${\mathrm{NPDC}}_{ij}\left(d\right)={\widetilde{\Upsilon}}_{ij}\left(d\right)- {\widetilde{\Upsilon}}_{ji}\left(d\right)$$
(13)
$${\mathrm{TO}}_{i}\left(d\right)= \sum_{i=1, i \ne j}^{N}{\widetilde{\Upsilon}}_{ji}\left(d\right)$$
(14)
$${\mathrm{FROM}}_{i}\left(d\right)= \sum_{i=1, i \ne j}^{N}{\widetilde{\Upsilon}}_{ij}\left(d\right)$$
(15)
$${\mathrm{NET}}_{i}\left(d\right)= {\mathrm{TO}}_{i}\left(d\right)- {\mathrm{FROM}}_{\mathrm{i}}\left(d\right)$$
(16)
$$\mathrm{TCI}\left(d\right)= {N}^{-1}\sum_{i=1}^{N}{\mathrm{TO}}_{i}\left(d\right)={N}^{-1}\sum_{i=1}^{N}{\mathrm{FROM}}_{i}\left(d\right)$$
(17)

Although all measurements provide precise ranges, they do not provide information regarding the overall impact. By the methodology overall, Baruník and Křehlík (2018) suggested that all contribution metrics for each frequency be used. Band should be weighed by \(\Gamma \left(\mathrm{d}\right)=\frac{{\sum }_{i,j=1}^{N}{\widetilde{\Upsilon}}_{ij}\left(d\right)}{N}.\)

$${\widetilde{\mathrm{NPDC}}}_{\mathrm{ij}}\left(d\right)={\Gamma \left(\mathrm{d}\right)\cdot \mathrm{NPDC}}_{ij}(d)$$
(18)
$${\widetilde{\mathrm{TO}}}_{i}\left(d\right)= {\Gamma \left(\mathrm{d}\right)\cdot \mathrm{TO}}_{i}(d)$$
(19)
$${\widetilde{\mathrm{FROM}}}_{\mathrm{i}}\left(\mathrm{d}\right)= {\Gamma \left(\mathrm{d}\right)\cdot \mathrm{FROM}}_{\mathrm{i}}\left(\mathrm{d}\right)$$
(20)
$${\widetilde{\mathrm{NET}}}_{l}(d)=\Gamma \left(\mathrm{d}\right)\cdot {\mathrm{NET}}_{i}\left(d\right)$$
(21)
$$\widetilde{\mathrm{TCI}}\left(d\right)=\Gamma \left(\mathrm{d}\right)\cdot \mathrm{TCI}\left(d\right)$$
(22)

Our final demonstration demonstrates Baruník and Křehlík (2018) frequency-domain measurements and the Diebold and Yilmaz 2012, Diebold and Yılmaz 2014) time-domain estimates:

$${\mathrm{NPDC}}_{ij}(\breve{\text{U}})=\sum_{d}{\mathrm{NPDC}}_{ij}\left(d\right)$$
(23)
$${\mathrm{TO}}_{i}(\breve{\text{U}})= \sum_{d}{\mathrm{TO}}_{i}\left(d\right)$$
(24)
$${\mathrm{FROM}}_{i}\left(\breve{\text{U}}\right)= \sum_{d}{\mathrm{FROM}}_{i}\left(d\right)$$
(25)
$${\mathrm{NET}}_{i}(\breve{\text{U}})= \sum_{d}{\mathrm{NET}}_{i}\left(d\right)$$
(26)
$$\mathrm{TCI}(\breve{\text{U}})= \sum_{d}\mathrm{TCI}\left(d\right)$$
(27)

Results

Average dynamic connection varies over time

Table 2 presents the average outcome of the interlinkages among numerous indications in the network based on the entire data set from 1996 to 2019. An indicator’s response to a shock is illustrated in particular by the components along the diagonal of this table. A non-diagonal component, on the other hand, describes the effect of other indicators on this indicator (TO) and the impact of this indicator’s instability (FROM) on other indicators. As shown in the columns, each indicator affects the forecaster’s error variance independently, while Table 2 illustrates how each indicator affects the forecaster’s error variance independently. For the entire data set, the average TCI value is 76.76%. Approximately 76.76% of the volatility is attributed to changes in the network of indicators being studied. The results indicate that personal effects account for approximately 22.24% of the system’s mistake variance. The last row of Table 2 shows the contribution of each indicator. Economic complexity (EC) significantly impacts shock and volatility transfer to other system indicators. Therefore, economic complexity has a strong impact on and is a major cause of shocks to other indicators. It is worth noting that the green technology development (EI) is very susceptible to the influence of other actors present in the network, in which the impact of EC is the largest and is the main cause of shock for this index. In addition, EC also has a significant impact on other digitalization and energy indicators, such as a number of individuals using the Internet (INU), mobile cellular subscriptions (per 100 people) (MOBSUB), and renewable energy consumption (REC).

Table 2 Average joint connectivity

Based on the division of the observational segments into short and long durations, this study examines the concept that indicator roles vary over time. It is possible to clarify some of the short-term histories of the system based on all of the indicators together (TCI is 62.45%). The system’s forecast uncertainty fluctuations can also be attributed to approximately 38% of the personal effects to be considered in the near future. In the long run, the number has significantly decreased to 14.30%. Over both short and long periods, evidence supports the idea that these indicators follow one another.

A notable feature of economic complexity (EC) is that it transmits insignificant network shocks in the short run, but in the long run, it causes a marked increase, as does renewable energy consumption (REC). In both durations, green technology development (EI) has been the net recipient of network shocks; however, in the long run, EI has received fewer shocks. In the short term, individuals using the Internet (INU) and mobile cellular subscriptions (MOBSUB) are net transmitters, but in the long term, they become net receivers. Furthermore, INU received the most network shocks in the long run.

Total dynamic connectedness

Figure 2 illustrates complete dynamic connectedness findings across quantiles. On the graph, warmer colors imply a greater connection. Based on the results, the color at the 20% to 80% percentile is warmer than the lower 20% and upper 80% percentiles. To put it another way, the impact appears to be symmetrical. In addition, 50% represents the median quantile of connectedness over the entire period. It is well recognized in the literature that the findings concerning the e-spread shocks for each indicator are highly connected. The information presented in this particular instance will be of great value to both investors and risk managers. Due to long-duration dynamics, these seven indicators serve as shock transmitters or receivers. In contrast, the short-duration net spread mechanism provides a valuable overview of the situation. Our article examines the net total directional connectedness of these two durations. During the period 2009–2012, there was an increase in the number of links in the network, which may stem from external shocks that took place during this period, for example financial and economic crisis in Europe, specifically the Great Recession of 2009, and others political issues like North Korea’s escalating tensions (Denmark 2011). The phenomenon of increasing connectivity in the network also took place in the period 2016–2018. This can be explained by major events in the globe. The interconnectedness around the middle of the y-axis is quite symmetrical, which suggests that spillovers between extremely positive returns behave similarly to those associated with negative returns.

Fig. 2
figure 2

Dynamic net total directional connectedness over quantiles

The literature has highlighted the interconnectedness of the results regarding the net spread shocks for each indicator. Investors and risk managers will likely find this particular instance to be of great value. Due to long-duration dynamics, the seven indicators are entirely responsible for their roles as shock transmitters and receivers. As opposed to this, the short-duration net spread mechanism provides valuable insight. This article examines the net total directional connectedness during these two time periods.

We notice that the role of economic complexity (EC) depends on the study period. Its role in the near future surpasses in the long term. In the short term, the green technology development (EI) remains a net shock receiver during our sample. The period 2009–2012 shows that the number of individuals using the Internet (% of the population) (INU) switched from net transmitters to net receivers around 2011 in the short term. This is similar to CO2 emissions (CO2) and Renewable Energy Consumption (REC), respectively, around 2010 and 2011. However, in the long term, this phenomenon does not take place on the INU but still acts as a net transmitter during the whole period. In contrast to CO2 and REC, in the long term, there was a transition from net receiver to net transmitter in around 2013. As mentioned above, during this period, the world economy faced many major political and economic problems, such as the financial crisis, economic recession in Europe, and political problems in North Korea.

In contrast, mobile cellular subscriptions (per 100 people) (MOBSUB) are transitioning from net receiver to net transmitter in the short term, but in the long term, they remain in the state of net transmitter until the end of about 2013 and become net receivers after that. In general, the world’s political, economic, and financial issues in the period 2009–2013 have had a significant influence, showing a change in the role of indicators in networks. However, the series did not have too many fluctuations from that period on. The roles of the studied series were also quite similar and did not change too prominently in the short term and the long term Fig. 3.

Fig. 3
figure 3

Dynamic net total directional connectedness: QVAR

Then, we examine the net total directional connectedness over quantiles. In Fig. 4, you can see these results. Warmer colors indicate net indicator transmitters on these graphs. Green technology development (EI) and economic complexity (EC) had the consistent responses among all the indicators. The impact of the problems on the world economy mentioned above in the period 2009–2013 is significant. In general, green technology development was the main net receiver of shocks across the percentiles; however, in 2009–2013, EI acted as a transmitter. For economic complexity, it was the main transmitter of shocks but acted as the receiver at the 80% percentile or higher for the period 2009–2013. Digitalization captured by a number of individuals using the Internet (INU) received the most fluctuations, as seen in Fig. 4 a. Specifically, percentiles from 20 to 80% act as receivers, and below 20 to 80% act as transmitters. This expression is the opposite of mobile cellular subscriptions (MOBSUB) and Renewable Energy Consumption (REC). Specifically, MOBSUB switched from receiver to transmitter around 2013. Finally, CO2 emissions (CO2) acted as the main receiver across the percentiles and throughout the study period.

Fig. 4
figure 4

Dynamic net total directional connectedness over quantiles

Furthermore, in order to properly comprehend the dynamics of volatility in geopolitical risks, we examine pairwise dynamics in detail. Both short-term and long-term indicators are affected by economic complexity (EC). Figure 5 displays the results. Specifically, green technology development (EI) was most clearly dominated by EC in both durations, and this state was maintained throughout the study period. In addition, EI’s role is also clearly demonstrated as a main net receiver of shocks in both durations. This status is maintained throughout the study period. The same situation occurs when considering the relationship between EI and REC. Digitalization metrics, such as the number of individuals using the Internet and mobile cellular subscriptions (MOBSUB), also influence EI in both durations. The influence of political, economic, and financial issues in the period 2009–2013 is also reflected in the fluctuations in indicator pairs. Remarkably, the role of EC on Internet users between 2011 and 2014 changed from receiver to transmitter. This status also appears in the relationship between renewable energy consumption and mobile cellular subscriptions to economic complexity.

Fig. 5
figure 5

Pairwise directional connectivity of a dynamic net: digitalization to other indicators

Policy implications and conclusions

This research aims to explore the interlinkages between digitalization, green technology development, renewable energy consumption, CO2 emissions, and economic complexity in the context of a QVAR framework. In this study, we provide greater flexibility, which allows us to obtain the net pairwise connectedness measurements. For this study, we collected yearly data in Vietnam, where there has been a paucity of data on green technology and environmental issues. We found dynamic links between studied series in our proposed system. Furthermore, this research demonstrates a temporal fluctuation of their connectedness driven by the global political and economic issues occurring during the research period. Economic complexity is the main transmitter of shocks in the short term and manifests even more in the long term. In contrast, green technology development is the primary receiver of shocks and manifests itself prominently in both the short and long term. Digitalization captured by a number of Internet users, in the short term, switched from transmitter to receiver. Other metrics like mobile cellular subscriptions or renewable energy consumption and CO2 emissions are mainly receiver-driven, especially in the long run. In the short term, there was volatility, especially from 2009 to 2013, which can be partly explained by the destructive changes in political, economic, and financial issues in the world at that time.

Theoretical significances

In our research, we propose an in-depth explanation of the interconnectivity between these indicators, namely digitalization, green technology, economic complexity, and green energy, over quantiles in the case of developing countries. Digitalization, economic complexity, green technology, green energy, and environmental issues are spread across pairwise connectedness. Regulators and investors rely on our information and warnings regarding uncertain occurrences and policies.

Practical policy implications

The interconnections among spillover effects and determinants have raised policy implications for investors and authorities. Our recommendations are derived from the article’s theoretical knowledge and empirical findings between digitalization and economic complexity. Policymakers need to develop policies that will lessen the vulnerability of these indicators and reduce the amount of risk or uncertainty the market faces. The significant relationships between the six variables indicate those authority evaluations may be insufficiently diverse or excessively varied. Also discussed are the increasing connections between unanticipated and highly unpredictable events, like the economic downturn in Europe or North Korea’s military problems. In addition, these results can urge politicians to enhance the country’s digitalization development, a potential development demand in the present day.

Future research directions and limitations

Three factors limit the results of this study. First, it should be noted that no general rule or pattern describes how risk events affect spillovers over a quantile, either total, net, or pairwise. Second, the extent of the spread contributes significantly to the relationship between variables in the designed system. Large-spread markets are likely to be severely affected by changes and shocks caused by other indicators. The authorities should focus on risk sources with varying frequencies to mitigate the adverse effects of outside shocks. Global regulatory rules are being integrated for different metrics. Reducing long-term fluctuation spreads’ harmful implications and short-term gain spreads are essential. It should be noted that diversification also has substantial portfolio benefits, given that many researchers are considering the spillover effect across multiple metrics in their research. We have temporarily halted in the current project.