Skip to content
Tactiverge

Hypotheses, comparisons and defining success

Write hypotheses that can fail, choose what to compare against, turn vague words into measurements, and fix your definition of success before you look at the data.

40 min · Self-paced · Free

From question to hypothesis

A research question asks. A hypothesis offers a possible answer, with a reason, that the investigation will test. For the gripper example from the last lesson:

  • Question: Does adding rubber pads increase the weight a two-finger gripper can lift before a smooth cup slips?
  • Hypothesis: Yes, because rubber has more friction against plastic than the bare gripper material, so the same squeeze produces a larger friction force.
  • Prediction: With the same squeezing force, the cup will slip at a higher added weight with pads than without.

The prediction is what you will actually check. It is specific enough that the results could plainly contradict it. If the cup slips at the same weight either way, the hypothesis is in trouble — and that would be a genuine, useful finding.

Scientists often also state a null hypothesis: the "nothing interesting is happening" answer. Here it would be: pads make no difference to the slipping weight. Thinking about the null hypothesis keeps you honest. Your job is not to prove your idea right; it is to find out whether the evidence is strong enough to rule out "no difference".

Compared with what? Baselines

A result means little on its own. Suppose a robot completes a task 70% of the time. Is that good? You cannot tell until you know what it achieves without your new idea. That reference point is called a baseline.

A fair comparison has three features:

  1. Same conditions. The baseline and the new method face the same tasks, materials and difficulties. A new method tested on easy cases and a baseline tested on hard ones tells you nothing.
  2. A fair baseline. It should be a reasonable, honest version of the existing approach — not a deliberately weakened one that your idea can easily beat.
  3. Enough repetitions. Real systems vary from run to run. One run of each is not enough to tell a real difference from luck.

Baselines in the TV-01 proposal

The TV-01 proposal plans to run the same cooperative tasks under three conditions: vision only, force only, and vision combined with force. Each single-sense condition is a baseline for the combined one. If the combined condition does not do better than vision alone during visual dropouts, the central idea is not supported. If it does better than vision alone but no better than force alone, that would suggest vision adds little in those moments. Both outcomes would be informative. Again: this is a plan, and no results exist yet.

Combining measurements from more than one kind of sensor is called sensor fusion. The explorer below lets you experiment with the idea in simulation: compare an estimate built from one noisy or intermittent sensor with one that combines two. Watch what happens to each when one source drops out.

Explorer 03 — Sensor fusion

Two imperfect sensors, one better estimate

POSITION (cm)NO VIEWNO VIEWNO VIEW-40-200204002468101214161820TIME (s)
  • True position
  • Camera reading
  • Odometry dead-reckoning
  • Fused (Kalman)
  • ±2σ uncertainty
  • Camera dropout

Camera · absolute, drops out

3.0 cm
25 %

Long-run share of time with no view, in bursts of about 1.2 s (occlusions).

Odometry · relative, drifts

4.0 cm/s
1.5 cm/s

A constant error in measured speed: its position estimate drifts by bias × time.

More controls
Fusion method

The Kalman filter weights each sensor by its stated noise, tracks its own uncertainty, and estimates the odometry bias while the camera can see.

Show

Root-mean-square error vs truth · lower is better

  • Camera aloneholds last reading in dropouts7.9 cm
  • Odometry alonedead reckoning from start15.1 cm
  • Kalman filterfused estimate0.9 cm
  • Fused, in dropoutsonly samples with no camera1.1 cm

Camera coverage 60 %. Camera error only over frames it saw: 2.9 cm (≈ its σ).

State

Seed 7. The camera saw the target 60 % of the time in 4 dropouts. Error (RMSE): camera alone 7.9 cm holding its last reading, odometry alone 15.1 cm, kalman filter 0.9 cm (1.1 cm during dropouts). Fusion is 88 % better than the better single sensor. Estimated odometry bias 1.53 cm/s (true 1.50).

Seed 7. The camera saw the target 60 % of the time in 4 dropouts. Error (RMSE): camera alone 7.9 cm holding its last reading, odometry alone 15.1 cm, kalman filter 0.9 cm (1.1 cm during dropouts). Fusion is 88 % better than the better single sensor. Estimated odometry bias 1.53 cm/s (true 1.50).

How to read this

Time runs left to right over 20 seconds. The thin solid line is where the object really is. Crosses are camera readings; hatched columns are dropouts where the camera sees nothing. The dashed line is odometry integrated from the start: smooth, but it wanders away as its bias accumulates. The thick line is the fused estimate, with a shaded ±2σ band showing how uncertain the Kalman filter believes it is. The band widens during each dropout and snaps back when the camera returns.

