Comments (4)
Some initial thoughts - https://gist.github.com/MatthewCaseres/d338f85d768025623dcded0dd92e33ec.
edit: this is kind of half-baked, I'll get something higher quality in a couple days and submit as PR
from experienceanalysis.jl.
First thinking about the exposed API and how it would look for users.
Currently, the method looks like:
exposures(basis,from,to,continued_exposure=false)
But if instead it was:
exposures(
basis,
issue,
termination_date, # can be a concrete Date or missing if `study_end` is given
continued_exposure=false;
# kwargs
study_start = nothing, # if nothing then start at `from`
study_end = nothing, # if nothing, continue through end of last exposure
)
Does this allow for the control/convenience you think we should have?
from experienceanalysis.jl.
I'm working on a PR which should come in the next couple of days, I think some of this will get worked out there.
I have another issue which is saying that we should remove continued exposure though - #8
from experienceanalysis.jl.
I believe this can be closed
from experienceanalysis.jl.
Related Issues (16)
- What other functionality should be included? HOT 1
- stricter typings HOT 1
- remove continued_exposure HOT 4
- Change representation of date intervals HOT 3
- `from > to` results in bad interval HOT 5
- can exposure allocate just once? HOT 2
- TagBot trigger issue HOT 4
- Include policy timestep HOT 1
- creation of empty exposures HOT 2
- handling of deaths that occur on policy anniversary HOT 3
- (((Leap Day + Year) + Year) + Year) + Year != Leap Day + 4 Years HOT 2
- ability to toggle creation of partial exposures on left and right HOT 3
- stricter types, change Period to DatePeriod HOT 1
- AnniversaryCalendar continued exposure HOT 3
- Performance left on table by not skipping ahead to study start region
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 experienceanalysis.jl.