lab7 - Stat 402A HW 7 Answers 1 Plankton tows My SAS for...

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

View Full Document Right Arrow Icon
Stat 402A, HW 7 Answers 1) Plankton tows My SAS for parts a-c: data plankton; infile ’plankton.txt’; input tow spp $ abdn; logabdn = log(abdn); proc glm; class tow spp; model abdn = tow spp; estimate ’diff spp 1 - 2’ spp 1 -1 0 0; output out=resids r=resid p=yhat; proc plot; plot resid*yhat; proc sort data=plankton; by tow; proc means noprint data=plankton; by tow; var abdn; output out=means mean=meanabdn; data new; merge plankton means; by tow; proc plot; plot abdn*meanabdn=tow; run; (a) 2 pts. The appropriate model includes spp and tow, both as class variables (i.e. defining groups). The desired test is is the F test for spp. F = 251.7, p < 0.0001. (b) 2 pts. The estimate is -10.4 with a s.e. of 12.3 and a p-value of 0.40. (c) 2 pts. The plots are not enclosed. The residual plot shows strong curvature and unequal variance. The obs vs block means plot clearly shows fanning lines. Neither assumption seems reasonable. (d) 2 pts. The SAS code for parts d and e is identical to the above code, but logabdn is used as the response instead of abdn. You could choose either mean abundance or mean log abundance as the X axis in the plot. That’s really a minor issue that doesn’t affect the
Image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern