@extends('layouts.app') @section('content')
Item Statistic Report
@if($questionStatisticList != null && count($questionStatisticList)>0) @foreach($questionStatisticList as $item)

{{$item->questionID}}         Correct Answer: {{$item->correctAnswer}}        Item Difficulty Index: {{number_format($item->qustiondDifficultIndex,2)}}

@if($item->itemStatisticList != null && count($item->itemStatisticList)) @foreach($item->itemStatisticList as $item1) @endforeach
Choice Total Percent Mean Score Item Difficulty
{{$item1->itemLabel}} {{$item1->totalAnswers}} {{number_format($item1->percent*100,0)."%"}} {{$item1->meanScore}} {{$item1->itemDifficult}}
@endif

@endforeach @endif
@endsection