Thursday, May 22, 2025

Malnutrition and Cognitive Development: How Early Nutrition Shapes Educational Outcomes – Evidence from Global Studies

 

image source: child rights and you 


Introduction

Malnutrition is a condition where body is either undernourished or over nourished resulting in stunting, wasting, obesity, and diet-related diseases. It not only affects the education outcomes for children but also decreases the quality of human capital of a country. When we look at data nearly 149 million children under the age of 5 are suffering from stunted growth. In India, this percentage is 35.5% (NFHS-5). Studies have highlighted the negative impact of malnutrition on child's cognitive development and academic excellence. Hence Proper nutrition is essential for brain development, memory retention, and concentration as these factors are key to educational performance. Developing countries like India are more often suffering from marginal malnutrition (hidden hunger) which causes lower Cognitive Scores, Poor School Performance, and Micronutrient Deficiencies. Thus this study will examine the Link between Child Nutrition and Educational Performance by analysing available literature and secondary data.

KEYWORDS

 

Malnutrition, Cognitive Development, Educational Outcomes, Early Childhood Nutrition

 

Literature Review

Nutrient deficiency and environmental stimulation like Social engagement and Physical activity influence brain development in children which correlates with educational performance. According to research, these factors have Additive, Interacting, and Mediating Effects. Additive Effects explain both nutrition and stimulation factors are important and improving either one can lead to better development, but improving both is the best outcome. While Interacting Effects explains Good nutrition alone is not enough children also need a rich learning environment for proper brain development. Mediating Effects explains undernutrition not only directly affects the brain but also reduces opportunities for learning and social interaction. Through these effects, it is clear that both nutrition and stimulation factors influence Educational Performance. Hence Proper nutrition at the right time is crucial for brain development. While the brain has some ability to recover from early malnutrition, the combination of good nutrition and a stimulating environment is necessary for the best possible outcomes. How well a child performs in education is directly linked with the building of quality human capital which

enhances the productivity and economic development of a country. Through a study data has been collected from a group of Korean orphans adopted by middle-class Americans and through this data it has been found that those children who are undernourished before the age of 2 years have lower IQ scores compared to those who had not been undernourished in the same age group. Another interesting factor is that children who were adopted before the age group of 2 years had generally higher IQ scores than those who were adopted after the age group of 2 years which indicates that it is better to address malnutrition earlier. Another investigation highlights some new findings during Famine conditions in Holland after WWII where strict food rations were imposed. Children born during this era did not have low IQ scores because they received adequate nutrition and health care afterwards but these children in adult life had increased risk of schizophrenia and antisocial personality disorder. Another study done in Barbados showed that adults who have suffered from moderate to severe malnutrition in the first year of life had low attention span and reduction in cognitive development with lower school achievement. In Guatemala pregnant women and their children up to 7 years were provided milk-based high protein and energy drinks with Micronutrients and children who received these drinks had higher cognitive scores at 4-5 ages and higher scores on tests of numeracy (math), knowledge, vocabulary, and reading achievement at 11–18 years of age and most of these effects were only found among individuals who began supplementation before the age of 2 or 3 years. In Bangladesh and Indonesia, it was found that multiple micronutrient supplementation given during pregnancy and postpartum had better motor and cognitive development, especially for undernourished mothers. Similarly, in Chile, infants with low haemoglobin concentration at age 6 months showed improved recognition at age 10 years if they had been fed iron-fortified formula (compared to low-iron formula) during infancy. In contrast, children with high haemoglobin concentration at age 6 months performed better in cognitive tasks at age 10 years. Some trials show that if nutrition supplement is provided to mothers during pregnancy and children throughout the age of 2 years then it is beneficial for optimal cognitive development of children. Iron deficiency is associated with poor mental and motor development resulting in poor cognition and school achievement. Some studies have also shown that children who had been anaemic before 2 years of age show deficits in cognition and school achievement from 4 to 19 years of age. In Nepal, it was found that mothers who received iron, folic acid, and vitamin A performed better than those mothers who had received vitamin A alone. Zink and Vitamin B like thiamine are important for brain development if children lack these vitamins, particularly thiamine they often show neurological symptoms. In middle income countries, thiamine deficiency is more prevalent than in wealthier countries. Despite reduction in stunting hunger is still a big issue. In 2023, between 713 and 757 million people were undernourished which is about more than 152 million more people than in 2019. The first 1000 days of life are crucial as they provide opportunities for rescuing neurocognitive deficits. Young Lives research study in Ethiopia, India, Peru, Cambodia, and Vietnam found that there is improvement in the academic performance of those children who overcome stunted growth compared to those who remained stunted between 12 months to 8 years.


This figure illustrates how nutrition and stimulation work together to support brain development and educational performance. Both are essential, as good nutrition enhances brain function, while a rich learning environment fosters cognitive growth.



Diet quality was demonstrated to be a positive predictor of improved cognitive outcomes in children. Some evidence from research suggests that supplementation of animal protein like cow’s milk in a child’s diet can help prevent undernutrition and improve cognition. Undernutrition and obesity during the first 60 months of postnatal life affect the cognitive neurodevelopmental trajectories of children later in life. Weight and height need to be monitored even beyond 24 months of life to enable early recognition of growth retardation/deviations and to allow appropriate and timely interventions to address their negative neurodevelopmental and cognitive impacts.

Future Discussion

This study reveals a strong relationship between malnutrition and impaired cognitive development leading to poor educational performance. Korean Orphan study and Barbados research show that children who were malnourished before the age of 2 have attention deficit and reduced school achievement. Hence it is advised to make policies that will cater to the needs of pregnant mothers and infants. Peru and Malawi studies show that children who experience catch growth still lag behind children who are never stunted. Dutch famine study shows that the first 1000 days of Prenatal and early postnatal nutrition significantly influence brain development hence intervention before the age of 2-3 gives better cognitive outcomes. But alone nutritious diet and supplements are not sufficient environmental stimulation like physical and mental activity like playing and reading produce the best result.

The first 1000 days are very important for new-borns. If they are malnutrition in this period it can disrupt brain development, leading to lifelong deficits in learning and productivity. Nutritional interventions (fortified foods, micronutrient supplements) are vital, but they must be incorporated with Cognitive stimulation (play, schooling) for optimal recovery. Maternal nutrition and breastfeeding are effective. India’s Poshan and Aganwadi programs are good for addressing nutrition deficiency. But hidden hunger requires urgent attention as it undermines the real potential of the child.


Friday, May 9, 2025

Essay on Economics of Homeschooling

 

Introduction

Homeschooling, which was once a distinct educational option, is now widely accepted. Statistical and demographic information about homeschooling is not widely available worldwide due to a variety of factors. Globally, there are differences in the legality of homeschooling. Homeschooling is permitted in several countries, including Australia, Canada, New Zealand, the UK, Mexico, South Africa, the US, and others; however, each nation has its own laws and regulations. But countries like Germany, Sweden, Turkey, and others have strong laws against homeschooling. Homeschooling is becoming more prevalent in the US, where between 2 and 4 million pupils are receiving their education at home (Kunzman R., Gaither M., and Shepherd G.). Homeschooling is becoming popular in India also, according to education experts, especially in cities like Bengaluru and Pune, where the population is said to be financially stable, artistic, and cosmopolitan. In India, the majority of homeschooling communities are concentrated in the cities of Mumbai, Pune, Bengaluru, and Hyderabad. 

image: creative commons 

