Perform a non-directional t-test. Are the groups significantly different?

Using pcnt_unemployed at the outcome variable and urban as the grouping variable

What will be an ideal response?



setwd("C:/QSSD/Exercises/Chapter 9 - Exercises/")
getwd()

[1] "C:/QSSD/Exercises/Chapter 9 - Exercises"

depdata <- read.csv("depdata.csv")
t.test(pcnt_unemployed~urban, data=depdata)

Welch Two Sample t-test
data: pcnt_unemployed by urban
t = -12.317, df = 929.41, p-value < 2.2e-16
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-2.340914 -1.697466
sample estimates:
mean in group Rural
5.198791
mean in group Urban
7.217981


Since p ? .05, we conclude that there is a statistically significant difference in the mean unemployment
percentage between urban and rural Scottish postcodes.

Social Work & Human Services

You might also like to view...

The "implementing system"

A. is outside of the "host system." B. controls the "host system." C. lies within the "host system." D. governs the "controlling system."

Social Work & Human Services

A social worker boasting of membership in the Ku Klux Klan is displaying a personal value and, therefore, not in opposition to the NASW Code of Ethics

Indicate whether the statement is true or false.

Social Work & Human Services

Which of the following statements is true of the principles of social work?

A) ?They dictate intolerance for systems that create and maintain social conditions that result in personal problems. B) ?They do not recommend linking the macro-level issues with micro-level issues. C) ?They focus on the individual problems of a person in isolation rather than focusing on the person-in-the-environment. D) ?They reject the belief system that guided the work of the settlement house movement.

Social Work & Human Services

Identify a true statement about health care for older adults in the United States. A) ?Physicians are trained primarily in treating the young and are often less interested in serving older adults

B) ?Older adults who live in the community often face transportation difficulties in getting medical care. C) The Medicare program does not set reimbursement limits on a variety of procedures for older adults. D) ?The old-old, age 85 and over, are the smallest age group in the American society.

Social Work & Human Services