Answered step by step
Verified Expert Solution
Question
1 Approved Answer
What is the average value of ftmpop among countries with a high level of political freedoms? How would a code in R look like to
- What is the average value of ftmpop among countries with a high level of political freedoms?
How would a code in R look like to find that result. would it be like this list = c(2, 4, 4, 4, 5, 5, 7, 9)
but I wouldn't know how to input the variables to make a code like that.
The data file terrorism.csy, contains the data for fatalities from terrorist incidents in countries from 1998 to 2004. This problem examines the determinants of terrorism. Below is a description of the variables included in the dataset. Each of the observations in the data set is a country. Variable Description fimpop Number of fatalities from terrorist incidents in the country, 1998-2004, per million population (U.S. State Department) gappc GDP per capita in the country in thousands of dollars (World Bank) lackpfhigh = 1 if the country has limited political freedoms and 0 if the country does not have limited political freedoms language Index of linguistic fractionalization (0 to 1 scale, 0 = no fractionalization) ethnic Index of ethnic fractionalization (0 to 1 scale, 0 = no fractionalization) religion Index of religious fractionalization (0 to 1 scale, 0 = no fractionalization) mideast, latinam, westeurope, = 1 if the country is in the indicated region, = 0 otherwise easteurope, africa, eastasiaStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started