Homeschooling is not a brand-new concept; it was already practised before the law requiring compulsory education. Homeschooling is a form of education where the learning environment is the home. Either parent taught their children at home, or those parents paid tutors or educators for that purpose. Unschooling and homeschooling are frequently used interchangeably. According to unschooling parents, who do not set up a curriculum for their kids, they are not homeschoolers because they give their kids the freedom to pursue their own interests and learn how they want to, but homeschooling parents do adhere to a curriculum for their kids, according to the blog "Freedom to Learn" by Peter Gray, a research professor of psychology at Boston College. Unschooling is viewed as a form of homeschooling in official statistics, which do not differentiate between the two. In India, a parent's educational background, financial independence, and availability of time are crucial factors in determining how well a child does in homeschooling. According to the National Household Education Poll (NHES) 2007, a survey based on random sampling, the majority of homeschoolers in the US live in two-parent households (89%), and slightly more than half (54%) of those households have just one working parent. Half of homeschooling parents report having at least a bachelor's degree, indicating a considerably higher level of education. The main reasons behind homeschooling are concern about the school environment, the desire to impart moral and religious training, dissatisfaction with academic instruction, and the child's physical and mental health concerns.

Because of the government's position on homeschooling and because of high internet speeds and affordable data packages, homeschooling has become a more viable alternative for Indian parents. According to HSLDA, between 500 and 1000 children are homeschooled in India, where homeschooling is legal. Homeschoolers in India can enrol for the NIOS to take the grade 10 and grade 12 exams, or they can take tests from renowned boards of education as "Private Candidates Registered with A School" or, in a few states/metros/cities, through "The British Council." The National Institute of Open Schooling, the International General Certificate of Secondary Education, and the CBSE (Central Board of Secondary Education) all offer curricula for parents who desire to certify their children.

Estimates of Homeschool Students

                       


New Zealand, Australia, Canada, the United Kingdom, and the United States are the countries where Homeschooling is most common for children and teenagers. This is a rough estimate meant to give a general overview of Homeschool students around the world. In the US, where between 2 and 4 million students receive their education at home, Homeschooling is on the rise (Kunzman R., Gaither M., Homeschooling, and Shepherd G.).According to ADCS (Association of Child Services Directors) estimates, there are 81,200 registered homeschooled children in England as of October 2021. According to HSLDA and SBS News report 21,437 kids in Australia were registered for home schooling in 2019.   According to Homeschooling | Education Counts , there were 7,749 pupils being homeschooled in New Zealand as of July 1, 2021. According to the HSLDA, 500-1000 children are homeschooled in India; however, no government organisations regulate homeschooling. 

Key Words 

Homeschooling, Public Goods, Private Goods, Economic Efficiency, Opportunity Cost.


Main Findings

When physical and mental health concerns are excluded, then homeschooling becomes a private education and a private good. Private goods are those that are exclusive and competitive by nature. As a result, their availability will be reduced for those who cannot purchase them. As was previously stated, homeschooling requires financial stability, the luxury of time, and educated parents. The standard of education that children receive from homeschooling depends on resources, knowledge, and parental motivation. According to research, taxpayers don't pay anything for the vast majority of homeschoolers, and families who choose this method of instruction don't rely on publicly financed educational resources. Homeschooling fosters prejudice in the educational field. When there is a significant income gap, the state cannot completely rely on homeschooling. Homeschooling as a popular alternative may lead to educational inequity, with the poor children whose parents did not have privilege ultimately suffering as a result of that discrepancy. One more disadvantage of homeschooling is that parents can use it as a pretext to send their kids to unregistered institutions that have fervently religious curricula. In one study (Knox et al., 2014), medical experts collected instances of serious child abuse that had been reported to their various medical institutions in Virginia, Texas, Wisconsin, Utah, and Washington State. They discovered that 47% of the school-age children had been expelled under the pretext of "homeschooling," and 29% of them had not been permitted to attend school. Some studies show that homeschoolers perform well in reading and writing but not in arithmetic. UNESCO recognises education as a public good. Public education is a public good. In economics, public goods are considered to be collective consumption goods, and they are distinguished by their non-rivalry and non-excludability characteristics. Because social benefits outweigh private benefits and costs, public resources cannot be distributed effectively under a market-based system. To avoid the issue of free riders, tax revenue from the government is frequently used to fund public goods. Being a public good, public education has a positive externality.Well-educated parents are advantageous to all students. These parents have time and money to invest in enhancing the institution of learning. They can attend PTA events and interact with other parents who are not as well-off in terms of finances and education as they are which will enable the school to operate more effectively. Homeschooling parents can make financial contributions and form a strong group to expose ineffective educators. When parents decide to homeschool their children rather than pull them out of public schools, these are the benefits that will follow. When middle-class families abandon public schools in the US, public schools suffer, as they leave public education and stop supporting the institution by participating in political oversight (George Shepherd, 2015).

In economics, efficiency refers to the ability to achieve a goal with little or no waste of resources; however, because education is a special good, we can judge homeschooling efficiency by including opportunity cost, which is how many underprivileged children are not receiving good quality education as a result of homeschooling. Due to the lack of scientific research on the efficiency of homeschooling at the macro level, it is not appropriate to state strongly that there is a trade-off between efficiency and equity in this scenario because, by judging the success of some homeschoolers, we cannot make them representative of the entire homeschooling community.

In comparison to public schools, homeschoolers recognise that there is a higher likelihood of social isolation when a child is homeschooled because formal education offers more opportunities for social engagement. Because of this, homeschoolers participate in a variety of official and unofficial groups. They meet in person and share information in formal timetable groups. Meeting places for informal sports teams include houses and playgrounds. Homeschooling mothers collaborate and share knowledge while also renting out classrooms for different homeschooled children. They routinely use libraries and the internet for information, occasionally hiring higher-level tutors and specialists. According to Chatham-Carpenter (1994), Ensign (1997), and Ray (2009a), homeschooling is likely to change the student's social circle and promote more interactions between different age groups than it does with same-age ones. There is a substantial correlation between the mother's educational level and the child's achievement score among the 36 homeschoolers in Medlin's (1994) study. Mothers are reported to be mostly in charge of home education across all demographics. Mothers typically shoulder the majority of the workload associated with homeschooling, both within individual families and within the larger homeschooling support system, according to Stevens (2001). According to Lois's (2006, 2009, 2010) ethnographies of homeschooling reasons and practices, homeschool moms face significant role pressure, which can lead to emotional burnout. 

When parents choose to teach their children at home, it takes a significant amount of effort and commitment on their part. Those with resources can benefit from homeschooling. Since most students are no longer exclusively dependent on their teachers for learning, the Internet and EdTech companies have significantly changed the educational landscape. Nevertheless, some kids still lack the tools necessary to study well at home. Because she was unable to attend online classes due to financial constraints, a 15-year-old girl in Kerala took her own life. She was a bright student but did not have a smartphone, and as a result, due to fear and depression, she took her life. There are numerous homeschooling success stories, and if you look closely at their backgrounds, you'll see that most of them come from quite wealthy background and have access to plenty of resources. Finding a solution to the issue of delivering high-quality education will benefit the most disadvantaged children and will also inspire homeschoolers. Otherwise, homeschooling will widen the gap between rich and poor pupils and be harmful to society as a whole. Making education more exclusive may benefit some kids, but it would surely harm others. Apple (2000a), Lubienski (2000).

The Way Forward

I discovered while conducting my research that a number of publications emphasised the demand for a more rigorous examination of the recent discoveries. After a more thorough investigation of the economic implications of homeschooling, it will become clear whether or not it is advantageous from a macroeconomic point of view. Our knowledge about homeschooling is mostly based on anecdotal information (Houston, 1999). Everyone appears to agree that the homeschooling movement is likely to have a significant impact beyond what happens in certain households and with particular children (Apple, 2000a; Bates, 1991; Riegel, 2001).


Sunday, May 4, 2025

Role of Green Spaces in Enhancing Youth Mental Well-being in Indian Cities: A Policy Perspective

image source: environbuzz.


Abstract

