Given the pdf of the discrete random variable
,
a) A table of discrete probability values corresponding to each RV is created as follows,
X | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
f(x) | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
We can see that
.
Hence the given
is probability density function.
b) A barchart of
is plotted using R.
The commands are
> p <-
c(0.5,0.25,0.125,0.0625,0.03125,0.015625,0.015625)
> barplot(p,xlab = "X",ylab = "probability")
The plot is
i) The chart is skewed to right.
ii) Since the chart skewed to the right, the skewness is positive.
c) The cumulative density function is table is given below.
X | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
F(x) | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The CDF is plotted as given below.
R commands are
> cp <- c(1/2,3/4,7/8,15/16,31/64,63/64,1)
> barplot(cp,xlab = "X",ylab = "cumulative
probability")
From the graph
, when
. Hence median is
.
d) The expected value is
e) The second moment is
Question 3 [20 marks] A measure of skewness is defined by Y such that: Note that...
this is an optimization subject.
that is example 2.33
Question 2 (6 Marks) (Chapter 2) Consider the function f : R3 -R defined as f(x1,2,3 +4eli++21), (G) Explain why f has a global minimum over the set Hint: Read Example 2.33 (i) Find the global minimum point and global minimum value of f over the set C. Example 2.33. Consider the function/(x1,x2)=xf+xỈ over the set The set C is not bounded, and thus the Weierstrass theorem does not guarantee the...
Section B (50 marks) Answer any two questions from this section. All questions carry equal marks. 1. (a) The density function of X is given by $(x) = { a + bx?, OSX31 0, otherwise If E[X] = , find i. the cumulative density function, F(X). [5 mark ii. P(x < [3 mark (b) Given the observations Ii, i = 1, 2 and their corresponding weight, W;, i = 1, show that the weighted average Xw = 221 + (1...
5. [12 Marks) Consider the level surface of the function f(x, y, z) defined by f(x, y, z) = x2 + y2 + x2 = 2a?, (1) where a is a fixed real positive constant, and the point u = (0,a,a) on the surface f(x, y, z) = 2a. a) Find the gradient of f(x, y, z) at the point u. b) Calculate the normal derivative of f(x, y, 2) at u. c) Find the equation of the tangent plane...
(i) Give an example of a function f(x,y) that is defined and continuous on the closed unit disk B(0) ((,y) E R2 but does not achieve a maximum on the punc- 2 marks] tured closed disk B.(0 )"-{ (z, y) E R2 10c x2 + y2 < 1}
(i) Give an example of a function f(x,y) that is defined and continuous on the closed unit disk B(0) ((,y) E R2 but does not achieve a maximum on the punc- 2...
a) Consider the function f(x) = x2 defined over the interval [0,a]. What is the value of “a” for this to be a valid probability distribution function? Express your answer to four decimal places. b) develop the cumulative distribution function, F(x), and use it determine the probability that the random variable X is less than one.
Question 3 Let the function f be defined by f(x,y)--3y3 +4y2-15y +x2-8x. The set A consists of all points (x,y) in the xy-plane that satisfy 0sx S 10, 0sy s10 and x +y28.Find the global minimum value of f(x,y) over the set A. (Hint: see example 8 in lecture 7.) (6 marks)
Question 3 Let the function f be defined by f(x,y)--3y3 +4y2-15y +x2-8x. The set A consists of all points (x,y) in the xy-plane that satisfy 0sx S 10,...
Please solve for part (b) and
(c) thank you!
1. Consider the function f(x) = e-x defined on the interval 0 < x < 1. (a) Give an odd and an even extension of this function onto the interval -1 < x < 1. Your answer can be in the form of an expression, or as a clearly labelled graph. [2 marks] (b) Obtain the Fourier sine and cosine representation for the functions found above. Hint: use integration by parts....
Question 3. Let 3 5/' and for x(2),y -(,) ER2 define (a) Show that the assignment (x, y) > (x,y) defined ın (1) us an nner product [10 marks (b) If a - (1,-1) and b - (1,1), then show that the vectors a and b are lınearly ndependent but they are not orthogonal with respect to the inner product n (1) 3 marks] (c) Given the vectors a and b in (b), the set (a, by is hence a...
Problem 5 20 marks total 0 < y < x2 < Consider two rvs X and Y with joint pdf f(x,y) = k-y, Sketch the region in two dimensions whereAx.y is positive. Then find the constant k and sketch /fx.y) in three dimensions. I4 marksl (a) Find and sketch the marginal pdf/(x), the conditional pdf ffr11/2), and the conditional cdf F11/2) (b) 4 marks] Find P(XcYlY> 1/2), E(XIY=1/2) and E(XlY>1/ 2). /4 marks/ (c) (d) What is the correlation between...
Question 2 The function r) is defined by 3(x + 1) 1 f12r + 71-4 1+4 () (111) 13 marks Show that f(x)= [4 marks) Find (3) Find the domain off- [2 marks] Given that g(x) = In(x + 1) Find the solution of r if fg(x) = 5, by leaving your answer in terms of e exponential function) [4 marks) (b) Sketch the graph of the function, In)-1-cosx). not by plotting points, but starting with the graph of a...