Answered step by step
Verified Expert Solution
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?
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started