India’s urban population is rapidly growing and it is projected by the Ministry of Housing and Urban Affairs that it will reach 600 million by 2031. With the growing urban population mental health problems will also rise due to busy city lives, job stress, loneliness, and financial issues. Data shows that in India as cities expand green spaces like parks, gardens, and forests shrink. However, the positive externalities of green spaces are undeniable. Youth mental health is the top priority of a welfare state and in India almost 11 percent of adults suffer from poor mental health according to National Mental Health Survey (2016). Stress, anxiety, bipolar and addiction are common issues that need immediate action. Hence promoting green spaces can be one way to support youth mental health. Research finds that regular contact with nature can help lower stress, improve mood, and encourage physical activity. Hence this study will address how urban parks and green spaces can improve the mental health of youth. Creating Urban Green Equity Zones (UGEZ) in special areas for underserved communities can be beneficial. The study will highlight how better planning and policies can make cities healthier and more supportive of the mental well-being of young people. 

KEYWORDS

 

Keywords: Youth Mental Health, Urban Green Spaces, Urban Planning and Policy.

 

 

Introduction

The 2011 census reveals that 31 percent of the Indian Population lives in cities. By 2030 the figure is estimated to be about 40 percent. Hence there is a serious threat to youth mental health in being conventionally urbanized due to reduced green spaces and fast-paced urban lifestyle. Urban Youth witnesses a negative externality of conventional urbanization. Stress, Anxiety, loneliness, depression, and emotional burnout are the common symptoms. All these symptoms lead to social exclusion and decreased productivity. However Green spaces like Parks, Tree-lined streets, Urban forests, Green roofs, and Community gardens not only helps in improving air quality but also are ecologically and economically viable in the long run. They have positive externality effects on population. A regular sense of connectivity with nature reduces stress levels, increases attention span, and improves overall productivity. We humans are social creatures and regular social interaction is essential for our mental wellbeing. But the fast-paced life of the urban city promotes isolation thus green spaces like parks, community garden are very important for overall mental health. About 11% of adults in India are suffering from mental disorders. Young people between 15 – 30 years old are the most vulnerable group hence the importance of green spaces in urban areas is crucial for the protection of the demographic dividend of the country. Urban green spaces can act as a building block for improved mental health performance. Hence by implementing a green infrastructure strategy and maintaining accessible, safe, and inclusive green areas in cities can provide a low-cost yet effective way to improve the emotional and psychological health of youth. Urban green equity zones are one such approach as it will cater to the needs of underprivileged communities in urban cities. Hence this research's primary aim is to explore the relationship between green spaces and youth mental health in Indian cities by accessing and analysing existing literature. Through this research, priority is given to how green spaces and natural environment contribute to stress reduction, emotional regulation, and social wellbeing among youth. The study will also offer policy suggestions for building cities prioritizing infrastructure and mental health. With urbanization prioritizing green spaces is not an option but a priority.

Literature Review

Mental disorders are a global disease burden which not only affects the life of young people but also hinders their path to reach full potential. Hence it is one of the priorities of Sustainable Development Goals (SDGs). The World Health Organization (WHO) recognises the importance of green spaces as an instrument for promoting physical, mental and social health. Research done by Ester Amoly and her team shows that green spaces help in improving mental health by reducing emotional and behavioural difficulties in children specially for those who have attention deficit hyperactivity disorder (ADHD) symptoms. Other studies suggest that exposure to green spaces improves cognitive function, restores attention and working memory. A longitudinal study done on Denmark people reveals that children who lived near more green spaces have 55 percent lower chances of developing mental health problems as they grew older. Green spaces not only help in better cognitive development but also help in stress reduction. Ulrich’s Psycho-evolutionary Model (1983) and Kaplan’s Attention Restoration Theory (1995) reveals that the natural environment improves psychological recovery. They help in reducing mental fatigue and promote relaxation. Empirical study done by Berman, Jonides, and Kaplan (2008) supports these arguments. Green spaces Lower cortisol levels (stress hormone). Areas which have higher green spaces have experienced better sleep quality. Apart from these benefits, visual exposure to greenery also showed decreased physiological markers of stress, such as blood pressure and heart rate (Gascon et al., 2018). Green spaces promote social cohesion which leads to improved mental health. A green space like parks and community gardens foster social interaction, reduce loneliness and strengthens human bonds. They improve perceived safety and belonging which are essential roots for good mental health. Scientific study reveals that Green spaces like Tree-lined streets help to mitigate noise pollution in technical terminology it refers to green mufflers. Plants, especially trees and shrubs absorb sound waves and reduce noise pollution. Urban green spaces mitigate air pollution which has a positive impact on respiratory organs. They naturally filter air by absorbing pollutants and improve air quality. All these positive externalities of urban green spaces have a positive effect on youth mental health. And its benefit is far reaching across different demographics; children benefit from improved cognitive development and reduced ADHD symptoms. Youth experienced improved mental, physical and social health. Study shows low income populations and women show greater mental health improvements due to increased access to a safe and green environment. According to research findings of Mitchell and Popham (2008) green spaces can reduce health inequalities particularly in terms of mental well-being. Another research done by Nutsford, Pearson, and Kingham (2013) says that access to a green environment is associated with better mental health outcomes especially for underprivileged youth.

 Future Discussion

The finding of the study reveals that urban green spaces play a crucial role in improving youth mental health. With continued urbanization and a fast-paced urban lifestyle promotion of green spaces is a need. The evidence from global studies indicates that exposure to nature can act as a preventative and therapeutic tool for physical, mental, and social health. One of the most important insights from the literature is that green spaces directly help reduce psychological stress and enhance emotional stability. For India where the For India where the population is young urban spaces should designed in such a way that promotes green spaces. Developing Youth-Centric Green Zones, eco-parks, community gardens, and interactive nature trails near schools, colleges, and residential areas can be beneficial. Another major step towards green spaces is to Revive and Protect Existing Green Spaces. Tree Plantation Drives & Urban Forestry is another major step towards promoting youth mental well-being. Green spaces have multiple positive externalities on both youth and the environment. Creating Urban Green Equity Zones (UGEZ) is one aspect of reducing health inequality. Hence beyond aesthetics, Urban Green Equity Zones (UGEZ) has far-reaching benefits. They not only offer sustainability but also help in the economic development of a country. There is overwhelming evidence in favour of green spaces. Policymakers and urban planners must consider the positive externality associated with green space while doing costbenefit analyses. The small steps towards green spaces can transform the city landscape into a healthier and more supportive environment for youth.

 Conclusion

In conclusion, this research highlights the importance of green urban spaces in promoting the mental well-being of youth. With urbanization and mental health challenges integrating nature with growth is not a luxury but a necessity. The benefits of green spaces are beyond aesthetics they provide psychological benefits, encourage social interaction, and reduce environmental stressors. India is rich in demographic dividend hence to achieve desired goals it is important to raise productivity and without good mental health it is not possible. The implementation of urban green policies such as urban green quality zones can help build healthier, more resilient urban populations. Thus the research urges policymakers and urban planners to work collaboratively to promote green spaces. Future research should focus on region-specific studies by collecting primary data to understand the usage patterns, perceptions, and barriers to green space access among different youth demographics.

 



   


Sunday, August 18, 2024

A Global Perspective on Legal Definitions and Psychological Impacts of Terrorism

Abstract

