Question

In: Statistics and Probability

Do flexible schedules reduce the demand for resources? The Lake County, IL Health Department experimented with...

Do flexible schedules reduce the demand for resources? The Lake County, IL Health Department experimented with a flexible four-day work week. For a year, the department recorded the mileage driven by 11 filed workers on an ordinary five-day work week. Then it changed to a flexible four-day work week and recorded mileage for another year. Here is the data.  The researchers want to know if the total mileage changed going form a 5 – day schedule to a 4 – day schedule.


Name

5 – Day Mileage

4 – Day Mileage

Jeff

2798

2914

Betty

7724

6112

Roger

7505

6177

Tom

838

1102

Aimee

4592

3281

Greg

8107

4997

Larry G.

1228

1695

Tad

8718

6606

Larry M.

1097

1063

Leslie

8089

6392

Lee

3807

3362


  1. State a null and alternative hypothesis to determine if a difference exists between two different schedules for a parametric and a nonparametric test.  


  1. Check conditions.


  1. Give your conclusion from both tests and a final conclusion.  Use  .

Solutions

Expert Solution

I have solved this problem in R.

As the number of data points is more than 10, I have used software.

[IF YOU ARE REQUIRED TO SOLVE THIS PROBLEM BY ANY OTHER SOFTWARE OR BY HAND, LET ME KNOW IN THE COMMENTS ; I SHALL PROVIDE YOU A SOLUTION BY THAT METHOD; I AM USING R BECAUSE IT IS THE EASIEST WAY FOR SOLVING THIS PROBLEM]

FOR THE PARAMETRIC METHOD, WE USE PAIRED t TEST:

Let the mean of 5-day-mileage be denoted 1 and the mean of 4-day-mileage be denoted 2

Here the null hypothesis and the alternative hypothesis are given by

R CODE:

x<- c(2798,7724,7505,838,4592,8107,1228,8718,1097,8089,3807)
y<- c(2914,6112,6177,1102,3281,4997,1695,6606,1063,6392,3362)
chisq.test(x,y) #to check independence
shapiro.test(x) #to check normality
shapiro.test(y)           #to check normality
t.test(x,y,paired=TRUE)       #to run the t test

R OUTPUT:

> x<- c(2798,7724,7505,838,4592,8107,1228,8718,1097,8089,3807)
> y<- c(2914,6112,6177,1102,3281,4997,1695,6606,1063,6392,3362)
> chisq.test(x,y) #to check independence

Pearson's Chi-squared test

data: x and y
X-squared = 110, df = 100, p-value = 0.2322

Warning message:
In chisq.test(x, y) : Chi-squared approximation may be incorrect
> shapiro.test(x) #to check normality

Shapiro-Wilk normality test

data: x
W = 0.8566, p-value = 0.05203

> shapiro.test(y) #to check normality

Shapiro-Wilk normality test

data: y
W = 0.88221, p-value = 0.111

> t.test(x,y,paired=TRUE) #to run the t test

Paired t-test

data: x and y
t = 2.858, df = 10, p-value = 0.01701
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
216.4276 1747.5724
sample estimates:
mean of the differences
982

FOR NON PARAMETRIC TEST, WE USE TWO SAMPLE SIGN TEST

Let the median of 5-day-mileage be denoted 1 and the median of 4-day-mileage be denoted ​​​​​​​2

Here the null hypothesis and the alternative hypothesis are given by

R CODE:
library(BSDA)
SIGN.test(x,y,alternative="two.sided",conf.level=0.95) #to carry out the sign test

R OUTPUT:

Dependent-samples Sign-Test

data: x and y
S = 8, p-value = 0.2266
alternative hypothesis: true median difference is not equal to 0
95 percent confidence interval:
-158.5164 1816.2182
sample estimates:
median of x-y
1311

Achieved and Interpolated Confidence Intervals:

Conf.Level L.E.pt U.E.pt
Lower Achieved CI 0.9346 -116.0000 1697.000
Interpolated CI 0.9500 -158.5164 1816.218
Upper Achieved CI 0.9883 -264.0000 2112.000

CONCLUSION:

The p-value and the corresponding conclusion for both the tests are given below:

Method p-value Conclusion
Parametric Test 0.01701 reject the null hypothesis at 5% level of significance
Non-parametric test 0.2266 Fail to reject the null hypothesis at 5% level of significance

