TAM310hw14

# TAM310hw14 - d Compute by hand the associated correlation...

This preview shows pages 1–2. Sign up to view the full content.

TAM 310 Advanced Engineering Analysis I Spring 2008 Prof.R.Rand Homework No.14 (not to be handed in) Questions 1 and 2 are based on the following Table, in which x =U.S. Population, y =World Population, and z =no.of employees in U.S. Federal Gov’t., all in millions (from www.census.com). Year x y z 1950 152 2555 1.44 1960 181 3040 1.81 1970 205 3708 2.20 1980 228 4454 2.16 1990 250 5276 2.25 2000 282 6079 1.78 1. To what extent does the world’s population vary linearly with the U.S. population? a. Make a scatter plot of the 6 data points (x,y). b. Compute the equation of the best ±t straight line y = a + bx for these 6 points. Do this computation by hand using a table with clearly marked columns. c. Plot the least squares line on the graph from part a.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: d. Compute by hand the associated correlation coe²cient r . Use clearly marked columns for this too. e. Repeat part b on MATLAB by using the commands: x=[152 181 etc ] y=[2555 3040 etc ] poly±t(x,y,1) f. Repeat part d on MATLAB by using one of the commands: corrcoef(x,y) or corr2(x,y) Hand in a printout of your MATLAB work. 2. To what extent do the no. of employees in the U.S. Federal Gov’t vary linearly with the U.S. population? a. Use MATLAB to determine the least squares line z = a + bx and correlation coe²cient. b. Make a scatter plot of the 6 data points (x,z) and plot the least squares line on the same graph. CONTINUED...
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

TAM310hw14 - d Compute by hand the associated correlation...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online