Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SOlve appropriately Show that it is undecidable, given the source code of a program Q, to tell whether or not any of the following is

SOlve appropriately

Show that it is undecidable, given the source code of a program Q, to tell whether or not any of the following is true:

(i) Q halts on input 0.

(ii) Q is total - that is, Q(y) halts for all y.

(iii) Q(y) = true for all y.

(iv) The set of y on which Q halts is nite.

(v) There is a y such that Q(y) = y.

(vi) Given a second program R, Q is equivalent to R. That is, even though Q and R have different source codes, they compute the same partial function - for all y, either Q(y) and R(y) both halt and return the same answer, or neither halts.

Prove each of these by reducing Halting to them. That is, show to how convert an instance (P, x) of Halting to an instance of the problem above. For instance, you can modify P's source code, or design a new program that calls P as a subroutine. Each of these is asking for a Turing reduction; your reduction does not necessarily have to map yes-instances to yes-instances and no-instances to no-instances - all that matters is that if you could solve the problem, then you could solve Halting.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed
(Deadline: 27.03.2018) Generation of random sequences: While deterministic signals such as square pulses, sinc waveforms, sinuses and cosines are used in specific applications, almost all other real-life signals from econometric series to radar returns, from genetic codes to multimedia signals in consumer electronics are information-bearing random signals. Time sequences: Generate a sequence of 1000 equally spaced samples of a Gauss- Markov process using the recursive relation: X = ax,_ + win = 1,2, ..., 1000. Here assume that Xo = 0. and {Wn} is a sequence of independent identically distributed Gaussian random variables. You can use the randn function in MATLAB to generate zero-mean. unit-variance random variables. Below is given a low-pass filter (a>0) excited by a white noise sequence, and the filter has a real pole at z- a. Plot the output waveform for the following values of a: a=0.5, a = 0.95, a = 0.995. Comment on the effect of the selection of a on the resulting time sequence. Autocorrelation function: In order to estimate the autocorrelation function of this discrete process, one can apply the formula: R. (m) = lim - EN_ N-CON Ln=1XnXn-m= E(Xn*n-m). However, since we have a finite number of samples an approximation would be Rx(m) = N_m Zn=1 XnXn-mim = 0,1, ...,64. Notice we shorten the data and consider only the overlapping samples in the window starting at n=1 and the window starting at n-m+1. The theoretical autocorrelation for such a signal model is also known as: R(m) = ozalm. where on is the input process variance. Plot the autocorrelation sequence in three separate graphs for the values of a= 0.5, a = 0.95, a = 0.995, but superpose in each graph the analytical and estimated Rx (m) and R. (m) correlation functions.ECON20110/ECON30370 1. Consider the regression model: y = Xf u (a) State the Gauss-Markov assumptions required to show that the Ordinary Least Squares estimator of the coefficients is the Best Linear Unbiased Estimator (BLUE) [5 marks] [b) Prove that the OLS estimator is unbiased if the Gauss-Markov assumptions hold Show relevant steps and assumptions [10 marks] (c) Show that the variance covariance matrix of the OLS estimator is Var (8 X) -6-(XX) [5 marks]Exercise 5 Consider the multiple regression model y = XB + e. The Gauss-Markov conditions hold and also ~ MVN(0, 21). Let Q = (CA -v)' [c(x'X)-10'] (C3 -v), where C is an m x (k + 1) matrix. Show tha EQ - mo? + (something > 0). Exercise 6 Consider the multiple regression model y = X3 + e. The Gauss-Markov conditions hold and also er MVN(0, 021). Evaluate E (Y'AY - 62) 2 where A = 1 n-k+1 [1 - X(X'X)-1X'].1. Consider the Markov chain with three states, S=(1,2,3), that has the following transition matrix: 0.7 0.2 0.1 P = 0.1 0.5 0.4 0.3 0.3 0.4 with initial distribution 7 = (0.6;0.4; 0.0). 1) Plot state transition diagram of the Markov Chain; 2) Find the Markov transition matrix after 2 steps; 3) Find the Markov Chain distribution after two steps; 4) Find the Markov chain realization: P($1=E2, 52= El, (4= E3, $7=E1). 5) Find the stationary distribution of the Markov Chain - (co)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Finite Math And Applied Calculus

Authors: Stefan Waner, Steven Costenoble

7th Edition

1337515566, 9781337515566

More Books

Students also viewed these Mathematics questions

Question

What are some of the possible scenes from our future?

Answered: 1 week ago