Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Statistics and Probability Expert

Summary Statistics and Hypothesis Testing Problem Set

Useful Commands for this Problem Set -

The underlined portion of each command indicates the abbreviation that can be used for that command.  You should also refer to the guide from the Stata tutorial as you work through this problem set.

codebook: Provides a summary of a variable, including the mean, standard deviation, number of unique values, etc.

summarize: Provides summary statistics for a variable.

ttest: Performs a t-test of the mean.

Part I - Note: Part I does not require the use of Stata.

Variable

Definition

Hurricaned

Coded 1 if a FL county was hit by a hurricane, 0 otherwise.

Bush04

The % of the vote for Bush in the 2004 presidential election in FL counties (among the 2 major parties).

. sum bush04

    Variable |       Obs        Mean    Std. Dev.       Min        Max

-------------+--------------------------------------------------------

    bush04 |        67         .6    .1079281         .3        .78

1. Using the Stata output presented above, provide the following summary statistics. If you perform a calculation using the statistics provided in the Stata output, please show your work.

  • What is the mean of the bush04 variable (X ¯)?
  • What is the variance of the bush04 variable (SX2)
  • What percentage of the vote share did Bush win in the county with the highest % of the vote in his favor?

2. Research by political scientists, Larry Bartels and Chris Achen, suggests that the act of voting can be more irrational than previously thought. They examine whether voters tend to punish incumbents for acts that could not in any way be the fault of an incumbent or an incumbent party. For instance, they looked at the effects of shark attacks in New Jersey in 1916 on the vote for Wilson in the presidential election. Findings suggested the shark attacks had a negative impact on the vote for Wilson. The counties that experienced the attacks failed to support the incumbent in that election. It seemed voters blamed the incumbent for something entirely out of his control. Bartels and Achen examined this hypothesis on other contexts, noting that voters tend to blame incumbents for droughts and other natural events outside of the government's influence.

Do voters blame incumbents for situations the government has no control over? To test this hypothesis, this question focuses on the impact of hurricanes in the 2004 presidential election in Florida at the county level. That year, Florida experienced four back to back hurricanes within months and weeks of the election. Did voters blame incumbent president Bush? The dependent variable is the Bush vote (of the 2-party vote) in the 2004 presidential election in Florida.

The variable Hurricaned equals 1 if a FL county was hit by a hurricane (hurricane-hit) and 0 otherwise (no-hurricane). Notice that 4 counties were not hit by a hurricane.

  • What is % mean bush04 vote among counties that were not hit by a hurricane (X ¯no-hurricane)?
  • What is mean % bush04 vote among hurricane-hit counties (X ¯hurricane-hit)?
  • What is the difference between these means (X ¯no-hurricane- X ¯hurricane-hit)?
  • What is the standard error of the difference between the means?
  • State the null hypothesis and the alternative hypothesis to test that the mean vote for Bush in '04 in counties that were not hit by hurricanes is the same as the meanvote for Bush in hurricane-hit counties.
  • Calculate the t-statistic you would use to test the null hypothesis.
  • Test the null hypothesis at the 5% significance level. Do you reject or fail to reject the null hypothesis?
  • Calculate a 95% confidence interval for the difference between the means (show your work).
  • Does this evidence support the argument that voters punish the incumbent for situations outside their control (e.g. natural disasters)? In your explanation, consider whether this analysis excludes any important variables.

Part II - In this section you will use Stata to conduct an analysis on the relationship between having a college education and support for Trump in the 2016 presidential election.

This past year, it was widely reported that Trump's favorability was highest among those without a college education. Do education levels explain Trump's popularity in the recent election? Using the cnn2016election.dta dataset, determine whether there is a difference in support for Trump among those with and without a college education.

3. To accomplish this task, you will first need to create a new variable for college education with two categories, where 1 contains all individuals with at least some college education, and 0 contains all those without any college education. Label the new variable "colleduc."

  • State the null and alternative hypothesis for this test.
  • What is the t-statistic? Show how this t-statistic was calculated.
  • What is the result of the hypothesis test?
  • Do you believe this analysis provides a satisfactory answer to the question of whether education levels explain support for Trump in '16? Why or why not?

4. In Stata, repeat the t-test above but, instead of comparing college educated and non-college educated respondents, compare males and females. To do this, create a new variable labeled "gender" (from the variable "sex"), where male equals 0 and female equals 1.

  • What is the t-statistic reported in the Stata output?
  • Is there a statistically significant difference in support for Trump between men and women?

Attachment:- Assignment.rar

Statistics and Probability, Statistics

  • Category:- Statistics and Probability
  • Reference No.:- M92185999
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question?


Related Questions in Statistics and Probability

A bank contains 2 quarters 5 dimes and 3 nickels you draw

A bank contains 2 Quarters, 5 dimes, and 3 Nickels. You draw two coins at random. Determine the probability distribution for the sum of the two coins drawn

1 prince georges county publicnbspschools wants to access

1) Prince George's County Public Schools wants to access the effectiveness of its new 1st grade reading program. Ten 1st grade classrooms are randomly selected from across the county. What kind of sampling method is bein ...

For each of the following describe1 the direction of the

For each of the following describe: 1. The direction of the relationship 2. The strength of the relationship 3. A verbal description of the relationship between the variables. r = -.96 between the craving for Taco Bell a ...

Your companys revenues were 3 million this year you paid

Your company's revenues were $3 million this year. You paid out $500,000 in salaries and your only other cash outflow was the purchase of a piece of construction equipment for $1 million that is to be depreciated to a ze ...

Show your worksheel inc has 7 percent coupon compounded

Show your work Sheel INC. has 7 percent coupon ( compounded semiannually) bonds on the market with 10 years to maturity, and the par value of $1,000. At what price should bonds be selling for if the YTM is 5%? Had the bo ...

Doolittle co is expected to pay a dividend of 23 next year

Doolittle Co. is expected to pay a dividend of $2.3 next year. Doolittle is expected to pay 20% of its earnings as dividends and will have an ROE of 9% until the fourth year. After that, its ROE is expected to decrease t ...

If we are interested in job satisfactionname a variable

If we are interested in job satisfaction. Name a variable that correlates with job satisfaction but we do not have causation. Name a variable that you believe may have a casual relationship with job satisfaction. Name a ...

A manufacturer of matches randomly and independently puts

A manufacturer of matches randomly and independently puts 15 matches in each box of matches produced. The company knows that one-tenth of 6 percent of the matches are flawed. What is the probability that a matchbox will ...

According to a study in a previous year 570 of households

According to a study in a previous year, 57.0% of households nationwide used natural gas for heating during a year. Recently, a survey of 2,700 randomly selected households showed that 58.0% used natural gas. Use a 0.05 ...

According to the national health interview survey 47 of us

According to the national health interview survey, 4.7% of U.S adults 50 and older have had a total knee replacement. A random sample of 20 adults 50 and older has been selected. Use the Poisson distribution to approxima ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As