There is a big debate regarding a clear and concise definition of Terrorism. Internationally there is hardly a clear consensus regarding Legal Definition of Terrorism. The definition of Terrorism varies from country to country, region to region. But it involves the unlawful use of threats, force, and violence by individuals or groups against people and property. The aim is to intimidate or coerce a government or civilians to achieve extreme political or social objectives. It can be seen as an Ideology with elements of violent acts, brutality against Civil Society caused due to wrong religious beliefs and threats. Terrorism is the illegitimate, premeditated violence or threat of violence by subnational groups against persons of property with the intent to coerce a government by installing fear amongst the populace (United States House of Representatives Permanent Select Committee on Intelligence (2002). Behind Terrorism there are extreme and radical political, religious and ideological beliefs. The main aim of this study is to explore how countries and international bodies define terrorism legally and what are the psychological impacts of terrorism on societies.  

 

Introduction

Terrorism has become a major issue due to various economic and political reasons. It can take many forms, but it is always rooted from extreme political, religious and ideological beliefs. Terrorism creates anxiety and fear within societies and countries, causing severe problems on multiple levels.

For an overall economy terrorism is devastating. Historical terrorist attacks such as 9/11, Air India Flight Bombing (1985) show us how dangerous and destructive terrorism can be. Terrorism is often linked to radicalism, an ideology that relies on force and violence to achieve its goals.  Several studies have shown that terrorist attacks increase CO2 emissions. And this increased co2 emissions directly or indirectly affects the ecological diversity including livestock, and overall biodiversity.

Moreover, terrorism reduces tourist attraction to affected countries and makes investors pessimistic about a nation's economy, leading to a decline in Foreign Direct Investments (FDIs) and Foreign Portfolio Investments (FPIs). For decades, terrorism has been a major problem at both national and international levels, causing severe damage to economies. It damages critical infrastructure, including computer systems, power plants, nuclear facilities, chemical factories, dams, bridges, pipelines, and water supply systems. This destruction lowers household and business confidence, resulting in reduced economic activity. This leads us to determine how to define terrorism in a more scientific and systematic manner. Different ideologies and motivations drive terrorism, but the damage it causes to society is vast. As mentioned earlier Terrorism can take various forms, each with distinct motivations, tactics, and objectives. It can be State-Sponsored Terrorism, Religious Terrorism, Ethno-Nationalist and Separatist Terrorism, Anarchist Terrorism, Environmental or Eco-Terrorism, Cyber terrorism, Narco-Terrorism, Bioterrorism, or Lone-Wolf Terrorism. Each type of terrorism presents different challenges for preventing, responding to, and mitigating attacks. Understanding these differences is key to defining Terrorism. The main aim of this study is to identify how terrorism is legally defined by different countries and international bodies and what are the psychological impacts of terrorism on societies.

How UN Defines Terrorism

The UN is the world's largest organization, consisting of 193 member countries. It was established after World War II with the primary purpose of protecting human rights and maintaining global peace and security. Organizations like the UN play a very significant role to combat terrorism. However The United Nations has struggled to create a universally accepted definition of terrorism. Although it recognizes terrorism as a global issue needing international cooperation, the UN has avoided directly defining it. Instead, it has used indirect methods to address the issue. It has adopted many resolutions for combating terrorism. The UN General Assembly Resolution 51/210 on “Declaration on Measures to Eliminate International Terrorism” in the year 1996 proposed a non-binding definition of terrorism by defining terrorism, as


 “The criminal acts intended or calculated to provoke a state of terror in the general public, a group of persons or particular persons for political purposes are in any circumstance unjustifiable, whatever the considerations of a political, philosophical, ideological, racial, ethnic, religious or any other nature that may be invoked to justify them”.

The 9/11 terrorist attack in the USA drew global leaders' attention to the issue of terrorism. Following this, the UN adopted a resolution to criminalize terrorism. In 2004, the UN Security Council, through Resolution 1566, aimed to define a terrorist act as:

“Criminal acts, including against civilians, committed with the intent to cause death or serious bodily injury, or taking of hostages, with the purpose to provoke a state of terror in the general public or in a group of persons or particular persons, intimidate a population or compel a government or an international organization to do or to abstain from doing any act, which constitute offenses within the scope of and as defined in the international conventions and protocols relating to terrorism, are under no circumstances justifiable by considerations of a political, philosophical, ideological, racial, ethnic, religious or other similar nature.”


The UN has left the task of defining terrorism to future conventions, considering it a complex issue that requires more discussion and agreement. The UN believes that defining terrorism is essential but challenging, and needs more time and consensus to address properly. The lack of a clear definition of terrorism has made it hard to fight terrorism worldwide.

How USA defines Terrorism:

The major terrorist attack of September 11, 2001, caused serious damage to the U.S. economy. The 9/11 terrorist attacks on the USA were a series of coordinated attacks carried out by the extremist group al-Qaeda on September 11, 2001. The attacks caused massive destruction and loss of life, Nearly 3,000 people were killed. The attacks resulted in significant economic impacts, including billions of dollars in damages, a stock market downturn, and a major impact on the airline and insurance industries. This shows how deadly Terrorism can become to the overall economy.

The United States defines terrorism in Title 22 of the U.S. Code as “politically motivated violence perpetrated against noncombatant targets in a clandestine manner, with the intention to influence an audience”.

The United States House of Representatives Permanent Select Committee on Intelligence (2002) defines Terrorism as: "Terrorism is the illegitimate, premeditated violence or threat of violence by subnational groups against persons of property with the intent to coerce a government by installing fear amongst the populace."

The United State Department (1984) defines terrorism as: "Terrorism means premeditated, politically motivated violence perpetrated against noncombatant targets by subnational groups or clandestine agents, usually intended to influence an audience."

FBI (1999): "Terrorism is defined as the unlawful use, or threatened use, of force or violence by a group or individual... committed against persons or property to intimidate or coerce a government, the civilian population, or any segment thereof, in furtherance of political or social objectives."

How European Union defines Terrorism

The European Union is an international organization dedicated to economic integration and the promotion of human and economic freedoms. In 2004, the European Council adopted the Declaration on Combating Terrorism, which outlined fifty-seven measures. This was followed in 2005 by the Strategy for the Fight Against Terrorism, titled "Prevention, Protection, Disruption, and Response." In 2017, the European Parliament and European Council adopted the Directive on Combating Terrorism, with a key focus on providing assistance to victims of terrorism. The introductory articles of this directive define a "terrorist group" as a structured group of two or more individuals, established over a prolonged period and operating in an organized manner to commit terrorism-related offenses. A "structured group" is characterized as an intentionally organized entity, not formed by chance, with the purpose of committing a crime.

Previously, the EU lacked clear legislation defining terrorism, and only a few Member States had partial and inconsistent provisions. Consequently, European officials initiated efforts to establish binding regulations applicable to all Member States. The EU has attempted to provide a definition of terrorism through its categorization.

The European Union defines terrorism as actions by an individual or group aimed at: 1) seriously intimidating a population, 2) unduly compelling a government or an international organization to perform or abstain from performing any act, or 3) seriously destabilizing or destroying the fundamental political, constitutional, economic, or social structures of a country or an international organization (European Union, 2021).

How India defines Terrorism

Terrorism has a longstanding history in India, where both global and national terrorist groups are active, causing extensive damage to national property, killing thousands of innocent civilians, and significantly hindering developmental activities in the affected regions. Consequently, internal security is compromised due to the actions of religious and communal extremists, Jihadi terrorists, and Naxalites. The Naxalite insurgency has already spread to India's neighboring country, Nepal. In India, states such as Andhra Pradesh, Bihar, Chhattisgarh, Jharkhand, Karnataka, Orissa, Maharashtra, Uttar Pradesh, and West Bengal are severely impacted by Naxalite violence. Today, the Naxalites are more organized than they were 50 years ago.India defines terrorism as “acts of violence carried out by a group of individuals that endanger human lives and threaten fundamental freedoms, with effects that are not confined to a single state”.

Psychological impacts of terrorism on societies

