{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

test- solution

# test- solution - UNIVERSITY OF HONG KONG DEPARTMENT OF...

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

UNIVERSITY OF HONG KONG DEPARTMENT OF STATISTICS AND ACTUARIAL SCIENCE STAT1303 DATA MANAGEMENT (SEMESTER 1 2009/2010) Suggested Solutions of Class Test Question 1 libname Q1 °D: n TEMP°; (a) data Q1.perform; input ID 1-3 DOE date9. Name \$11. Dept \$ 25-30 Section \$ 31-31 group\$ 32-32 perform 33-36 salary comma7.; format doe date9.; run; (b) data Q1.perform; input ID 3. DOE date9. Name \$11. @25 Dept \$6. @31 Section \$1. @32 group \$1. @33 perform 4. salary comma7.; format doe date9.; run; Question 2 (a) proc univariate data=fertilizer normal; var height; where (fertilizer=1); run; proc univariate data=fertilizer normal; var height; where (fertilizer=2); run; Alternatively, the following SAS codes can also be used. proc sort data=fertilizer; by fertilizer; run; proc univariate data=fertilizer normal; var height; by fertilizer; run; (b) For fertilizer = 1 , mean = 51 : 91 , SD = 3 : 3703 , skewness = 0 : 6000 , kurtosis = ° 0 : 2954 . Since skewness > 0, positively skewed and the distribution has thicker 1

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

View Full Document
tails on the positive side. Also, since kurtosis < 0, the distribution has thinner tails than normal distribution.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern