Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write R code for each of the following: 1) The following bivariate data is obtained from a sample of 10 households whose monthly income (in

Write R code for each of the following:

1) The following bivariate data is obtained from a sample of 10 households whose monthly income (in Rupees) and their electricity consumption (in units). Examine whether the monthly income and the electricity consumption for the households are correlated at 5% & 10% level of significance. Also, plot the scatter diagram.

Income 12150 16500 17610 10800 16300 15300 14800 16500 14800 16800

Electricity Consumption 165 174 180 170 185 155 168 188 175 185

2) The following data represent the relationship between the number of alignment errors and the number of missing rivets for 10 different aircraft.

(a) Plot a scatter diagram.

(b) Estimate the regression coefficients.

(c) Test the hypothesis about whether the regression coefficient between the number of alignment errors and the number of missing rivets is zero at = 1% and 5%.

Number of Missing Rivets 13 15 10 22 30 7 25 16 20 15

Number of Alignment Errors 7 7 5 12 15 2 13 9 11 8

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

Managerial Accounting

Authors: Ray H. Garrison, Eric W. Noreen, Peter C. Brewer

13th Edition

978-0073379616, 73379611, 978-0697789938

Students also viewed these Mathematics questions