Changes between Version 3 and Version 4 of BoltTutorialAnalytics


Ignore:
Timestamp:
Aug 18, 2008, 4:11:42 PM (16 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BoltTutorialAnalytics

    v3 v4  
    44
    55Suppose you have two alternative lessons for a given concept.
    6 They may be completely different,
    7 or they may differ in appearance.
    86Which is better?
    9 Or is each better for some identifiable subset of students?
     7Or is each better for an identifiable subset of students?
    108To investigate, create a '''micro-experiment'''
    119in which students are randomly shown one lesson or the other,
    12 and then perform an exercise.
     10and then perform the same exercise.
     11
     12The random selection of lesson is accomplished using a new
     13Bolt control structure, '''select''':
    1314{{{
    14 function show_lesson() {
    15     return select(
    16         name('show_lesson'),
    17         valuator('rand'),
    18         lesson(
    19             filename('lesson1.php')
    20         ),
    21         lesson(
    22             filename('lesson2.php')
    23         ),
    24     }
    25 );
     15function my_rand($student, $unit) {
     16    return rand();
     17}
    2618
    27 return sequence(
    28     name('course'),
    29     show_lesson(),
    30     exercise(
    31         filename('exercise.php')
     19select(
     20    name('Conifer/deciduous alternative'),
     21    valuator('my_rand'),
     22    lesson(
     23        filename('conifer_decid.php')
     24    ),
     25    lesson(
     26        filename('conifer_decid2.php')
    3227    )
    33 );
     28)
    3429}}}
    3530
    36 This uses a new control structure, '''select()'''.
    37 This takes a 'valuator' function (in this case, random)
     31The '''select''' takes a 'valuator' function (in this case, random)
    3832and a set of units.
    3933It shows the unit for which the valuator function has the largest value.
     34
     35To see this in action, create a new course with short name "conifer3".
     36The course document is
     37[/trac/browser/trunk/bolt_examples/inc/conifer3.inc here].
     38Note that the '''select''' is followed by an exercise set.
    4039
    4140== Lesson comparison ==
     
    4342After a number of students have passed through the micro-experiment,
    4443you may have enough data to conclude something about your lessons.
    45 To do this, go to the course Control Panel
    46 and click Lesson Compare.
     44To see how this works, go to the course Control Panel and click Lesson Compare.
     45
     46You will be asked to choose a '''select''' unit and an '''exercise_set''' unit
     47(in this case there are only one of each).
     48
     49Next you will be asked about "data snaphots".
     50A data snapshot is a "snapshot" of the contents of your course's database,
     51for the units you have selected, over some time interval.
     52
     53Initially, you will see "insufficient data".
     54For purposes of demonstration, let's run a script that generates
     55synthetic data.
     56Edit ~/projects/test/html/ops/bolt_datagen.php and set
     57{{{
     58$clear_course_data = false;
     59$generate_compare_data = true;
     60$generate_map_data = false;
     61}}}
     62Then run the script:
     63{{{
     64cd ~/projects/test/html/ops
     65php bolt_datagen.php
     66}}}
     67
     68Go back and generate a new data snapshot.
     69Now the lesson comparison will look like this:
     70
     71picture
     72
     73The graphs show, for each alternative lesson,
     74the 90% confidence interval for the mean of the exercise score
     75after that lesson was selected.
     76If (as is the case here) one interval is entirely higher than another,
     77it means that lesson was more effective.
     78
     79Now suppose you want to investigate the effect of student gender -
     80e.g., whether the lessons have different effectiveness for males and females.
     81Under "Break down by", select Sex, and click OK.
     82You'll now see a comparison broken down by sex:
     83
     84picture
     85
     86In addition to breaking down the results by sex or age,
     87you can also filter the results,
     88i.e. to show only results for a particular subset of students.
     89For example, if you select "Female" under "Filter by",
     90and "Age" under "Break down by", you will see the results for female students,
     91broken down by age.
    4792
    4893== Course maps ==