Regression and Statistical Inference
Hypothesis tests, regression, multicollinearity, residual diagnostics and bootstrap intervals on 442 patient records.
PyBox / JupyterLab on Android
Tap New Notebook. PyBox sets up JupyterLab, starts it on localhost and opens it in your browser. Pick one of 30 notebook templates, blank included.

The first time you open a notebook, PyBox downloads JupyterLab, Matplotlib, ipywidgets, ipympl and a touch plugin, and shows the progress. After that the server starts on localhost port 8888 and JupyterLab opens in your browser. Notebooks are normal .ipynb files in your PyBox folder.

A blank notebook and 29 that run top to bottom on a phone, each teaching a real method with real data.
Hypothesis tests, regression, multicollinearity, residual diagnostics and bootstrap intervals on 442 patient records.
The Keeling CO2 curve: decomposition, stationarity tests, ACF and PACF, a seasonal ARIMA model and residual checks.
Joins, window functions, CTEs and built-in statistics, moving between SQL and pandas.
Integration, importance sampling, option pricing, bootstrap intervals and permutation tests.
Motion, oscillators and orbits, integrated and plotted.
Shapely and pyproj on real coordinates.
Filters, spectra and the FFT.
Segmentation, filters and measurements.
k-means, hierarchical clustering, PCA and more.
Tensors, autograd and a small network.
Pipelines, validation and models.
NumPy is the foundation of numerical computing in Python. Covers arrays, broadcasting, linear algebra, random generation, and vectorised operations.
Matplotlib is Python's core plotting library. Covers line charts, scatter plots, histograms, subplots, 3D surfaces, and annotations.
Pandas is the go-to library for tabular data manipulation. Covers DataFrames, groupby, merging, time-series, missing data, and method chaining.
Seaborn builds on Matplotlib to produce statistical graphics with less code. Covers distribution plots, categorical charts, pair grids, heatmaps, and regression plots.
SciPy extends NumPy with scientific and engineering algorithms. Covers hypothesis testing, optimization, integration, curve fitting, and signal processing.
Track a year of income and spending with pandas: monthly totals, category breakdowns and savings rate.
Analyse a class set of marks: distributions, rankings, study-time correlation and a simple pass predictor.
Fix a deliberately messy table: missing values, duplicates, wrong types, bad text and outliers.
Read, write and transform CSV and JSON files with the standard library only.
Count words, find the most common terms and compare two texts, using only the standard library and matplotlib.
Exercises with built-in checks: variables, strings, loops, lists, dictionaries and functions.
Systems of equations, determinants, eigenvectors, projections and the SVD, with plots.
Limits, derivatives, integrals, series and differential equations done symbolically.
Root finding, numerical integration and ODE solvers, with error analysis.
Run t-tests, chi-square tests and a power simulation, and learn how to read a p-value.
Simple harmonic motion, beats, standing waves and resonance, simulated and plotted.
Time searching and sorting algorithms and compare them with their Big-O growth curves.
Zero, first and second order reactions, half-lives and the Arrhenius equation, simulated and fitted.
Install PyBox, tap New Notebook, choose a template and name the file. PyBox sets up JupyterLab the first time and opens it in your browser on localhost.
Yes, after the first setup. The server runs on the device.
Yes. They come as prebuilt Android packages, or install more with %pip inside a notebook.
As .ipynb files in the PyBox folder in shared storage, so you can copy them to a computer.
How to run JupyterLab on Android with PyBox: first-run setup, opening a notebook, interactive Matplotlib, adding packages and saving your work.
ReadRun JupyterLab and marimo notebooks on your phone: 71 templates, a notebook manager with export and convert commands, and how the two compare.
ReadHow to install and use NumPy, pandas and Matplotlib on an Android phone or tablet, with a short working example and tips for memory and plotting.
Read