This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: d. Compute by hand the associated correlation coecient 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 ] polyt(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 Govt vary linearly with the U.S. population? a. Use MATLAB to determine the least squares line z = a + bx and correlation coecient. 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
 Spring '08
 PHOENIX

Click to edit the document details