toothpaste666 said:
Homework Statement
1. Consider selecting at random a student who is among the 15,000 registered for the current semester at a school Let X be the number of courses for which the selected student is registered and suppose that X has probability distribution
x: 1 2 3 4 5 6
f(x): .01 .03 .13 .25 .39 .19
(a) Find the cdf of X.
(b) Find the expected number of courses taken by a student in this semester.
(c) Find the standard deviation of X.
(d) Find the median of this distribution.The Attempt at a Solution
a)This part I am confused of what they want, since X is not specified. It seems like they already provided me with the cdf
b) this is the summation of the xf(x) 's
(1)(.01) + 2(.03) + 3(.13) + 4(.25) + 5(.39) + 6(.19) = 4.55
c) the variance is the sum of the (x-μ)^2f(x) 's
(1-4.55)^2(.01) + (2-4.55)^2(.03) + (3-4.55)^2(.13) + (4-4.55)^2(.25) + (5-4.55)^2(.39) + (6-4.55)^2(.19)
= 1.1875
and the standard deviation is the square root of that
= 1.09
d) put them in order
.01 .03 .13 .19 .25 .39
the median is (.13 + .19)/2 = .16
unless I am trying to find the median number of courses taken?
in that case
1 2 3 6 4 5
(3+6)/2 = 9/2 = 4.5 courses
I am not that confident I did this right because I didn't use the number of registered students they gave me and I don't think I understood part a)
In (a): of course X is specified.
You wrote "Let X be the number of courses for which the selected student is registered and suppose that X has probability distribution..."
I suppose you may be a bit confused about who the "selected student" is, and how his/her course probability distribution is obtained. Basically, the problem is just specifying that 1% of the students take exactly 1 course, that 3% take exactly two courses, etc. And, of course, if you actually look at student John Smith he will be taking some specific number of course, either 1 or 2 or 3 or 4 or 5 or 6, with no probabilities involved anywhere. However,
prior to the selection, you will not know the actual number that is going to occur, only the chances of the various numbers. Is that what was throwing you off?
Just to be accurate: the standard deviation is not 1.09; it is approximately 1.089724736, which is, in turn approximately 1.09. Saying "approximate" instead of "equals" will not hurt you, and it makes clear that you understand the difference.
The median of the distribution is not what you wrote (except, maybe, by accident): in probability and statistics, the median is the 50th percentile on the cdf. So, if you plot the graph y = F(x) of the cdf F (including vertical line segments at the jumps of F), you can think of the median as the point x where the line y = 1/2 cuts the graph y = F(x). (Sometimes, if F(x) = 1/2 on an interval [a,b), the whole segment a->b can be thought of as a median, but usually one would pick a point in the interval and use that as the median. There may be different conventions for how to do that.)
The "median" you obtained would be OK for the uniform distribution, where each point had probability 1/5.