Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Post on 21-Feb-2017

526 views 1 download

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

Prototyping with R shiny: Video and Quiz Analysis in MOOCs

Tim Vogelsang

Source: 11 pt, regular

MOOC ?

MOOC?

Source: 11 pt, regular

iversity.org ?

iversity?

Source: 11 pt, regular

Problem 1: Videos

Problem 1: Video

How engaging are my learning videos?

Instructor

Problem 1: Video

Problem 1: Video

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! }! }! }

Solution: For-Loop

Source: 11 pt, regular

Problem 2: Quizzes

Problem 1: Quizzes

How suited are my quizzes?

Instructor

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

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

Source: 11 pt, regular

Problem 3: User Paths

Problem 1: Quizzes

How do students navigate through my course?

Instructor

Source: 11 pt, regular

Prototyping with R Shiny

Prototyping with R Shiny

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.

Source: 11 pt, regular

Thank You!

Thank you!

Tim Vogelsang

t.vogelsang@iversity.org

Matthias Gloël

m.gloel@iversity.org

Miloš Janicki

m.janicki@iversity.org