Terrorism has a serious psychological impact on societies. People who witness terrorist attacks are at high risk for stress and behavioral changes. These attacks cause significant physical and psychological effects, altering a society's sense of control, values, thoughts, attitudes, and assumptions, leading to reduced economic freedom and disrupting daily life (Zeidner, 2006).Exposure to terrorism can cause severe psychological symptoms such as anger, rejection, lack of focus, sleep disturbances, and depression. Additionally, feelings of sadness, worry, anxiety, and increased smoking and alcohol consumption are common (Nandi et al., 2005). People may feel insecure and lose their sense of trust and safety (Waters, 2002). Immediately after terrorist acts, there is a high incidence of PTSD, anxiety, and depression symptoms (Brewin et al., 2000; Shalev and Freedman, 2005). PTSD is the most common disorder after a traumatic event. PTSD symptoms fall into three categories: recurrent symptoms like nightmares and flashbacks, avoidance symptoms like steering clear of places or events related to the trauma or feeling emotionally numb, and over-arousal symptoms like difficulty concentrating or sleeping and an exaggerated startle response. Studies show that PTSD, often accompanied by other behavioral and health issues, is the most likely outcome after terrorist incidents (Galea, Nandi, and Vlahov, 2005). Additionally, two-thirds of those directly affected by terrorism experience some level of psychological impairment (Beaton and Murphy, 2002.Terrorist attacks increase negative stereotypes towards Muslims. These lead to communal violence in society, ultimately causing social disorder. It also reduces tolerance towards members of external groups.Terrorism can cause trauma in individuals who have lost loved ones, potentially leading to post-traumatic stress disorder (PTSD), a long-term psychological condition. Additionally, it affects the general population by diminishing the sense of security and causing the loss of property and loved ones.

Individuals who have experienced trauma often show stress reactions for several weeks, which can be categorized into four types (Mathewson, 2004):

Emotional reactions: Temporary fear, shock, denial, sadness, anger, resentment, guilt, shame, desperation, and a sense of separation from important people in their lives.

Cognitive reactions: Confusion, indecision, anxiety, disorientation, difficulty remembering and concentrating, a shortened attention span, self-blame, and intrusive memories.

Physical reactions: Tension, nausea, physical pain, irritability, drowsiness, insomnia, rapid breathing, sweating, being easily startled, and experiencing panic attacks.

Interpersonal reactions: Distrust, irritability, withdrawal, feelings of abandonment or rejection, being judgmental, and becoming over-controlling or distant.

Sometimes People who are falsely accused of terrorism face severe and multifaceted impacts. Being falsely accused of terrorism can lead to severe emotional distress, including anxiety, depression, and PTSD, along with constant fear and paranoia. Public accusations often result in shame, humiliation, and damage to one's self-esteem. Socially, individuals may face stigmatization, ostracization, and isolation, while their reputation suffers irreparably. Economically, false accusations can lead to job loss, financial strain from legal fees, and hindered career opportunities. Legally, individuals may endure prolonged battles to clear their name, loss of civil liberties, and a lasting criminal record. Family relationships are strained, impacting children and placing heavy burdens on support networks. Community and societal impacts include distrust in the legal system, increased racial and ethnic tensions, and mobilization for advocacy and policy changes.This ultimately disturbs social order within society. This causes less trust within the system .

Conclusion:

Terrorism has been a major domestic and international problem, causing serious damage to the overall economy. Although different countries define terrorism differently, there are commonalities among these definitions. This study shows that there is hardly a clear consensus on the definition of terrorism among countries. There is no universal definition provided by the UN, and each country has its own way of defining terrorism. From the mentioned definitions, we can infer that terrorism is a violent act organized by an individual or group to cause tension and threats within society, aiming to fulfill their extreme radical political , religious and ideological beliefs. 

Terrorism has a severe psychological impact on society, causing fear, tension, hopelessness, and reduced economic freedom. The serious psychological effects of terrorism demand greater prevention measures when formulating policies to counter terrorism. Sometimes individuals are falsely accused of terrorism, causing significant damage to their lives. There have been many cases where individuals were framed as terrorists but were innocent. The impacts of false accusations of terrorism are profound and long-lasting.

There is a need to universally define terrorism to reduce the falsification of terrorism charges against people and mitigate the psychological impact on society. Further studies require scientific and empirical evidence and research to study terrorism more effectively.

 

Thursday, March 16, 2023

Case Study : How Can a Wellness Technology Company Play It Smart

About Bellabeat


Bellabeat is a high-tech manufacturer of health-focused products for women. Bellabeat is a successful small company, but they have the potential to become a larger player in the global smart device market. Collecting data on activity, sleep, stress, and reproductive health has allowed Bellabeat to empower women with knowledge about their health and habits. Since it was founded in 2013, Bellabeat has grown rapidly and quickly, positioned itself as a tech-driven wellness company for women. By 2016, Bellabeat had opened offices around the world and launched multiple products. Bellabeat products became available through a growing number of online retailers in addition to their own e-commerce channel on their website. 

Bellabeat Products


Bellabeat app: The Bellabeat app provides users with health data related to their activity, sleep, stress, menstrual cycle, and mindfulness habits. This data can help users better understand their current habits and make healthy decisions. The Bella Beat app connects to their line of smart wellness products. 

Leaf: Bella Beat’s classic wellness tracker can be worn as a bracelet, necklace, or clip. The Leaf tracker connects to the Bella Beat app to track activity, sleep, and stress. 

Time: This wellness watch combines the timeless look of a classic timepiece with smart technology to track user activity, sleep, and stress. The Time watch connects to the Bella Beat app to provides insights of daily wellness. 

Spring: This is a water bottle that tracks daily water intake using smart technology to ensure that user are appropriately hydrated throughout the day. The spring bottle connects to the Bella Beat app to track user hydration levels

Bellabeat membership
Bellabeat also offers a subscription-based membership program for users. Membership gives users 24/7 access to fully personalized guidance on nutrition, activity, sleep, health , beauty and mindfulness based on their lifestyle and goals.

Business Task:

Too analyze smart device usage data in order to gain insight into how consumers use non-Bellabeat smart devices. Then selecting  Bellabeat product to apply these insights.

Key Stakeholders


Urška Sršen: Bellabeat’s cofounder and Chief Creative Officer.

Sando Mur: Mathematician and Bellabeat’s cofounder; key member of the Bellabeat executive team.

Bellabeat marketing analytics team: A team of data analysts responsible for collecting, analyzing, and reporting data that helps guide Bellabeat’s marketing strategy.

Data Analysis Process


Ask 


1. What are some trends in smart device usage? 
2. How could these trends apply to Bellabeat customers? 
3. How could these trends help influence Bellabeat marketing strategy? 


Prepare

I have used public data that explores smart device users’ daily habits. It is Fitbit Fitness Tracker Data (CC0: Public Domain, dataset made available through Mobius): This Kaggle data set contains personal fitness tracker from thirty Fitbit users. Thirty eligible Fitbit users consented to the submission of personal tracker data, including minute-level output for physical activity, heart rate, and sleep monitoring. It includes information about activity, steps, weight and heart rate that can be used to explore user habits.

Process

The Zip files were downloaded locally and copy was stored in a new folder named Bellabeat project  with a csv extension.
The csv files were opened using Excel and copy of relevant datasets was stored in desktop as folder. Then each folder was inspected.
Activity, calories, intensities, steps  datasets have no duplicates. Sleep and heart datasets have duplicates that were removed. Weight dataset have no duplicates but some manual reports in this data are false as a result false reports were filtered out, new column USERTYPE was created based on BMI classification.

 R STUDIO Codes 

# installing packages
install.packages("tidyverse")
install.packages("lubridate")
install.packages("dplyr")
install.packages("ggplot2")
install.packages("tidyr")
install.packages("here") 
install.packages("skimr") 
install.packages("janitor")

# loading libraries 
library(tidyverse)
library(lubridate)
library(dplyr)
library(ggplot2)
library(tidyr)
library(here)
library(skimr)
library(janitor)

# Working Directory 
setwd("C:/Users/H/Desktop")
> d_Activity <- read.csv("daily_Activity.csv")           # 1
> d_calories <- read.csv("daily_calories.csv")            # 2
> d_intensities <- read.csv("daily_intensities.csv")    # 3
> d_steps <- read.csv("daily_steps.csv")                    # 4
> d_weight <- read.csv("cleanbmi.csv")                    #5
> d_sleep <-  read.csv("cleansleep.csv")                   #6
 

Analyse


