# 2: T test for two means The data in SteelStrengthData.txt consists ofn1= 32 strength measurements of...

90.2K

Verified Solution

Question

Statistics

# 2: T test for two means

The data in SteelStrengthData.txt consists ofn1= 32 strengthmeasurements of cold-rolled steel andn2= 35 measurements oftwo-sided galvanized steel. Import it into the data framedf2 andcomplete the following parts.

Use boxplot(Value∼Sample, notch=TRUE, data=df2) to do acomparative box plot. Do the two medians appear significantlydifferent? (NOTE:∼does not copy-paste well.)

Test the hypothesisH0:μ1−μ2= 0 vs Ha:μ1−μ26= 0, at level ofsignificance 0.1, without assuming σ1=σ2. Report the outcome of thetest and also the 90% CI for μ1−μ2.3. Repeat the above using theassumption that σ1=σ2.

Using R please

Answer & Explanation Solved by verified expert
3.8 Ratings (435 Votes)
I have answered the question belowPlease up vote for the same and thanksDo reach out in the comments for anyqueriesAnswerThe R snippet is    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students