EconStatsCraft rigorous, plain-spoken econometrics
Econometrics that explains itself.
Regression, panel data, time series and the whole battery of tests. Every result is followed by a verdict you can defend.
Load a dataset to see it here.
EconStatsCraft › Monte Carlo experiment
Estimates the same model on thousands of synthetic samples so you can see the sampling distribution itself, not one draw from it. It is the only way to check whether the standard errors are telling the truth - the coverage of a nominal 95% interval is measured rather than assumed.
Every other module estimates something from data you cannot check. Monte Carlo inverts that: you choose the truth, generate data from it, run the estimator thousands of times, and compare what it reports against what you know. It is the only way to see an estimator's properties directly rather than taking a theorem's word for it - and the only way to find out what happens when the theorem's conditions do not hold.
To settle any question of the form "does this matter". Every other result in this app is ONE draw from a sampling distribution, with the standard error as an estimate of that distribution’s width taken on faith. This is the only place you can check whether that faith is warranted.
Fix a data-generating process with known parameter \beta. For r=1,\dots,R: draw a sample, compute \hat{\beta}_r and its reported standard error \widehat{\mathrm{se}}_r, and record whether the nominal 95% interval covered \beta. Then BIAS is \frac{1}{R}\sum_r\hat{\beta}_r-\beta; the TRUE standard error is the standard deviation of \{\hat{\beta}_r\} across replications; and COVERAGE is the share of intervals containing \beta, which should be 0.95. The Monte Carlo standard error of a coverage estimate is \sqrt{p(1-p)/R}, so R=3{,}000 pins a coverage near 0.95 to about \pm0.4 percentage points - precise enough that a reading of 0.776 is unambiguous.
\text{coverage} = \frac{1}{R}\sum_{r=1}^{R} \mathbf{1}\left[\,|\hat\beta_r - \beta| \le 1.96\,\widehat{se}_r\,\right]
Generate 3,000 samples of 100 observations with heteroskedastic errors and a true slope of 1, then estimate by OLS with CLASSICAL standard errors. The mean estimate is 1.0046, so bias is 0.0046 - OLS is unbiased under heteroskedasticity, exactly as the theory says. But the estimates actually spread with a standard deviation of 0.2734 while the average reported standard error is 0.1723, only 63.0% of the truth. Coverage of the nominal 95% interval is 77.6%. Nothing is wrong with the coefficient; everything is wrong with the confidence interval, and that is the distinction the whole exercise exists to make visible.
| If you see this | It means | Do this |
|---|---|---|
| Coverage well below 95% | Standard errors too small | The reported uncertainty is understated |
| Coverage above 95% | Standard errors too large | Conservative: valid but wasteful of power |
| Bias near zero, coverage poor | The point estimate is fine, the SE is not | The commonest and most dangerous pattern |
| Results changing with the seed | Too few replications | Raise R and report the Monte Carlo standard error |
| Estimates below the truth far from 50% | A skewed sampling distribution | The symmetric interval is the wrong shape |
| Everything perfect | The DGP matches the estimator exactly | Break an assumption; that is the interesting experiment |
OLS diagnostics, for detecting on real data what this demonstrates on simulated. Bootstrap, which resamples data rather than generating it.
F-test, Wald & Chow · Structural breaks & stability
Line chart · Area chart · Bar chart · Stacked bar · Scatter plot · Bubble chart · Histogram · Box plot · Pie chart · Heat map · Rebased to 100 · Lorenz curve and Gini
World map · Bivariate map · Flow map · India - state map · India - district map
Descriptive statistics · Summary by group · Two-way table · Classical statistical tests
Multiple regression (OLS) · Logit / Probit · Tobit (censored) · Truncated regression · Multinomial logit · Ordered logit / probit · Quantile regression · Poisson / Negative binomial
Time-varying coefficients (Kalman) · Unit root tests · Correlogram (ACF / PACF) · ARIMA / SARIMA · Rolling-origin cross-validation · Theta method · Unobserved components · STL forecasting · Forecast combination · Markov regime switching · Change frequency (resample) · ARCH / GARCH volatility · Decompose & filter · Spectral analysis · Exponential smoothing · Forecast accuracy
Yield curve (Nelson–Siegel / Svensson) · Dynamic factor model · Dynamic regression (ARIMAX) · Structural VAR · VAR · Granger causality · Cointegration · VECM · ARDL & bounds test
Panel regression · Panel cointegration tests · Heterogeneous panel: Mean Group & PMG · Gravity model of trade · Dynamic panel GMM · Panel diagnostics · Panel unit-root tests
Principal components (PCA) · Factor analysis · Cluster analysis
Conjoint analysis · MaxDiff (best–worst scaling) · TURF - reach of a product line · Price sensitivity (Van Westendorp) · Market basket analysis · Perceptual map · Scale reliability (Cronbach’s alpha) · Key driver analysis
Spatial autocorrelation · Spatial regression · Heckman selection · Instrumental variables (2SLS) · Difference-in-differences · Staggered difference-in-differences · Regression discontinuity · Matching & weighting · Oaxaca–Blinder decomposition
Black–Scholes option pricing · Bond price, duration & convexity · Merton distance to default · EMI / home loan planner · CAPM / beta estimation · Multi-factor model · Portfolio optimization · Value at Risk & Expected Shortfall · Performance & drawdown · Time value of money & NPV/IRR · Equity valuation (DDM, FCF, residual income) · Cost of capital (WACC) · Binomial option pricing · Option strategies (payoff & profit) · Forwards, futures & swaps · Credit risk & Basel capital · Extreme value theory (tail risk)
Life table · Life annuity · Life insurance pricing · Chain ladder reserving · Buhlmann credibility · Survival analysis · Mortality graduation · Aggregate loss model · Ruin probability · Multi-state Markov model · Loss severity fitting
Monte Carlo experiment · F-test, Wald & Chow · Structural breaks & stability
Regression vs machine learning · Ridge / Lasso / Elastic Net · Random forest · Gradient boosting
EconStatsCraft rigorous, plain-spoken econometrics
Regression, panel data, time series and the whole battery of tests. Every result is followed by a verdict you can defend.
Load a dataset to see it here.
Pick the example closest to your question. You get a spreadsheet with the right columns and a few rows showing the expected format - replace the numbers with your own, then paste or upload it back.
Copy the header row from the table above (or from the downloaded template), put your own rows underneath, and paste the whole thing here. It is checked against the layout before anything is imported.
Or click a row in the preview below.
For a units or notes row.
Search every source at once. World Bank indicators need countries and years; everything else loads in one click.
Loading the catalogue…
The engine stays loaded, so this is quick - and it leaves your open tab and panel layout alone.
⌘/Ctrl+Enter runs the current analysis. ⌘/Ctrl+P exports the session as a PDF. Esc closes this.
In the Notebook: Enter starts a new block and
Shift+Enter a new line inside one; Backspace at the start
joins back into the paragraph above; / on an empty line inserts anything.
⌘/Ctrl+B, I, E, H and
M apply bold, italic, code, highlight and maths.
#, ##, -, 1., > and
``` at the start of a line convert it.
Sign in to run unlimited analyses.
Scroll to pan · Esc to close