Prototyping with R shiny: Video and Quiz Analysis in MOOCs

22
Prototyping with R shiny: Video and Quiz Analysis in MOOCs Tim Vogelsang

Transcript of Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Page 1: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Tim Vogelsang

Page 2: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Source: 11 pt, regular

MOOC ?

Page 3: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

MOOC?

Page 4: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Source: 11 pt, regular

iversity.org ?

Page 5: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

iversity?

Page 6: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Source: 11 pt, regular

Problem 1: Videos

Page 7: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Problem 1: Video

How engaging are my learning videos?

Instructor

Page 8: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Problem 1: Video

Page 9: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Problem 1: Video

Page 10: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Solution: For-Loop

for (i in 1:length(video$user_id)) {! if(video$event[i]==„play“) {! for (j in (video$video_second[i]+1):max) {! vector[j]=vector[j]+1! }! }! else if(video$event[i]==„pause“ | video$event[i]==„stop“) {! for (j in (video$video_second[i]+1):max) {! vector[j]=vector[j]-1! }! }! }

Page 11: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Solution: For-Loop

Page 12: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Source: 11 pt, regular

Problem 2: Quizzes

Page 13: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Problem 1: Quizzes

How suited are my quizzes?

Instructor

Page 14: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Solution: Item Response Theory (IRT)

Quiz 1 Quiz 2 Quiz 3 Quiz 4 Quiz 5 …

Student 1 1 0 0 0 0

Student 2 1 1 0 0 0

Student 3 1 1 1 0 0

Student 4 1 1 1 1 0

Student 5 0 0 0 1 1

Page 15: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Package „ltm“: Latent Trait Models under IRT

Pr{Xni = 1} =e�n��i

1 + e�n��i

�n = ability of person n

�i = di�culty of item i

Page 16: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Source: 11 pt, regular

Problem 3: User Paths

Page 17: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Problem 1: Quizzes

How do students navigate through my course?

Instructor

Page 18: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Source: 11 pt, regular

Prototyping with R Shiny

Page 19: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Prototyping with R Shiny

Page 20: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Prototyping with R Shiny

ui.R server.R

SelectInput() input$...

uiOutput() output$... <- renderUI()

SelectInput(): A select list control component.

uiOutput(„name“): Displays interface components created with renderUI().

renderUI(): Makes a reactive version of a function that generates HTML using the

Shiny UI and library (uiOutput)

output$name: Define output elements.

input$name: Use input elements.

reactive({}): A reactive expression updates this value whenever a contained widget changes.

Page 21: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Source: 11 pt, regular

Thank You!

Page 22: Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Thank you!

Tim Vogelsang

[email protected]

Matthias Gloël

[email protected]

Miloš Janicki

[email protected]