This mirrors Tactiverge's research question: when vision drops out, can local sensing such as force and joint feedback carry the estimate until it returns?

Assumptions & limitations
  • One dimension, a smooth known trajectory and a single object: real tracking is 3-D, with orientation, multiple objects and data association.
  • Noise is white Gaussian with the σ you set, and the Kalman filter is told the true σ values. Real filters must be tuned against noise they can only estimate.
  • Odometry error is a constant bias plus white noise; real drift also comes from slip, scale-factor error and temperature.
  • Dropouts are random bursts, independent of where the object is. Real occlusions often happen exactly when the task gets hard, for example when a gripper covers the object.
  • The camera has no latency and runs at the same 20 Hz as odometry; real cameras are slower and delayed, which the filter would have to compensate for.
  • Figures are from one seeded run of 401 samples; change the seed to see how much the numbers vary by chance.
Compare estimates from a single sensor with an estimate that combines two. Try interrupting one source and see how each estimate copes. This is an illustrative simulation, not data from any experiment.

Operational definitions

Words like "better", "improve", "stable" and "successful" feel clear until you try to measure them. An operational definition states exactly how a vague concept will be measured in your study.

For the TV-01 task of holding a sheet taut between two arms, "improve" could be defined operationally in several ways:

  • Fewer failures: the number of trials in which the sheet is dropped, out of a fixed number of attempts.
  • Better tension control: the average difference between the measured tension and the target tension during the task.
  • Faster recovery: the time taken to return to the target tension after vision returns.

Each is legitimate, and each could give a different answer. That is exactly why the choice must be written down. A good research plan names a primary measure — the one that decides the main question — and may list secondary measures that add detail.

Decide success before you look

Here is one of the most important habits in research, and one of the easiest to break. Fix your measures, your comparisons and your threshold for success before you collect data.

Why? Because once you see results, it becomes very easy, without meaning to, to pick the measure that makes your idea look best. If failures did not drop but recovery time did, you might suddenly feel that recovery time was "the real point all along". With enough possible measures, some will look good just by chance. Deciding in advance protects you from fooling yourself.

The TV-01 proposal states that its success measures will be defined in advance and not adjusted after seeing the data. Writing down your plan before you start — and dating it — is a simple version of a practice researchers call pre-registration.

You can still notice interesting things you did not plan for. Report them honestly as exploratory observations: worth following up, but not as strong as a planned test.

Scope and limitations

Finally, a good question says where its answer will and will not apply. The scope is the range of situations your study covers. Limitations are reasons the result might not apply more widely.

The TV-01 proposal lists several limitations of its own: its low-cost arms cannot do everything research-grade arms can; a small set of test materials cannot represent all deformable objects; and hiding camera frames in software is cleaner than real occlusion, which also changes lighting and creates partial views. Stating these up front does not weaken a project. It tells readers exactly how far to trust the conclusions, and it makes clear what the next study should test.

A template you can use

When you plan your own investigation, try filling in:

  • Question: Does [change] affect [measurement] in [situation]?
  • Hypothesis: I expect [direction of effect] because [reason].
  • Null hypothesis: [Change] makes no difference to [measurement].
  • Baseline: I will compare against [fair existing approach], under the same conditions.
  • Primary measure: [Exactly how it is measured, with units].
  • Success threshold: I will consider the hypothesis supported if [specific result], decided on [date].
  • Scope and limitations: This applies to [situation] and may not apply to [other situations] because [reason].

Project

Paper project: plan an investigation

Choose a question you could investigate at home with everyday, safe materials or with a computer simulation — for example, how the shape of a paper glider affects how far it flies, or how the number of folds affects how much weight a paper beam supports.

Using the template from this lesson, write a one-page research plan. Date it. Do not collect any data until the plan is finished.

You do not need to carry out the investigation for this project. If you later decide to, follow your plan as written and record any changes you make, with reasons.

Deliverables

  • A dated one-page plan with question, hypothesis, null hypothesis and baseline
  • An operational definition and units for your primary measure
  • A success threshold stated before any data collection
  • At least two limitations of your planned study

Knowledge check

Check your understanding

  1. 1. What is the role of a baseline in an experiment?
  2. 2. A team tests their new controller on easy materials and the old controller on difficult ones. What is wrong?
  3. 3. Which is an operational definition of "the gripper performs better"?
  4. 4. After collecting data, a researcher notices that a measure they had not planned looks impressive. What should they do?
  5. 5. Why does the TV-01 proposal compare three conditions (vision only, force only, combined)?

Sign in to track your progress. Reading is free without an account.

Hypotheses, comparisons and defining success — Research and Engineering Methodology — Tactiverge