Overall, it can be concluded that the mean of the two different schedules are equal by parametric test at 5% level of significance while the median of the two different schedules are not equal by non-parametric test at 5% level of significance. Hence the same data may yield different results for different tests.

Hopefully this will help you. In case of any query, do comment. If you are satisfied with the answer, give it a like. Thanks.


Related Solutions

The Clark County Sheriff’s Department schedules police officers for 8-hour shifts. The beginning times for the...
The Clark County Sheriff’s Department schedules police officers for 8-hour shifts. The beginning times for the shifts are 8:00 a.m., noon, 4:00 p.m., 8:00 p.m., midnight, and 4:00 a.m. An officer beginning a shift at one of these times works for the next 8 hours. During normal weekday operations, the number of officers needed varies depending on the time of day. The department staffing guidelines require the following minimum number of officers on duty: Time of Day Minimum No. of...
The Clark County Sheriff’s Department schedules police officers for 8-hour shifts. The beginning times for the...
The Clark County Sheriff’s Department schedules police officers for 8-hour shifts. The beginning times for the shifts are 8:00 a.m., noon, 4:00 p.m., 8:00 p.m., midnight, and 4:00 a.m. An officer beginning a shift at one of these times works for the next 8 hours. During normal weekday operations, the number of officers needed varies depending on the time of day. The department staffing guidelines require the following minimum number of officers on duty: Time of Day Minimum No. of...
The Department of Natural Resources in New York wants to estimate the average length of lake...
The Department of Natural Resources in New York wants to estimate the average length of lake trout in Keuka Lake. They randomly take a sample of 100 lake trout and find the sample average length to be 18.3 inches with a sample standard deviation of 2.5 inches. Calculate a 99 % confidence interval for the average length of lake trout in Keuka Lake.
Give examples of flexible work schedules. What are the pros and cons? Do you see this...
Give examples of flexible work schedules. What are the pros and cons? Do you see this as a recruitment or retention tool? What are some employer considerations for offering flexible work schedules to employees?
you are a community health educatir in the southwest United States. Your county health department received...
you are a community health educatir in the southwest United States. Your county health department received a grant to create a new initiative that is designed ti decrease smoking rates in the country. yoir health commissioner and board of health want to create a team of teachers, parents, community leaders, and public health professionals to develop an intervention. which cognitive anf effective methods woukd be useful for this pirpose and why based in your opinion?
3. Imagine that a program needs to be administered through the county health department designed to...
3. Imagine that a program needs to be administered through the county health department designed to increase the frequency of mammograms among community residents. What kind of techniques would increase the likelihood of obtaining regular mammograms?
A 6 year old child is brought to the county public health department because of fever...
A 6 year old child is brought to the county public health department because of fever and diarrhea. During an interview with the 20-year-old mother the nurse discovers that the child has not had his “baby shots” or routine well-child checkups. After reviewing the 2019 CDC’s recommended immunization schedule: a.) What immunizations should the child receive today? b.) How would you go about assisting this family to secure immunizations and well-child checkups?
You have an internship this summer for the Cook County Department of Public Health. Your job...
You have an internship this summer for the Cook County Department of Public Health. Your job is to work with the West Nile Virus group. You need to identify possible reservoirs, vectors, and determine how many people have been infected this year. Discuss which three types of organisms you will be examining and why.
3. Health resources: Answer majority of questions below for community Brooklyn, New York Kings county •...
3. Health resources: Answer majority of questions below for community Brooklyn, New York Kings county • Do you notice any hospitals? What kind are they? Where are they located? • Are there any clinics? Whom do they serve? Are there any family planning services? • Are there doctors’ and dentists’ offices? Are they specialists or generalists? • Do you notice any nursing homes, rehabilitation centers, mental health clinics, alcohol or drug treatment centers, homeless or abused shelters, wellness clinics, health...
3. Health resources: Answer majority of questions below for community Brooklyn, New York Kings county •...
3. Health resources: Answer majority of questions below for community Brooklyn, New York Kings county • Do you notice any hospitals? What kind are they? Where are they located? • Are there any clinics? Whom do they serve? Are there any family planning services? • Are there doctors’ and dentists’ offices? Are they specialists or generalists? • Do you notice any nursing homes, rehabilitation centers, mental health clinics, alcohol or drug treatment centers, homeless or abused shelters, wellness clinics, health...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT