i need help with 2b please is a set of input values, Y- 2. In this question, we reuse the notation of lecture 37: X-{xi, ,x , m-1) is a set of hash values, and H is an [X → Y)-valued random variab...
4. We have n statistical units. For unit i, we have (xi; yi), for i-1,2,... ,n. We used the least squares line to obtain the estimated regression line у = bo +biz. (a) Show that the centroid (x, y) is a point on the least squares line, where x = (1/n) and у = (1/n) Σ¡ı yi. (Hint: E ) i-1 valuate the line at x = x. (b) In the suggested exercises, we showed that e,-0 and e-0, where...
2. Suppose we are given data on n observations (x,Y), i 1,... , n, and we have a linear model, = SXY/SXX and A,-ㄚ-Ax be the least-square estimates so that E(X) = β0 +ATp Let given in lecture. (a) Show that E(5xx)-A5xx and E(Y)-Ao +A2. (b) Use (a) to show that E(A)-A and E(A)-A. În other words, these are unbiased estimators (c) The fitted values Yi = ArtAz; are used as estimates of E(K), and the residuals ei = Y-...
4. We have n statistical units. For unit i, we have (x; yi), for i 1,2,...,n. We used the least squares line to obtain the estimated regression line bobi . (a) Show that the centroid (z, y) is a point on the least squares line, where x-(1/n) Σ-Χί and у-(1/ n) Σ|-1 yi. (Hint: Evaluate the line at x x.) (b) In the suggested exercises, we showed that e,-0 and where e is the ith residual, that is e -y...
I need to create a MATLAB function, bvp_solve.m, to approximate the solution y(x). The function takes the number of grid points n as an input. The outputs are grid vector x and the solution vector y %% This is the function i have so far: function [xi, yi] = bvp_solve(n) % BVP_SOLVE computes the solution y(x) of a two-point boundary value problem % using finite difference method (FDM). % The governing equation is % y''' = -y + (x -...
2. Explain in words, and words only, the following properties of expected values. NOTE: X and Y are random variables and k is a constant. (a) E(k) = k (b) E(X+Y) = E(X) + E(Y) (c) E(X/Y) + E(X)/E(Y) (d) E(X+Y) E(X)*E(Y) (unless what?) (e) E(X2) # (E(X)]? (1) E(kX) = E(X) 3. For random variable X with mean H. variance is defined var(X) = Ef(X-M.)'. Show how variance can be expressed only in terms of E(X) and E(X). 4....
Discretization, ODE solving, condition number. Consider the differential equation 5y"(x) - 2y'(x) +10y(x)0 on the interval x E [0,10] with boundary conditions y(0)2 and y (10) 3 we set up a finite difference scheme as follows. Divide [0,10] into N-10 sub-intervals, i.e. {xo, X1, [0,1,. 10. Denote xi Xo + ih (here, h- 1) and yi E y(x). Approximate the derivatives as follows X10- 2h we have the following equations representing the ODE at each point Xi ,i = 1,...
Question 2 We define, for a given integer m, 1 sism, h Xi = (i – 1) m-1' 1 X1 1 X2 The mx2 matrix X is defined as: X = 1 Xm [sin txi sin itx2 and the m X 1 vector Y is defined as: Y = 0.1 : [sin πm. = a) Create a function which for inputs m (a scalar) and v [v1; v2] (a column vector of 2x returns the scalar res given by res...
Please help me with QUESTION 2. 1. Consider the electrical system shown below, for which the input variable u, the output variable y, and the state variables xi and x2 have been specified. R L + C (a) Determine the state-space model of the system (b) Show that the transfer function (from u to y) has the form bis H(s)=2+ajs+ a0 by relating (ao, ai, bi) to (R, L, C) (c) Show that the frequency response function (from u to...
FR2 (4+4+4 12 points) (a) Let XI, X2, X10 be a randoin sample from N(μι,σ?) and Yi, Y2, 10 , Y 15 be a random sample from N (μ2, σ2), where all parameters are unknown. Sup- pose Σ 1 (Xi X 2 0 321 (Y-Y )2-100. obtain a 99% confidence interval for σ of having the form b, 0o) for some number b (No derivation needed). (b) 60 random points are selected from the unit interval (r:0 . We want...
units 1. Recall that we write XI = x if X ~ Mr where M is a mass and we set ћ = c = 1. Find X] for the following quantities X in D spacetime dimensions (a) Voltage V. (b) Current I. (c) Resistance R. (d) TorqueT (e) Moment of inertia I. (f) The area A of a SD2 sphere (which can surround an object in D - 1 space dimensions. (g) The electric flux of an electrically charged...