Comments (5)
Further inspection reveals extract(out, "mu_a[251]")
is a vector of zeros, with a NaN Rhat
, and a NaN n_eff
.
from us-potus-model.
from us-potus-model.
Not really, if one were to perturb mu_a[current_T]
to something like mu_a[current_T] = raw_mu_a[current_T] * sigma_a
, one still gets warning messages after running 2016:
Warning messages:
1: The largest R-hat is 1.09, indicating chains have not mixed.
Running the chains for more iterations may help. See
http://mc-stan.org/misc/warnings.html#r-hat
2: Tail Effective Samples Size (ESS) is too low, indicating posterior variances and tail quantiles may be unreliable.
Running the chains for more iterations may help. See
http://mc-stan.org/misc/warnings.html#tail-ess
from us-potus-model.
from us-potus-model.
@pqnelson This should be fixed now. The large standard deviation on the national vote parameter was leading to some tough variance estimation. That parameter has been removed from the latest models though and I think you'll get stable model results without convergence errors. Please let me know.
from us-potus-model.
Related Issues (20)
- Question about `state_correlation_error` variance estimation. HOT 4
- Release CSV with results of simulations HOT 1
- CSV extract of polls has malformed dates HOT 1
- Unable to locate file HOT 1
- 2008 polls HOT 1
- What is the goal?
- Hello world
- Unused parameter in stan model HOT 1
- Add estimates and data from Senate and House models? HOT 1
- Extra levels in factor for population variable HOT 1
- The website appears to calculate senate ties incorrectly - and therefore also the total win probability HOT 4
- stringsAsFactors = TRUE prevents use of state polling data by stan models fit to 2008, 2012, and 2016 HOT 1
- Hi HOT 1
- Delegate Confidence Interval conflicts with estimated probability of win.
- Daily model output
- Sorting by state in Key States bad alphebetization
- Error running 2008_model.R
- Backtesting Results HOT 2
- How to run this? HOT 2
- Possible typo in `final_2016.R`? 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 us-potus-model.