๐ŸŽฒ

Observation Planning

Generator of statistically valid random observations

Overview

The Planning module is the statistical heart of the application. This is where the random observation plan that guarantees the scientific validity of the study is generated.

Randomness is essential in Work Sampling: always observing at the same time would introduce biases that would invalidate the results.

Plan Configuration

General Parameters

Parameter Description Example
Observations per day How many observations to generate each working day 30 obs/day
Working days Which days of the week to include Mon-Fri
Working schedule Range of hours for the observations 08:00 - 17:00

Multiple Time Slots

If your workday has breaks (lunch, rests), you can configure multiple time slots:

Example: Workday with lunch break

โœ“ Slot 1: 08:00 - 13:00 (Morning)
โœ— 13:00 - 14:00 (Lunch - excluded)
โœ“ Slot 2: 14:00 - 18:00 (Afternoon)

Configuration Per Day

Each day can have its own schedule configuration. This is useful when:

  • Fridays with a reduced workday
  • Rotating shifts
  • Special days with different schedules

Random Generation Algorithm

The algorithm guarantees a uniform and random distribution of observations:

๐Ÿ”ข Generation process

  1. 1 Calculates total available time (time slots ร— days)
  2. 2 Divides the day into minimum intervals (typically 1 minute)
  3. 3 Selects N random moments using uniform distribution
  4. 4 Verifies minimum separation between consecutive observations
  5. 5 Sorts chronologically and assigns to each work station

Calendar View

Once the plan is generated, you can view it in an interactive calendar that shows:

  • Daily view: Ordered list of all observations of the day
  • Weekly view: Summary of observations per day
  • Status indicators: Pending, Completed, Missed
  • Overall progress: Study progress bar

Observation States

Pending

Not yet performed

Completed

Observation registered

Missed

Could not be performed

Regenerate the Plan

You can regenerate the observation plan at any time:

  • Regenerate specific day: Only affects pending observations for that day
  • Regenerate all: Creates a new complete plan (โš ๏ธ already registered observations are kept)

โš ๏ธ Important

Regenerating the plan does not delete already registered observations. It only affects pending (unperformed) observations.

Add Additional Days

If you need to extend the study beyond the original dates:

  1. Click on "+ Add Days"
  2. Specify how many additional days
  3. The system automatically generates new random observations

Statistical Distribution

The generator ensures observations are evenly distributed throughout the study period, avoiding:

  • Excessive concentration at certain hours
  • Predictable patterns that workers can anticipate
  • Biases from high/low activity periods

๐Ÿ’ก Pro tip

For long studies (+2 weeks), regenerate the plan weekly. This keeps randomness and prevents workers from memorizing the patterns.