Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How to use Language R to solve this problem? The file indeafinger.tat records the length and width of the index finger of 8 adults. Length

How to use Language R to solve this problem?

image text in transcribedimage text in transcribed

The file indeafinger.tat records the length and width of the index finger of 8 adults. Length is ezplanatory variable) (a) Read in the data set "indexfinger.txt" an print it out (b) Draw a scatterplot of the width and length (c) Find out the longest finger lengths of both male and female. Then mark this two points in the scatterplot in (a). You can use any aesthetic feature you like as long as these two points can be distinguished from other points (d) Draw a new scatterplot, but substitute all the points with letter "F" or "M" according to the gender. Hint: pch E as. character ser). For male the female conduct the linear regression separately to determine the relationship of width and length of fingers. Calculate the coefficients of these two models. Then you can use the results from the linear regression to draw two predicted lines on the scatterplot above by different line types (One line for male and the other for female

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

6th International Edition

061921323X, 978-0619213237

More Books

Students also viewed these Databases questions

Question

Have roles been defined and assigned?

Answered: 1 week ago

Question

Are these written ground rules?

Answered: 1 week ago