Data and R code of two papers

Below is link to the data file and R code used to in the final models in “Models for Story Consistency and Interestingness in Single-Player RPGs” (in Mindtrek 2013) and “Modeling Player-character engagement in Single-player character-driven games” (in ACE 2013 Netherlands).  The models q4 and q7 are used in the first paper and and the model q8 is used in the second paper.

Read more

Modeling Player-character Engagement in Single-player Character-driven Games

Petri Lankoski

In ACE 2013 Netherlands, pp. 572-575.  Copyright Springer 2013. This is author’s version. The definitive version DOI: 10.1007/978-3-319-03161-3_56.


This pilot study looks at how the formal features of character-driven games can be used to explain player-character engagement. Questionnaire data (N=206), formal game features (in 11 games), and ordinal regression were used in the analysis. The results show that interactive dialogue and cut-scenes showing the romances between the player-character and another character relates to higher character engagement scores, while romance modeling and friendship modeling relate to lower character engagement scores.

Keywords: ordinal regression, player-character, engagement, identification

Read more

R^2 for Generalized Mixed Models

Note for myself. Check this:

Nakagawa, S. & Schielzeth, H., 2013, A general and simple method for obtaining R2 from generalized linear mixed-effects models.  Methods in Ecology and Evolution, 4: 2, pp 133–142, DOI: 10.1111/j.2041-210x.2012.00261.x

EDIT 20131027:

R implementation is available: 

Also MuMIn package contains implementation (

Facial expressions of (some) emotions are inborn?

Couple of staring points for reading (beyond Paul Ekman’s publications):

  • Peleg et al, 2006, Hereditary family signature of facial expression. PNAS, 103: 43. DOI: 10.1073/pnas.0607551103 
  • Matsumoto &  Willingham, 2009, Spontaneous facial expressions of emotion of congenitally and noncongenitally blind individuals. Journal of Personality and Social Psychology, 96: 1. DOIi: 10.1037/a0014037