Comments (3)
suggested fix - add a conditional that only computes the above line if t-ll <= x.dims[1][1]
I tried this out in a commit that's in the attached branch
from blues.jl.
Okay, new update. The conditional should actually be t - ll >= t1 - 2*unit.(t1)
. The 2 is because, for our lagged M matrix, at t = 1yr, the values are 0, and we want to actually have values for the first row of our E matrix.
from blues.jl.
Okay, I think this is my final opinion on this. Except I'm now wondering if this is moot because we shouldn't be subsampling M.
But, for what it's worth it, I think the right conditional is
xtime = x.dims[1]
return sum([E[At(ll),:] ⋅ x[At(t-ll),:] for (ii,ll) in enumerate(lags) if t-ll in xtime])
from blues.jl.
Related Issues (17)
- TODO list
- sliders don't work in notebook HOT 1
- `Diagonal` syntax needs improvement
- `notebooks/notebook.jl` requires environment update HOT 2
- Source water inversion with multiple state variables HOT 5
- test for M-matrix with no time lag (steady-state immediately propagated throughout depth assumption) HOT 2
- consolidate repeated code in runtests HOT 1
- Estimate and DimEstimate multiplication issue(s) HOT 3
- `DimEstimate` loses dims on uncertainty/sigma
- auto deployed docs are missing HOT 3
- remove Manifest when UnitfulLinearAlgebra in general registry
- show() DimEstimate that has empty units HOT 6
- runtests breaks due to UnitfulLinearAlgebra.ldiv problem HOT 1
- left-uniform test with prior requires vectors cast to UnitfulMatrix
- update/replace `DimEstimate`
- Add multiple variables in Estimate HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blues.jl.