Calculate the centroid of birth locations for people born

Assignment Help Applied Statistics
Reference no: EM131230224

Hi, I'm very new on STATA programming so I hope you can give me step by step solution using the STATA and don't forget to answer each part of the question. Here it is:

Download this database: https://drive.google.com/file/d/0B4QOkWN0EAr_THJjNDZZZVpQeUE/view?usp=sharing

or if it doesn't work: https://drive.google.com/file/d/0B4QOkWN0EAr_d2tjYnN3aTdlZmM/view?usp=sharing

This database contains information about "notable people" throughout history. Load this Excel file into Stata or you can use Excel to convert it to a csv text file and use import delimited.

a) Consider all people born between 1700 and 1900 who have an observed (non-missing) year of death. Calculate the decade of each person's birth and their lifespan in years. Then use Stata to create a clean table containing only the mean lifespan within each cell of a cross tabulation between decade of birth and gender. What do you observe about the relationship between the lifespans of notable women and notable men in the 18th and 19th centuries?

b) Use the Haversine formula (https://en.wikipedia.org/wiki/Haversine_formula) to calculate the distance between each person's birth and death location. Then create a table formatted as in part (a) showing the mean distance by decade of birth and gender (you can restrict to the same subset of people). How has this mean distance changed over time?

c) Calculate the centroid of birth locations for people born in each decade from 1700 to the present. To do this, take each birth location and view it as a point in R^3 (i.e. embedding the sphere in 3-space). Then calculate the usual geometric centroid of these points. Finally, scale this centroid point back to the surface of the sphere (note that this will be undefined if the centroid is exactly at the center of the sphere). The final result should be expressed in latitude/longitude coordinates. Describe how this centroid has varied over the decades from 1700 to the present.

Rule:

*All work should be done with STATA (others are not accepted). You should submit your Stata code as text format files with the parts clearly marked using comments. Also, submit a single PDF file containing your answers to all the questions that are posed.

Reference no: EM131230224

Questions Cloud

Will zagat''s acquisition by google make it more competitive : Compare Zagat's and Yelp's e-commerce business models. How have those models affected each company's Web strategy?
Future employment opportunities : When the union bargained for the laid off employees, the employees were told they would have future employment opportunities with the company. Do you think it was unreasonable for these laid off employees to expect the union’s help 11 years later? Wh..
Mathematical formulation used to simulate : Discuss the mathematical formulation used to simulate all categories of accelerations i.e., zero & non zero both, in any animation.
What is the maximum number of set ups per week : An operation is used to machine 10 kinds of parts. The total weekly requirement for all 10 parts is 900. Each part needs 20 secs machining time . Assume that the machine is to be scheduled no more than 90% of its total available time. what is the max..
Calculate the centroid of birth locations for people born : Calculate the centroid of birth locations for people born in each decade from 1700 to the present. To do this, take each birth location and view it as a point in R^3 (i.e. embedding the sphere in 3-space).
Describe a situation in which this might reasonably happen : Explain why TIME_WAIT is a somewhat more serious problem if tserver initiates the close than if the client does. Describe a situation in which this might reasonably happen. (150 Word Minimum).
What information provides the basis of your decision : Is the company a dot- com success, borderline business, or failure? What information provides the basis of your decision? Why? When answering these questions, pay special attention to the company's three- year trends in revenues, costs of sales, g..
What kinds of companies are best suited to use platforms : Assess the management, organization, and technology issues for using social media to engage with customers.
Who are victims of domestic violence : As from 1 July 2013, the Fair Work Act was amended to provide employees, who are victims of domestic violence, to negotiate flexible working arrangements with their employers

Reviews

Write a Review

Applied Statistics Questions & Answers

  State null hypotheses for the researchers test

State the null and alternative hypotheses for the researchers test - explain in the context of this scenario the meaning of Type I and Type II errors.

  Consider the following two functions

Consider the following two functions;  f(x) = 2x +1; valid for all values of x. h(x) = x -

  Plan to conduct a marketing experimentin

You plan to conduct a marketing experimentin which students are to taste one of two different brands of soft drink. Theirtask is to correctly identify the brand tasted. You select a random sample of200 students and assume that the students have no ab..

  Descriptive statistics project project

Descriptive Statistics Project Project #1This project gives you the chance to use all of the statistical techniques and concepts that are covered in the initial chapters of the text.Problem: Think of a question that can be answered by analyzing data.

  Problem 1the average prices for a product in twelve stores

problem 1the average prices for a product in twelve stores in a city are shown

  1 hint let pi 002 as shown in the table for nofree premium

1. hint let pi 0.02 as shown in the table for nofree premium channels.a. pxlt 3 b. px 0 px 1 c. px gt 4 1 - px le4

  A randon sample of monthly gasoline bills

A randon sample of monthly gasoline bills for a company's 15 sales persons are:$216-254-247-257-231-265-221-226-228-252-235-265-272-285-266. what is the mean? what is the median? what is the value of quartile 3? what is the value of the mode? the ran..

  What is the probability that the the sample proportion

What is the probability that the the sample proportion

  How variance and the standard deviation measure variation

Define the range, variance, and standard deviation for a population. Discuss how the variance and the standard deviation measure variation.

  1 ifnbspphi-z0 nbspalpha2 z0 assume alpha lt012 a company

1. ifnbspphi-z0 nbspalpha2 z0 ? assume alpha lt0.1.2. a company produces cooling tubes. the pressure of the tube is an

  Wilco is a manufacturer in a mature cyclical industry

Wilco is a manufacturer in a mature cyclical industry. During the most recent industry cycle, its net income averaged $30 million per year with a standard deviation of $10 million (n=6 observations). Management claims that Wilco's performance during ..

  Cigarettes cause the pulse rate to increase

Describe the error in the conclusion. Given: There is a linear correlation between the number of cigarettes smoked and the pulse rate. As the number of cigarettes increases the pulse rate increases. Conclusion: Cigarettes cause the pulse rate to incr..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd