STAT 362 R Language Worksheet

Description

1 attachmentsSlide 1 of 1attachment_1attachment_1

Unformatted Attachment Preview

Stat 362: Chapter 5 Worksheet
Name:
UIN:
Show all of your work / code. No credit will be given if there is no work / code.
1. A random sample of 64 bags of white cheddar popcorn is obtained, and their weights, in
ounces, is recorded. We want to test the hypothesis that the average weight of the bags are
less than 5.3 ounces, at the 0.05 level of significance. Use a 1-sample t-test.
Note: You can obtain the dataset in the file: “Popcorn.csv”. There is a header.
• Hypotheses:
• Code:
• Test-Statistic Value:
• P-Value:
• Decision (Reject or Not):
• Conclusion:
2. Some researchers claim that susceptibility to hypnosis can be acquired or improved through
training. To investigate this claim six subjects were rated on a scale of 1 to 20 according to
their initial susceptibility to hypnosis and then given 4 weeks of training. Each subject was
rated again after the training period. In the ratings below, higher numbers represent greater
susceptibility to hypnosis. We are interested in whether the subjects are more susceptible
after training. Use a 0.10 significance level.
Before
10
16
7
4
7
2
Subject
1
2
3
4
5
6
After
18
19
11
3
5
3
Using the Sign Test, test the hypothesis that the median values before are smaller than the
differences after. Define Zi = bef ore − af ter.
Note: You can obtain this dataset in the file “Hypnosis.csv”. There is a header.
Note: You will need to install the package: “BSDA”.
• Hypotheses:
• Code:
• Median of the differences:
• P-Value:
• Decision (Reject or Not):
• Conclusion:
2

attachment

2 pages

User generated content is uploaded by users for the purposes of learning and should be used following Studypool’s honor code & terms of service.

Reviews, comments, and love from our customers and community:

Article Writing

Keep doing what you do, I am really impressed by the work done.

Researcher

PowerPoint Presentation

I am speechless…WoW! Thank you so much!

Stacy V.

Part-time student

Dissertation & Thesis

This was a very well-written paper. Great work fast.

Student

Annotated Bibliography

I love working with this company. You always go above and beyond and exceed my expectations every time.

Student

Book Report / Review

I received my order wayyyyyyy sooner than I expected. Couldn’t ask for more.

Student

Essay (Any Type)

On time, perfect paper

Student

Case Study

Awesome! Great papers, and early!

Kaylin Green

Student

Thank you Dr. Rebecca for editing my essays! She completed my task literally in 3 hours. For sure will work with her again, she is great and follows all instructions

Researcher

Critical Thinking / Review

Extremely thorough summary, understanding and examples found for social science readings, with edits made as needed and on time. Transparent

Customer

Perfect!

Student