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