Solving haar wavelet transform - information-retrieval

I am trying to understand the haar wavelet transform. Could somebody confirm if my answer is correct or tell me what I am doing wrong. This is the problem I tried to solve:
If anything is unclear, please ask.

If I compute the fast wavelet transform (FWT) of r using the Haar wavelet filters, I expect to get r1. So if that was the question, r1 is the answer.

Related

Estimating the regression to the mean in R

I am working with a set of 42345 patients, from those, I establish subsets as Obese/non-Obese etc
I am wondering if there is a way in R to estimate the regression to the mean.
This may be a good resource in case someone who knows base R can help me. From this paper, I would be interested in expressing this equation in R:
Thank you very much in advance.
Best regards

How to show all possible solutions with lp solve with r

My idea is to start using lp solve in order to solve a linear programming model. As a result, I studied the lp function and his components.
However, one thing which is not clear to me is how do I display all possible optimal solutions using lp solve in R without my variables be binary?
I would appreciate an easy example to better understand.
Thanks,
David

Solve Algebraic Riccati Equation in R

I know that it's quite simple to solve the equation in Matlab. But is there a way to solve it in R as well? I need it for my Kalman filter implementations.

Derivation of the equation of backpropagation algorithm

Can someone provide a derivation of the equation he gets on 1:15 using quotient rule https://www.youtube.com/watch?v=aVId8KMsdUU&index=18&list=LL2gry7n2BsijUeah-oFnPSg
Pretty simple question, but I get another equation, so I'm stuck.
Thanks in advance.
Your question probably belongs on math.stackexchange.com though.

How do I solve a maximization equation with constraints in R?

I'm having difficulties solving a maximization problem with constraints in R.
I've tried using constrOptim(), but i can't figure out what theta is or should be equal to.
Can anyone help?
Use the logarithm to get linear constraints and then use the constrOptim function.

Resources