I have a sampled data for two variables y and x, where y is the dependent and x is the independent variable. The two variables are related as
$A\frac{dy}{dt} + y = B\frac{d^2x}{dt^2}+C\frac{dx}{dt} + Dx $ , where A, B, C and D are constants
My question is can I do a linear regression on the following equation to find values of A, B, C, D?
$y = B\frac{d^2x}{dt^2}+C\frac{dx}{dt} + Dx - A\frac{dy}{dt} $
I calculate the the derivatives by finite differences. If above is valid, how do I find the fitted values of y (with the presence of its derivative on right hand side)?
Edit: x and y are current and voltage signals resp.
dy/dt = ay + ... + u
, then the erroru
doesn't need to be necessarily correlated with the levely
. The discretized version could be with appropriate assumptions a regression ofy_t - y_{t-1}
ony_{t-1}
and functions of x, which doesn't have an "endogeneity" bias with OLS. Otherwise, one of the initial applications of GMM (generalized method of Moments) was estimating linearized Euler equations with endogeneity. $\endgroup$