Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnlineStats.jl #8

Open
carstenbauer opened this issue Nov 22, 2018 · 1 comment
Open

OnlineStats.jl #8

carstenbauer opened this issue Nov 22, 2018 · 1 comment

Comments

@carstenbauer
Copy link
Owner

There might be a natural overlap with OnlineStats.jl we can exploit.

Something along the lines of

o = Bootstrap(Mean()) # bootstrap the mean estimator
fit!(o, data)
confint(o, .68) # .68 .95 .99 rule

obs_jackknife = (mean(obs) - jackknife_error(mean, obs), mean(obs) + jackknife_error(mean, obs))
obs_heuristic = (mean(obs) - error(obs), mean(obs) + error(obs))

@show abs.(confint(o, .68) .- obs_jackknife);
@show abs.(confint(o, .68) .- obs_heuristic);
@carstenbauer
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant