Professional Documents
Culture Documents
ECON1203 HW Solution Week06
ECON1203 HW Solution Week06
ECON1203 HW Solution Week06
n=12, p=.25
(b)
(c)
2
12!
0.25 1
2! 10!
0.25
0.2323
0.0317
0.1267
0.2323
Each of the n=5 years represent identical and independent trials. For this
to be true the fact that the index went up last year does not change the
probability it will go up in the subsequent year.
Index going up is denoted a success and all other outcomes (going down or
staying unchanged) are taken to be a failure.
The probability of a success p=0.65 is the same for each trial.
X=0, 1, , 5
(b) Assuming X has a binomial distribution, construct the probability
distribution of X and draw the associated probability histogram.
0
0.0053
1
0.0488
2
0.1811
3
0.3364
4
0.3124
5
0.1160
Stockindexincreasesover5years
0.40
0.35
Probability
0.30
0.25
0.20
0.15
0.10
0.05
0.00
0
Numberofincreases
5
5
0.65
0.65
3.25
0.35
1.1375
(d) Let Y be the number of years in which the index falls. Assuming X is
binomial is Y binomial? What are the mean and standard deviation of
Y?
Because all that is being done is to reclassify the outcomes into success and
failures Y will also be binomial. (Ignore the unlikely complication of the index
staying the same.)
1
1.75
5
5 3.25 1.75
and
1
1.1375
5
1
So
. .
1.1375
1.067.
impacted by the gender mix of the first two children; possibility of multiple
births. These are not relevant here.
Independence across trials now refers to births to different women and
having a girl is not contagious!
(b)
No
Here n is not fixed and depends on previous trial outcomes.
5. A software random number generator is designed to produce numbers
within a specified range. We can consider any number in the range as a
possible outcome. Suppose the random number Y can be any value between
0 and 2. Then the uniform density of the outcomes of Y will have a constant
height between 0 and 2 and be zero elsewhere.
(a) What is the height of the density? Draw a graph of the density.
1
0
2
0
Uniformdensityforrandomnumber
generation
0.6
0.5
f(y)
0.4
0.3
0.2
0.1
0
0
0.5
1.5
0.8
0.5
0.8
0.5
0.8
1.5
0.5
0.4
0.4
0.5
As indicated in the question, whether you get these values as given here from
the uniform probability density function as given here, or from F(y)=0.5y (the
cumulative probability distribution) you get the same values.
E.g.
1.5
0.8
0.8
0.5 0.8
0.5
0.75 0.25 0.5.
0.4
and
0.5
1.5
6. Make sure you have downloaded your project data file. Use EXCEL to
generate descriptive statistics for your your personalized project data.
What are the means of the variables Bid and Expenditure? Are these useful
statistics in the context of the project?
The mean of ID=Bid is meaningless. (This is the same for all students)
While having summary statistics is important for Expenditure (a variable that
is randomly generated for each student, so you should not get the same answer
as you colleagues), the variable ID=Bid is simply an identifier for the
observation and should play no role in the analysis except if you want to say
something specific about a particular observation.