follows:
A: 50, 55, 45, 60, 56, 58, 50;
B: 48, 70, 60, 52, 63, 50, 50, 48;
1)Find the mean, median, standard deviation for the two samples separately.
2) Which sample is more variable?
1)A:mean 53.4; median 55;SD 5.3;
B:mean 55.1; median 51;SD 8.3.
(X X)
n1
CV S variable
Problem2: We have two Samples (X and Y), X=X1, X2,, Xn; Y= Y1, Y2,, Yn.
The mean and standard deviation for X are 10 and 5 respectively;
1)If yi=xi+8, find the mean and standard deviation for Y.
2)If yi=4*xi, find the mean and standard deviation for Y.
1) mean 18 ; SD 5
2) mean 40; SD 20
Problem3: The table below shows the results of a study on 100 people exposed to
noise and 150 controls in which researchers examined the relationship between the
exposure to noise and hearing impairment.
Exposed to noise
1
80
20
25
125
105
145
100
150
250
1) Find the probability that a randomly selected person do not have hearing
impairment given he/she is not exposed to noise.
2) Find the probability that a randomly selected person has hearing impairment and
was exposed to noise.
1)0.83
2)0.32
-3
-2
-1 0
Problem5: If the probability of having MS for an adult given he/she is obesity is 0.4.
Then five obesity adults are randomly selected.
1) Find the probability that 2 of them have MS.
2) What is the probability that at most 2 of them have MS?
1)0.3456
2)0.6826
P( X k ) Cnk k (1 ) n k
Problem6: Suppose the number of deaths from colorectal cancer in one city over a
1-year period is poisson distributed with parameter =3 thousand.
1)What is the probability of 4 thousand deaths happened over one year?
2)What is the probability of 4 thousand deaths happened over 3 years?
1)0.168
P( X k )
e e=2.71828
k!
2)0.034
Problem7: The mean height of adults from a recent study was 170cm with a standard
deviation of 17cm. The data follow a normal distribution.
1) Find the approximate percentage of adults that were taller than 187cm.
2)Find the approximate percentage of adults that were shorter than 187cm and taller
than 153cm.
3
1)0.1587
2)0.6826
Problem8: Whats wrong with the following program? Please check each line
carefully and you can label the line number for each line, and point the error out:
Data corr_1;
Input x y sex;
Cards;
165 780 f 158 675 m
720 130 m 867 180 f
690 134 f 787 167 f
934 186 m 679 145 m
639 120 f 820 158 m
Proc MEANS DATA=Corr_1;
Var x y;
Run;
Data corr_1;
Input x y sex $ @@;
Cards;
165 780 f 158 675 m
720 130 m 867 180 f
690 134 f 787 167 f
934 186 m 679 145 m
639 120 f 820 158 m
4
;
Proc MEANS DATA=corr_1;
Var x y;
Run;