# working with d_sleep dataset
> str(d_sleep)
'data.frame': 410 obs. of  7 variables:
 $ Id                : num  1.5e+09 1.5e+09 1.5e+09 1.5e+09 1.5e+09 ...
 $ SleepDay          : chr  "04/12/2016 00:00" "4/13/2016 12:00:00 AM" "4/15/2016 12:00:00 AM" "4/16/2016 12:00:00 AM" ...
 $ TotalSleepRecords : int  1 2 1 2 1 1 1 1 1 1 ...
 $ TotalMinutesAsleep: int  327 384 412 340 700 304 360 325 361 430 ...
 $ TotalSleepHours   : chr  "5:27" "6:24" "6:52" "5:40" ...
 $ TotalTimeInBed    : int  346 407 442 367 712 320 377 364 384 449 ...
 $ TotalBedHours     : chr  "5:46" "6:47" "7:22" "6:07" ...
> summary(d_sleep)
       Id              SleepDay         TotalSleepRecords TotalMinutesAsleep
 Min.   :1.504e+09   Length:410         Min.   :1.00      Min.   : 58.0     
 1st Qu.:3.977e+09   Class :character   1st Qu.:1.00      1st Qu.:361.0     
 Median :4.703e+09   Mode  :character   Median :1.00      Median :432.5     
 Mean   :4.995e+09                      Mean   :1.12      Mean   :419.2     
 3rd Qu.:6.962e+09                      3rd Qu.:1.00      3rd Qu.:490.0     
 Max.   :8.792e+09                      Max.   :3.00      Max.   :796.0     
 TotalSleepHours    TotalTimeInBed  TotalBedHours     
 Length:410         Min.   : 61.0   Length:410        
 Class :character   1st Qu.:403.8   Class :character  
 Mode  :character   Median :463.0   Mode  :character  
                    Mean   :458.5                     
                    3rd Qu.:526.0                     
                    Max.   :961.0                     
> n_distinct(d_sleep)
[1] 410
# creating usertype based on TotalMinutesAsleep
> user<-d_sleep %>% 
+   mutate(user_type=case_when(
+   TotalMinutesAsleep <360 ~ "SSS", 
+   TotalMinutesAsleep >=360 & TotalMinutesAsleep <540 ~ "NORMAL", 
+   TotalMinutesAsleep >540 ~ "OVERSLEEP"
+   ))
# convert user_type chr to factor user_type
d_user <-mutate(user,user_type=as.factor(user_type))
glimpse(d_user)
Rows: 410
Columns: 8
$ Id                 <dbl> 1503960366, 1503960366, 1503960366, 1503960366, 15039…
$ SleepDay           <chr> "04/12/2016 00:00", "4/13/2016 12:00:00 AM", "4/15/20…
$ TotalSleepRecords  <int> 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,…
$ TotalMinutesAsleep <int> 327, 384, 412, 340, 700, 304, 360, 325, 361, 430, 277…
$ TotalSleepHours    <chr> "5:27", "6:24", "6:52", "5:40", "11:40", "5:04", "6:0…
$ TotalTimeInBed     <int> 346, 407, 442, 367, 712, 320, 377, 364, 384, 449, 323…
$ TotalBedHours      <chr> "5:46", "6:47", "7:22", "6:07", "11:52", "5:20", "6:1…
$ user_type          <fct> SSS, NORMAL, NORMAL, SSS, OVERSLEEP


ggplot(data = d_user)+
  geom_smooth(mapping = aes(x=TotalMinutesAsleep,y=TotalTimeInBed))+
  geom_point(mapping = aes(x=TotalMinutesAsleep,y=TotalTimeInBed,color="orange"))

d_user %>%
  group_by(user_type) %>%
  summarise(total = n()) %>%
  mutate(totals = sum(total)) %>%
  group_by(user_type) %>%
  summarise(Percent = total / totals) %>%
  ggplot(aes(user_type,y=Percent, fill=user_type)) +
  geom_col()+
  scale_y_continuous(labels = scales::percent) +
  theme(legend.position="none") +
  labs(title="Usertype", x=NULL) +
  theme(legend.position="none", text = element_text(size = 20),plot.title = element_text(hjust = 0.5))



 # Working with weight data
> str(d_weight)
'data.frame': 41 obs. of  6 variables:
 $ Id            : num  1.50e+09 1.50e+09 2.87e+09 2.87e+09 4.32e+09 ...
 $ WeightKg      : num  52.6 52.6 56.7 57.3 72.4 ...
 $ WeightPounds  : num  116 116 125 126 160 ...
 $ BMI           : num  22.6 22.6 21.5 21.7 27.5 ...
 $ USERTYPE      : chr  "normal" "normal" "normal" "normal" ...
 $ IsManualReport: logi  TRUE TRUE TRUE TRUE TRUE TRUE ...
> summary(d_weight)
       Id               WeightKg      WeightPounds        BMI       
 Min.   :1.504e+09   Min.   :52.60   Min.   :116.0   Min.   :21.45  
 1st Qu.:4.559e+09   1st Qu.:61.20   1st Qu.:134.9   1st Qu.:23.89  
 Median :6.962e+09   Median :61.50   Median :135.6   Median :24.00  
 Mean   :6.074e+09   Mean   :62.41   Mean   :137.6   Mean   :24.39  
 3rd Qu.:6.962e+09   3rd Qu.:62.10   3rd Qu.:136.9   3rd Qu.:24.24  
 Max.   :6.962e+09   Max.   :72.40   Max.   :159.6   Max.   :27.46  
   USERTYPE         IsManualReport
 Length:41          Mode:logical  
 Class :character   TRUE:41       
 Mode  :character                 
                                                          
> n_distinct(d_weight)
[1] 22
> #change USERTYPE chr.to factor 
> d_w <-mutate(d_weight,USERTYPE=as.factor(USERTYPE))
> glimpse(d_w)
Rows: 41
Columns: 6
$ Id             <dbl> 1503960366, 1503960366, 2873212765, 2873212765, 431970357…
$ WeightKg       <dbl> 52.6, 52.6, 56.7, 57.3, 72.4, 72.3, 69.7, 70.3, 69.9, 69.…
$ WeightPounds   <dbl> 115.9631, 115.9631, 125.0021, 126.3249, 159.6147, 159.394…
$ BMI            <dbl> 22.65, 22.65, 21.45, 21.69, 27.45, 27.38, 27.25, 27.46, 2…
$ USERTYPE       <fct> normal, normal, normal, normal, overweight, overweight, o…
$ IsManualReport <lgl> TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRU…

ggplot(data = d_w)+
  geom_smooth(mapping = aes(x=WeightKg,y=BMI))+
  geom_point(mapping = aes(x=WeightKg,y=BMI,color="orange"))

)
d_w %>%
    group_by(USERTYPE) %>%
    summarise(total = n()) %>%
    mutate(totals = sum(total)) %>%
    group_by(USERTYPE) %>%
    summarise(Total_Percent = total / totals) %>%
    ggplot(aes(USERTYPE,y=Total_Percent, fill=USERTYPE)) +
    geom_col()+
    scale_y_continuous(labels = scales::percent) +
    theme(legend.position="none") +
    labs(title="USERTYPE", x=NULL) +
    theme(legend.position="none", text = element_text(size = 20),plot.title = element_text(hjust = 0.5))


