{{-- analysis/sample.blade.php --}} {{-- Sample composition view: N, sex, age, lieu distribution --}} {{-- Legacy: show_table_StudyQuery_sample() --}} @extends('layouts.app') @section('content') @include('components.analysis-nav', ['activeTab' => 'sample']) @include('components.analysis-filter', ['formAction' => route('kms.study.sample', $study->Id)])
| Echantillon | |||
|---|---|---|---|
| N total | {{ $sample['total'] }} | ||
| Répartition Sexe | |||
| Hommes | {{ $sample['sex']['H'] }} | {{ $sample['sex']['H_pct'] }}% | |
| Femmes | {{ $sample['sex']['F'] }} | {{ $sample['sex']['F_pct'] }}% | |
| Répartition Age | |||
| Moyenne | {{ $sample['age']['avg'] ?? '-' }} | Ecart-type | {{ $sample['age']['std'] ?? '-' }} |
| Min | {{ $sample['age']['min'] ?? '-' }} | Max | {{ $sample['age']['max'] ?? '-' }} | {{ $bracket['label'] }} ans | {{ $bracket['count'] }} | {{ $bracket['pct'] }}% | @endforeach {{-- Lieu Distribution --}} |
| Répartition Lieu | {{ $lieu['lieu'] ?? '(vide)' }} | {{ $lieu['count'] }} | {{ $lieu['pct'] }}% | @endforeach |