← Nathalie M Nyanga · Main website
Public learning · experimentation · programming · research

Nathalie Lab

Try things. Test ideas. Fail safely. Learn why. Build the skill.

An interactive lab that turns everyday questions into small experiments. Anyone can begin by playing. Learners can then inspect the data and edit real runnable code. Professional visitors can examine the research logic, design choices and potential impact.

Mission

Make technical ideas easier to enter and meaningful to explore.

Nathalie Lab is a testing ground for learning, research communication and programming. A visitor starts with a familiar problem rather than jargon. They make a choice, see a consequence, inspect the data created by that choice, and can then reproduce the logic in code.

🎮 Try🧪 Test💥 Fail safely💡 Learn💻 Apply🔬 Investigate
Impact question: Can playful, low-pressure experimentation help people understand data, money, evidence and programming concepts that may otherwise feel inaccessible?
How it is different
Problem first
Experience before terminology.
No punishment
Wrong choices become learning moments.
Real skills
Move from play into editable code.
Professional depth
Methods, assumptions and limitations stay visible.

Who can use it?

Curious young people, beginners, students, researchers, educators and professional visitors can enter at different depths without needing separate websites.

Working experiments

Choose a Lab

💰

Make K100 Last

Learn scarcity, trade-offs, uncertainty and how choices become data.

🕵️

Data Detective

Investigate strange values, missing information and possible duplicates.

🤖

Trust the AI?

Test claims by asking about samples, selection and sources.

💰 Make K100 LastDay 1/5 · K100

Runnable programming playground

Edit the code yourself

This editor runs real Python (via Pyodide) and real R (via webR) directly in your browser — genuine language engines, not a simulation. Stata is shown as a read-only reference, since Stata has no browser runtime anywhere. Pick a lesson and a language, edit the code, press Run, break it, fix it and try again.

Ready.
Professional lock-in

What Nathalie Lab demonstrates

For researchers, employers and collaborators: Nathalie Lab is an applied research portfolio built around working experiments. The public-facing activities are the entry point; underneath them are research questions, analytical decisions, programming logic, assumptions, limitations and opportunities for evaluation.

QuestionPrototypeTestAnalyseDocumentImprove
6+Analytical methods demonstrated
3Working, testable experiments
2Real language engines running in-browser (Python & R)
100%Assumptions & limitations disclosed
Methods this lab is built on

The playful interface sits on top of real research methodology

OLS / Ridge / Lasso Regression Random Forest Spatial Econometrics Event-Study Design Experimental & RCT Design GIS & Remote Sensing (ArcGIS, GEE) Monte Carlo Simulation Reproducible Documentation

These aren't abstract labels: the Money Simulation lab is a simplified Monte Carlo model with a decision tree and probability shocks, and Data Detective mirrors the validation step of an actual hedonic pricing study — the same range checks, missingness review, and duplicate provenance logic used before a regression is ever run. See the applied version in the research portfolio.

Advanced exercise Harder · 0/5 found

Data Detective: Professional Edition

The beginner version earlier on this page has three fairly obvious issues. This dataset has five subtler ones — the kind that survive a first pass and only surface under real scrutiny.

IDNameAgeEnrolledSpending
1001Chanda242023-05-01K130
1002Mary-312023-05-02K200
1003Brian292031-01-15K170
1004Ruth192023-05-04200 kwacha
1005Joseph342023-05-05K9800
1001Chanda M.412023-06-11K90
Advanced exercise Advanced

Monte Carlo Simulation: Professional Edition

A single run of the Money Simulation model gives you one outcome — that could just be luck. Run it 2,000 times instead and you get a distribution: a mean, a spread, a worst case and a best case. This runs the real Python engine live, right here.

Click Run to simulate 2,000 independent 5-day runs and see the distribution of outcomes.

Evaluation, integrity and what's next

Impact to test

Do people understand a concept better after interacting with it? Do they retry after an error? Can they transfer the idea to a new example?

Research integrity

Current examples use synthetic demonstration data. They do not claim to represent national statistics or actual population behaviour.

Development path

Real Python (Pyodide) and R (webR) execution are live. Accessibility/audio modes, user testing, learning analytics and documented research experiments can be added incrementally next.

Lab Notes

What I tested, what failed, what I learned.

A research-notebook style blog for showing the process behind Nathalie Lab. Instead of publishing only polished results, each note can document a question, a test, a failure or surprise, what it taught me, and what I would change next.

Data Practice

A duplicate is a clue, not an automatic deletion

Why a cleaning script should flag suspicious records before deciding what to remove.

Experiment Log

What changes when one assumption changes?

Using a small simulation to make model sensitivity and uncertainty visible.

Research Communication

Can one idea work for different audiences?

Keeping the research concept constant while changing the route into it.