# working with activity, calories, intensities, steps datasets
> #How many unique participants are there in each dataframe? 
> n_distinct(d_Activity$Id)
[1] 33
> n_distinct(d_calories$Id)
[1] 33
> n_distinct(d_intensities$Id)
[1] 33
> n_distinct(d_steps$Id)
[1] 33
> #How many observations are there in each dataframe?
> nrow(d_Activity)
[1] 940
> nrow(d_calories)
[1] 940
> nrow(d_intensities)
[1] 940
> nrow(d_steps)
[1] 940
str(d_Activity)
'data.frame': 940 obs. of  15 variables:
 $ Id                      : num  1.5e+09 1.5e+09 1.5e+09 1.5e+09 1.5e+09 ...
 $ ActivityDate            : chr  "04/12/2016" "4/13/2016" "4/14/2016" "4/15/2016" ...
 $ TotalSteps              : int  13162 10735 10460 9762 12669 9705 13019 15506 10544 9819 ...
 $ TotalDistance           : num  8.5 6.97 6.74 6.28 8.16 ...
 $ TrackerDistance         : num  8.5 6.97 6.74 6.28 8.16 ...
 $ LoggedActivitiesDistance: num  0 0 0 0 0 0 0 0 0 0 ...
 $ VeryActiveDistance      : num  1.88 1.57 2.44 2.14 2.71 ...
 $ ModeratelyActiveDistance: num  0.55 0.69 0.4 1.26 0.41 ...
 $ LightActiveDistance     : num  6.06 4.71 3.91 2.83 5.04 ...
 $ SedentaryActiveDistance : num  0 0 0 0 0 0 0 0 0 0 ...
 $ VeryActiveMinutes       : int  25 21 30 29 36 38 42 50 28 19 ...
 $ FairlyActiveMinutes     : int  13 19 11 34 10 20 16 31 12 8 ...
 $ LightlyActiveMinutes    : int  328 217 181 209 221 164 233 264 205 211 ...
 $ SedentaryMinutes        : int  728 776 1218 726 773 539 1149 775 818 838 ...
 $ Calories                : int  1985 1797 1776 1745 1863 1728 1921 2035 1786 1775 ...
> str(d_calories)
'data.frame': 940 obs. of  3 variables:
 $ Id         : num  1.5e+09 1.5e+09 1.5e+09 1.5e+09 1.5e+09 ...
 $ ActivityDay: chr  "4/12/2016" "4/13/2016" "4/14/2016" "4/15/2016" ...
 $ Calories   : int  1985 1797 1776 1745 1863 1728 1921 2035 1786 1775 ...
> str(d_intensities)
'data.frame': 940 obs. of  10 variables:
 $ Id                      : num  1.5e+09 1.5e+09 1.5e+09 1.5e+09 1.5e+09 ...
 $ ActivityDay             : chr  "04/12/2016" "4/13/2016" "4/14/2016" "4/15/2016" ...
 $ SedentaryMinutes        : int  728 776 1218 726 773 539 1149 775 818 838 ...
 $ LightlyActiveMinutes    : int  328 217 181 209 221 164 233 264 205 211 ...
 $ FairlyActiveMinutes     : int  13 19 11 34 10 20 16 31 12 8 ...
 $ VeryActiveMinutes       : int  25 21 30 29 36 38 42 50 28 19 ...
 $ SedentaryActiveDistance : num  0 0 0 0 0 0 0 0 0 0 ...
 $ LightActiveDistance     : num  6.06 4.71 3.91 2.83 5.04 ...
 $ ModeratelyActiveDistance: num  0.55 0.69 0.4 1.26 0.41 ...
 $ VeryActiveDistance      : num  1.88 1.57 2.44 2.14 2.71 ...
> str(d_steps)
'data.frame': 940 obs. of  3 variables:
 $ Id         : num  1.5e+09 1.5e+09 1.5e+09 1.5e+09 1.5e+09 ...
 $ ActivityDay: chr  "04/12/2016" "4/13/2016" "4/14/2016" "4/15/2016" ...
 $ StepTotal  : int  13162 10735 10460 9762 12669 9705 13019 15506 10544 9819 ...
> #all datasets had  the 'Id' field common.
> #all dataets expect for d_activity have ActivityDay common.We can rename the ActivityDate to AcitivityDay

# rename d_Activity data ActivityDate col to ActivityDay col
d_Activity <- rename( d_Activity,
                      ActivityDay = ActivityDate)
# now we can merge 4 dataset by Id and ActivityDay                                                                                         
>    merge_1 <- merge(d_Activity, d_calories, by= c("Id", "ActivityDay"))
>    merge_2 <- merge(d_intensities,d_steps, by= c("Id","ActivityDay"))
>    All_merge <- merge(merge_1, merge_2, by = c("Id","ActivityDay","SedentaryMinutes",
+                                                "LightlyActiveMinutes","FairlyActiveMinutes",
+                                                "VeryActiveMinutes", "SedentaryActiveDistance", 
+                                                "LightActiveDistance", "ModeratelyActiveDistance", 
+                                                "VeryActiveDistance"))

glimpse(All_merge)
Rows: 578
Columns: 17
$ Id                       <dbl> 1503960366, 1503960366, 1503960366, 1503960366,…
$ ActivityDay              <chr> "4/13/2016", "4/14/2016", "4/15/2016", "4/16/20…
$ SedentaryMinutes         <int> 776, 1218, 726, 773, 539, 1149, 775, 818, 838, …
$ LightlyActiveMinutes     <int> 217, 181, 209, 221, 164, 233, 264, 205, 211, 13…
$ FairlyActiveMinutes      <int> 19, 11, 34, 10, 20, 16, 31, 12, 8, 27, 21, 5, 1…
$ VeryActiveMinutes        <int> 21, 30, 29, 36, 38, 42, 50, 28, 19, 66, 41, 39,…
$ SedentaryActiveDistance  <dbl> 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00,…
$ LightActiveDistance      <dbl> 4.71, 3.91, 2.83, 5.04, 2.51, 4.71, 5.03, 4.24,…
$ ModeratelyActiveDistance <dbl> 0.69, 0.40, 1.26, 0.41, 0.78, 0.64, 1.32, 0.48,…
$ VeryActiveDistance       <dbl> 1.57, 2.44, 2.14, 2.71, 3.19, 3.25, 3.53, 1.96,…
$ TotalSteps               <int> 10735, 10460, 9762, 12669, 9705, 13019, 15506, …
$ TotalDistance            <dbl> 6.97, 6.74, 6.28, 8.16, 6.48, 8.59, 9.88, 6.68,…
$ TrackerDistance          <dbl> 6.97, 6.74, 6.28, 8.16, 6.48, 8.59, 9.88, 6.68,…
$ LoggedActivitiesDistance <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,…
$ Calories.x               <int> 1797, 1776, 1745, 1863, 1728, 1921, 2035, 1786,…
$ Calories.y               <int> 1797, 1776, 1745, 1863, 1728, 1921, 2035, 1786,…
$ StepTotal                <int> 10735, 10460, 9762, 12669, 9705, 13019, 15506, …

> #  convert ActivityDay chr to date format
>    d_merge <- mutate(All_merge, ActivityDay = as.Date(ActivityDay, format= "%m/%d/%Y"))
>    class(Date$ActivityDay)
[1] "Date"
> #  convert date to weekday 
  d_merge$Day <- weekdays(d_merge$ActivityDay)
  d_merge$Day <- factor(d_merge$Day,levels = c('Sunday','Monday',
              'Tuesday','Wednesday','Thursday','Friday','Saturday'))

