countryfertility where time are abovestart 1 return

# Countryfertility where time are abovestart 1 return

This preview shows page 11 - 13 out of 13 pages.

country_fertility . where( 'time' , are . above(start -1 )) return country_fertility_after_start . drop( 'geo' ) . relabeled( 'children _per_woman_total_fertility' , 'Children per woman' ) . relabeled( 'time' , 'Yea r' ) bangladesh_code = "bgd" fertility_over_time(bangladesh_code, 1970 ) . plot( 0 , 1 ) In [32]: ok . grade( "q1_5" ); Question 6. Assuming everything else is constant, does the graph above help directly explain why the population growth rate decreased from 1985 to 2010 in Bangladesh? Why or why not? Write your answer here, replacing this text. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Running tests --------------------------------------------------------------------- Test summary Passed: 3 Failed: 0 [ooooooooook] 100.0% passed
7/11/2019 project1 12/20 It has been observed that lower fertility rates are often associated with lower child mortality rates. The link has been attributed to family planning: if parents can expect that their children will all survive into adulthood, then they will choose to have fewer children. We can see if this association is evident in Bangladesh by plotting the relationship between total fertility rate and child mortality rate per 1000 children () . Question 7. Using both the fertility and child_mortality tables, draw a scatter diagram that has Bangladesh's total fertility on the horizontal axis and its child mortality on the vertical axis with one point for each year, starting with 1970. The expression that draws the scatter diagram is provided for you; please don't change it. Instead, create a table called post_1969_fertility_and_child_mortality with the appropriate column labels and data in order to generate the chart correctly. Use the label Children per woman to describe total fertility and the label Child deaths per 1000 born to describe child mortality. In [27]: bgd_fertility = ... bgd_child_mortality = ... fertility_and_child_mortality = ... post_1969_fertility_and_child_mortality = ... post_1969_fertility_and_child_mortality . scatter( 'Children per woman' , 'C hild deaths per 1000 born' ) # You should *not* change this line. In [ ]: ok . grade( "q1_7" ); Question 8. In one or two sentences, describe the association (if any) that is illustrated by this scatter diagram. Does the diagram show that reduced child mortality causes parents to choose to have fewer children? Write your answer here, replacing this text. The World The change observed in Bangladesh since 1970 can also be observed in many other developing countries: health services improve, life expectancy increases, and child mortality decreases. At the same time, the fertility rate often plummets, and so the population growth rate decreases despite increasing longevity. Run the cell below to generate two overlaid histograms, one for 1960 and one for 2010, that show the distributions of total fertility rates for these two years among all 201 countries in the fertility table.
7/11/2019 project1 13/20 In [36]: Table() . with_columns( '1960' , fertility . where( 'time' , 1960 ) . column( 2 ), '2010' , fertility . where( 'time' , 2010 ) . column( 2 ) ) . hist(bins = np . arange( 0 , 10 , 0.5 ), unit = 'child per woman' ) _ = plots . xlabel( 'Children per woman' ) _ = plots . ylabel( 'Percent per children per woman' ) _ = plots . xticks(np .

#### You've reached the end of your free preview.

Want to read all 13 pages?