2. Maths Primer Flashcards
What is constrained optimisation?
Minimising or maximising an objective function subject to equality constraints
When do we use the Lagrangian?
When dealing with constrained optimisation
Steps of the lagranian
- Set up the lagrangian
- Find the partial derivatives for all variables plus lambda
- Solve the partial derivatives simultaneously to find the values of the variables
What is a probability density function?
It is a function which gives the probability of a certain value or range of values being obtained f(x)
What is a cumulative distribution function?
A function which gives the probability of a any value below a certain point being obtained F(x)
Expected value of continuous variable x
E(x) = the integral of xf(x) for all x
What is the expected value of a discrete random variable
E(y) = the sum of all values of yg(y)
What is the equation for variance
Var(z)=E(z^2)- E(z)^2
What is E(x-b) equal to?
E(x)-b
What is E(ax-by) equal to?
aE(x)-bE(y)
What is var(x+b) equal to?
Var(x)
What is var(ax-by) equal to?
a^2 x var(x)- b^2 x var(y) + 2abcov(x,y)
What is the equation for the covariance of x and y
Cov(x,y)= E(xy)-E(x)E(y)
What is the proof that x and y are independent?
Prob(x n y) = prob(x) x prob(y)
What is a necessary bit not sufficient condition for x and y to be independent?
E(xy) = E(x)E(y)- cov(x,y) = 0