glimpse(d_merge)
Rows: 578
Columns: 18
$ Id                       <dbl> 1503960366, 1503960366, 1503960366, 1503960366,…
$ ActivityDay              <date> 2016-04-13, 2016-04-14, 2016-04-15, 2016-04-16…
$ SedentaryMinutes         <int> 776, 1218, 726, 773, 539, 1149, 775, 818, 838, …
$ LightlyActiveMinutes     <int> 217, 181, 209, 221, 164, 233, 264, 205, 211, 13…
$ FairlyActiveMinutes      <int> 19, 11, 34, 10, 20, 16, 31, 12, 8, 27, 21, 5, 1…
$ VeryActiveMinutes        <int> 21, 30, 29, 36, 38, 42, 50, 28, 19, 66, 41, 39,…
$ SedentaryActiveDistance  <dbl> 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00,…
$ LightActiveDistance      <dbl> 4.71, 3.91, 2.83, 5.04, 2.51, 4.71, 5.03, 4.24,…
$ ModeratelyActiveDistance <dbl> 0.69, 0.40, 1.26, 0.41, 0.78, 0.64, 1.32, 0.48,…
$ VeryActiveDistance       <dbl> 1.57, 2.44, 2.14, 2.71, 3.19, 3.25, 3.53, 1.96,…
$ TotalSteps               <int> 10735, 10460, 9762, 12669, 9705, 13019, 15506, …
$ TotalDistance            <dbl> 6.97, 6.74, 6.28, 8.16, 6.48, 8.59, 9.88, 6.68,…
$ TrackerDistance          <dbl> 6.97, 6.74, 6.28, 8.16, 6.48, 8.59, 9.88, 6.68,…
$ LoggedActivitiesDistance <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,…
$ Calories.x               <int> 1797, 1776, 1745, 1863, 1728, 1921, 2035, 1786,…
$ Calories.y               <int> 1797, 1776, 1745, 1863, 1728, 1921, 2035, 1786,…
$ StepTotal                <int> 10735, 10460, 9762, 12669, 9705, 13019, 15506, …
$ Day                      <fct> Wednesday, Thursday, Friday, Saturday, Sunday, …

# Summary statistics
>   n_distinct(d_merge$Id)
[1] 33
>   nrow(d_merge)
[1] 578
>  summary(d_merge)
       Id             ActivityDay         SedentaryMinutes LightlyActiveMinutes
 Min.   :1.504e+09   Min.   :2016-04-13   Min.   :   2     Min.   :  0.0       
 1st Qu.:2.347e+09   1st Qu.:2016-04-17   1st Qu.: 738     1st Qu.:135.0       
 Median :4.445e+09   Median :2016-04-21   Median :1070     Median :202.5       
 Mean   :4.882e+09   Mean   :2016-04-21   Mean   :1004     Mean   :198.3       
 3rd Qu.:6.962e+09   3rd Qu.:2016-04-26   3rd Qu.:1232     3rd Qu.:271.0       
 Max.   :8.878e+09   Max.   :2016-04-30   Max.   :1440     Max.   :518.0       
                                                                               
 FairlyActiveMinutes VeryActiveMinutes SedentaryActiveDistance
 Min.   :  0.00      Min.   :  0.00    Min.   :0.000000       
 1st Qu.:  0.00      1st Qu.:  0.00    1st Qu.:0.000000       
 Median :  7.00      Median :  5.00    Median :0.000000       
 Mean   : 13.73      Mean   : 22.06    Mean   :0.001609       
 3rd Qu.: 20.00      3rd Qu.: 31.75    3rd Qu.:0.000000       
 Max.   :113.00      Max.   :210.00    Max.   :0.110000       
                                                              
 LightActiveDistance ModeratelyActiveDistance VeryActiveDistance   TotalSteps   
 Min.   : 0.000      Min.   :0.0000           Min.   : 0.000     Min.   :    0  
 1st Qu.: 2.002      1st Qu.:0.0000           1st Qu.: 0.000     1st Qu.: 3992  
 Median : 3.430      Median :0.2600           Median : 0.270     Median : 7640  
 Mean   : 3.425      Mean   :0.5652           Mean   : 1.552     Mean   : 7787  
 3rd Qu.: 4.827      3rd Qu.:0.8175           3rd Qu.: 2.150     3rd Qu.:10778  
 Max.   :10.710      Max.   :5.1200           Max.   :21.660     Max.   :29326  
                                                                                
 TotalDistance    TrackerDistance  LoggedActivitiesDistance   Calories.x  
 Min.   : 0.000   Min.   : 0.000   Min.   :0.0000           Min.   :   0  
 1st Qu.: 2.683   1st Qu.: 2.683   1st Qu.:0.0000           1st Qu.:1862  
 Median : 5.335   Median : 5.335   Median :0.0000           Median :2138  
 Mean   : 5.592   Mean   : 5.575   Mean   :0.1101           Mean   :2340  
 3rd Qu.: 7.728   3rd Qu.: 7.718   3rd Qu.:0.0000           3rd Qu.:2794  
 Max.   :26.720   Max.   :26.720   Max.   :4.9421           Max.   :4900  
                                                                          
   Calories.y     StepTotal            Day    
 Min.   :   0   Min.   :    0   Sunday   :64  
 1st Qu.:1862   1st Qu.: 3992   Monday   :64  
 Median :2138   Median : 7640   Tuesday  :64  
 Mean   :2340   Mean   : 7787   Wednesday:97  
 3rd Qu.:2794   3rd Qu.:10778   Thursday :97  
 Max.   :4900   Max.   :29326   Friday   :97  
                                Saturday :95  
#Plotting a few explorations for d_merge dataframe
#Relation between StepTotal and TotalDistance # positive relation
  ggplot(data=d_merge)+
    geom_smooth (mapping = aes(x=StepTotal, y=TotalDistance)) +
    geom_point(mapping= aes(x=StepTotal,y=TotalDistance, color="orange"))


# Relation between Day and TotalDistance
    ggplot(data = d_merge) + geom_smooth(mapping = aes(x=TotalDistance,y=Day,color="orange"))


#grouping of  user into four categories based on  their activity distance 
  data_by_usertype_d <- d_merge %>%
    summarise(
      user_type = factor(case_when(
        SedentaryActiveDistance > mean(SedentaryActiveDistance) & LightActiveDistance < mean(LightActiveDistance) & ModeratelyActiveDistance < mean(ModeratelyActiveDistance) & VeryActiveDistance < mean(VeryActiveDistance) ~ "Sedentary",
        SedentaryActiveDistance < mean(SedentaryActiveDistance) & LightActiveDistance > mean(LightActiveDistance) & ModeratelyActiveDistance < mean(ModeratelyActiveDistance) & VeryActiveDistance< mean(VeryActiveDistance) ~ "Light",
        SedentaryActiveDistance < mean(SedentaryActiveDistance) & LightActiveDistance < mean(LightActiveDistance) & ModeratelyActiveDistance > mean(ModeratelyActiveDistance) & VeryActiveDistance < mean(VeryActiveDistance) ~ "Moderate",
        SedentaryActiveDistance < mean(SedentaryActiveDistance) & LightActiveDistance < mean(LightActiveDistance) & ModeratelyActiveDistance < mean(ModeratelyActiveDistance) & VeryActiveDistance > mean(VeryActiveDistance) ~ "Very",
      ),levels=c("Sedentary", "Light", "Moderate", "Very")), Calories.x, .group=Id) %>%
    drop_na()
# viz
data_by_usertype_d %>%
    group_by(user_type) %>%
    summarise(total = n()) %>%
    mutate(totals = sum(total)) %>%
    group_by(user_type) %>%
    summarise(Total_Percent = total / totals) %>%
    ggplot(aes(user_type,y=Total_Percent, fill=user_type)) +
    geom_col()+
    scale_y_continuous(labels = scales::percent) +
    theme(legend.position="none") +
    labs(title="User Type Distridution", x=NULL) +
    theme(legend.position="none", text = element_text(size = 20),plot.title = element_text(hjust = 0.5))


Share 

Here is the link of Presentation

Act 


Top Three Recommendations

1. Motivate users to walk farther, giving guidance establishing a healthy sleep pattern.

2. Provide rewards and gifts for people that reach their daily goals and recommended diets.

3. Making the leaf product appealing and comfy so that women can wear it in many settings.



Limitation

The information is applicable to small numbers of  distinct users we need large sample data. 

Demographic information like Age, Gender, Occupation are missing we need that in order to get better understanding.

False BMI manual reports were left out . We need True BMI  manual Reports 



Malnutrition and Cognitive Development: How Early Nutrition Shapes Educational Outcomes – Evidence from Global Studies

  image source: child rights and you  Introduction Malnutrition is a condition where body is either undernourished or over nourished resulti...