Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
OpenRepGridAn R package for the analysis of repertory gridsEPCA Conference, Dublin, June 30, 2012Mark HeckmannUniversity o...
PART I•  Motivation for OpenRepGrid•  Why R?•  The OpenRepGrid projectPART II•  Gettings started with R•  Gettings started...
Part I
Clinicians              Researchers                             Business                            consultantUser diversi...
General requirements for (grid) software•  Durability•  Availability•  Functionality•  Compatibility•  Documentation•  Ope...
Current	  	  situa+on	         	  
No grid software                                   offers all methods                                      of analysis tha...
Journal of Constru ctivist Psychology, 13:1–26, 2000Copyright ã 2000 Taylor & Francis1072-0537/00 $12.00 + .00        THE ...
No framework tosupportexperimentaltypes of analysisNot extensibleby user
The output of                                                 most programs                                               ...
Development by asingle person or a small   group of researchers,    each with their own special competencies      in a cer...
No joint                                community effort                                    to improve a                  ...
“the programs that are currently available have ashort shelf-life in that they are unlikely to beupdated once their creato...
What to do?•  Software design that enables users to   contribute to its development•  Set up infra- and communication   st...
Why   ?
•  Because I am familiar with it •         is the lingua franca in the field of     statistics•         runs on all major...
Muenchen, R. A. (2012). Popularity of data analysis software.http://r4stats.com/articles/popularity/
•       provides an underlying framework for     further computations•       provides a wealth of functionality
Muenchen, R. A. (2012). Popularity of data analysis software.http://r4stats.com/articles/popularity/
•       provides an underlying framework for     further computations•       provides a wealth of functionality•       fos...
OpenRepGrid projectOpenRepGrid R package   OpenRepGrid Wiki
User entry points•  Give feedback: bug reports,   suggestions ...•  Supply method descriptions to trigger   development•  ...
Development phases          Phase	  1	               Phase	  2	  • Create wide range of     • Adding graphical user  analy...
Part II
Setup                    +	  www.r-project.org           www.rstudio.org
28	  
Basics         •  R is interactive         •  Navigate through former commands by           pressing up and down arrows   ...
Using R as a calculator4 + 4 ! ! !    !           !#   Addition!4 - 1 ! !    !           !#   Subtraction!4 / 2 ! ! !    !...
Variable assignments    !    a    <- 2 + 2 ! !# assignment operator!                !    a    ! ! ! !       !# variable va...
Objects         Objects (Variables) names may contain numbers,         letters, underscores or dots. The name must not    ...
FunctionsFunction (lat. performance, execution)Every function uses round brackets	  c()	  !a <- c(3,4,5)!!!rnorm()!rnorm(4...
Functions         Commands inside the function’s round brackets are         called arguments. A function may take zero to ...
Nurse, get on the internet, go to SURGERY.COM,scroll down and click on the , Are you totally lost? icon.35	  
R Help System36	  
Some functions         a <- c(1.2, 3.3, 6.5)!         round(a) ! !!         sum(a) ! !     !         mean(a) !            ...
Extracting vector elements         a[1]! ! ! ! ! !# retrieve first element!         !         a[c(1,2)]! ! ! !# elements 1...
Matrices         ?matrix!         m <- matrix(1:9, ncol=3)!         !         m[rows , columns]!         !         m[1 , ]...
Replace matrix elements         m[1, 1] <- 999!         m!         !         !         m[1 , ] <- c(90,91,92)!         m! ...
Exploring software   features onwww.openrepgrid.org
Web Repository with 3.500+ packages   OpenRepGrid  Load package  when starting R
Part III
TaskCreate a function thatcounts the number of   midpoint ratings
Logical operators         TRUE!         FALSE!         !         2 == 1 ! ! ! ! !# equal?!         c(1,2,1,3) == 1        ...
Writing new functionsf <- function(){!   !# some R commands!}!f()!!!f <- function(x){!   !x!}!f(12)!!  !
Writing new functionsf <- function(x){!   !sum(x) / length(x)!}!!a <- c(1,2,3,4) !f(a)!!  !
!midpoints <- function(x) { !  !scores <- getRatingLayer(x) !  !mid <- getScaleMidpoint(x) !  !sum(scores == mid)!}!!midpo...
TaskCalculate the Slater distance forall grids bewteen the elements „A party I would vote for“ and  „The Green Party (Grün...
slater <- lapply(x, distanceSlater, out=F)!sapply(slater , function(x) x[1,6])!
markheckmann.github.com/           OpenRepGrid/
Writing a report
out now!
Creating reports for OpenRepGrid             RStudio             +	  
Using R markdown•  Markdown is a lightweight language to   structure a document•  R code chunks can be directly included• ...
Press	  to	  generate	  	  document	                     Insert	  tags	  
Want to participate?You have suggestions or ideas?      Just get in touch!
Literature•  Fransella, F., Bell, R. C., & Bannister, D. (2004). A manual for repertory   grid technique (2nd ed.). Chiche...
OpenRepGrid – An Open Source Software for the Analysis of Repertory Grids
OpenRepGrid – An Open Source Software for the Analysis of Repertory Grids
OpenRepGrid – An Open Source Software for the Analysis of Repertory Grids
OpenRepGrid – An Open Source Software for the Analysis of Repertory Grids
OpenRepGrid – An Open Source Software for the Analysis of Repertory Grids
Nächste SlideShare
Wird geladen in …5
×

OpenRepGrid – An Open Source Software for the Analysis of Repertory Grids

2.588 Aufrufe

Veröffentlicht am

Workshop held at the 11th Biennial Conference of the European Personal Construct Association (EPCA), Dublin, Irland, June 2012.

If you have any questions about OpenRepgrid visit the OpenRepGrid Google group under http://groups.google.com/group/openrepgrid

Veröffentlicht in: Bildung, Technologie
  • Dear Dzmitry, please post any questions concerning OpenRepGrid here: https://groups.google.com/forum/?hl=de#!forum/openrepgrid
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • I installed R(with defaults) + R Studio on my Win7 x64 SP2. I cannot load OpenRepGrid after installation because if fails to load rJava. Also Wiki and this presentation does no contain-hard to find sample, e.g. default script I run and got some sample grid, start modifying it for my needs.
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier

OpenRepGrid – An Open Source Software for the Analysis of Repertory Grids

  1. 1. OpenRepGridAn R package for the analysis of repertory gridsEPCA Conference, Dublin, June 30, 2012Mark HeckmannUniversity of Bremen, Germany
  2. 2. PART I•  Motivation for OpenRepGrid•  Why R?•  The OpenRepGrid projectPART II•  Gettings started with R•  Gettings started with OpenRepGrid•  Basic grid analysisPART III•  Creating a report•  Adding functionality
  3. 3. Part I
  4. 4. Clinicians Researchers Business consultantUser diversity leads to Coachesdifferent user needs …
  5. 5. General requirements for (grid) software•  Durability•  Availability•  Functionality•  Compatibility•  Documentation•  Openness•  Extensibility•  Usability
  6. 6. Current    situa+on    
  7. 7. No grid software offers all methods of analysis that have been devised in the literatureSource: http://callcentersindia.files.wordpress.com/2010/06/selection-process.png
  8. 8. Journal of Constru ctivist Psychology, 13:1–26, 2000Copyright ã 2000 Taylor & Francis1072-0537/00 $12.00 + .00 THE STRUCTURAL QUADRANTS METHOD: A NEW APPROACH TO THE ASSESSMENT OF CONSTRUCT SYSTEM COMPLEXITY VIA THE REPERTORY GRID JOSEP GALLIFA and LUIS BOTELLA Department of Psychology, Ramon Llull Un iversity, Barcelona, Spain This article presents a new mathematical m ethod (the Structu ral Quadrants M ethod) for the assessm ent of constru ct system complexity via the repertory grid. The Struc- tural Q uadrants M ethod (SQ M ) is presented step by step, and its sensitivity to grid structu re is illustrated by applying it to five case studies. A validational study demonstrating the discrim inative power of the SQ M and comparing it to tradi- tional measures is included. Results indicate that the SQ M discrim inates between a group of 11 experts and one of 11 novices in term s of grid com plexity as expected (i.e., detecting high degrees of differentiation and integration in the experts’ grids and low degrees of differentiation and integration in the novices’ grids). The dis- crim inative power of the SQ M is unparalleled by the traditional measures of grid structu re compared in this article. The article ends with a section on the distinctive advantages of the S QM and som e suggest ions for future research.
  9. 9. No framework tosupportexperimentaltypes of analysisNot extensibleby user
  10. 10. The output of most programs does not easily lend itself to subsequent computationSource: http://www.jacksofscience.com/wp-content/uploads/2008/05/computing_occurs.jpg
  11. 11. Development by asingle person or a small group of researchers, each with their own special competencies in a certain field of research and often limited time resources. (Fromm, 2009)
  12. 12. No joint community effort to improve a program: Development and documentation is delegated to the software providersSource: http://www.kirchen-und-kapellen.de/images/content/Community.jpg
  13. 13. “the programs that are currently available have ashort shelf-life in that they are unlikely to beupdated once their creators have retired” (Fransella, Bannister & Bell, 2004, p. 38) Discontinued development once its initiators have moved on to other fields or retired Source:  h1p://evolu+on.berkeley.edu/evosite/misconceps/images/misconcep+ons_beavers2.gif  
  14. 14. What to do?•  Software design that enables users to contribute to its development•  Set up infra- and communication structures to foster participation in a joint development Go  Open  Source!  
  15. 15. Why ?
  16. 16. •  Because I am familiar with it •  is the lingua franca in the field of statistics•  runs on all major platforms•  is managable by non-programmers•  becomes increasingly popular within the social sciences
  17. 17. Muenchen, R. A. (2012). Popularity of data analysis software.http://r4stats.com/articles/popularity/
  18. 18. •  provides an underlying framework for further computations•  provides a wealth of functionality
  19. 19. Muenchen, R. A. (2012). Popularity of data analysis software.http://r4stats.com/articles/popularity/
  20. 20. •  provides an underlying framework for further computations•  provides a wealth of functionality•  fosters extensibility (GUI, 3D etc.) Suitable for Open Source grid software development
  21. 21. OpenRepGrid projectOpenRepGrid R package OpenRepGrid Wiki
  22. 22. User entry points•  Give feedback: bug reports, suggestions ...•  Supply method descriptions to trigger development•  Provide R code snippets•  Generate tutorials and case studies•  Join the R package development team
  23. 23. Development phases Phase  1   Phase  2  • Create wide range of • Adding graphical user analysis methods   interface• Development of Wiki• Target: Researchers • Target: Practicioners and casual users
  24. 24. Part II
  25. 25. Setup +  www.r-project.org www.rstudio.org
  26. 26. 28  
  27. 27. Basics •  R is interactive •  Navigate through former commands by pressing up and down arrows •  Everything after a hash (#) is a comment •  Execute a command by pressing the enter- key29  
  28. 28. Using R as a calculator4 + 4 ! ! ! ! !# Addition!4 - 1 ! ! ! !# Subtraction!4 / 2 ! ! ! ! !# Division!2 * 2 ! ! ! ! !# Multiplication!2^2 ! ! ! !# Power!!2 + 2 * 3! ! !# standard calculating rules !2 * 2^3 ! ! ! ! !!(2-1) * (2+2) ! !# standard use of brackets!30  
  29. 29. Variable assignments ! a <- 2 + 2 ! !# assignment operator! ! a ! ! ! ! !# variable value is 4! ! a <- 100 ! ! # change variable value! a * 10 ! ! ! ! !# use the variable ! ! a <- ”Some text" !# assign text to variable! a * 10 ! ! !# error!31  
  30. 30. Objects Objects (Variables) names may contain numbers, letters, underscores or dots. The name must not contain a function (+, - *, / etc.). object1 <- 10! object.1 <- hallo ! ! Names are case sensitive myObject <- 1! myobject <- 2  32  
  31. 31. FunctionsFunction (lat. performance, execution)Every function uses round brackets  c()  !a <- c(3,4,5)!!!rnorm()!rnorm(4)!!! 33  
  32. 32. Functions Commands inside the function’s round brackets are called arguments. A function may take zero to many arguments.   rnorm(3) ! [1] -0.3628728 -0.4580532 -1.3729865! ! Every function has a documented set of arguments ! ?rnorm! !34  
  33. 33. Nurse, get on the internet, go to SURGERY.COM,scroll down and click on the , Are you totally lost? icon.35  
  34. 34. R Help System36  
  35. 35. Some functions a <- c(1.2, 3.3, 6.5)! round(a) ! !! sum(a) ! ! ! mean(a) ! ! ! !37  
  36. 36. Extracting vector elements a[1]! ! ! ! ! !# retrieve first element! ! a[c(1,2)]! ! ! !# elements 1 and 2! ! ! # Delete elements! a[-1] ! ! ! !# delete first element! ! ! a <- a[-1]!38  
  37. 37. Matrices ?matrix! m <- matrix(1:9, ncol=3)! ! m[rows , columns]! ! m[1 , ] ! ! !# first row, all columns! m[ , 1] ! ! !# frist column, all rows! m[1:2, 1]! ! !# first two rows, all columns! ! m[-1, ] ! ! !# delete first row! ! !39  
  38. 38. Replace matrix elements m[1, 1] <- 999! m! ! ! m[1 , ] <- c(90,91,92)! m! !!40  
  39. 39. Exploring software features onwww.openrepgrid.org
  40. 40. Web Repository with 3.500+ packages OpenRepGrid Load package when starting R
  41. 41. Part III
  42. 42. TaskCreate a function thatcounts the number of midpoint ratings
  43. 43. Logical operators TRUE! FALSE! ! 2 == 1 ! ! ! ! !# equal?! c(1,2,1,3) == 1 !!47  
  44. 44. Writing new functionsf <- function(){! !# some R commands!}!f()!!!f <- function(x){! !x!}!f(12)!! !
  45. 45. Writing new functionsf <- function(x){! !sum(x) / length(x)!}!!a <- c(1,2,3,4) !f(a)!! !
  46. 46. !midpoints <- function(x) { ! !scores <- getRatingLayer(x) ! !mid <- getScaleMidpoint(x) ! !sum(scores == mid)!}!!midpoints(bell2010)!
  47. 47. TaskCalculate the Slater distance forall grids bewteen the elements „A party I would vote for“ and „The Green Party (Grüne)“
  48. 48. slater <- lapply(x, distanceSlater, out=F)!sapply(slater , function(x) x[1,6])!
  49. 49. markheckmann.github.com/ OpenRepGrid/
  50. 50. Writing a report
  51. 51. out now!
  52. 52. Creating reports for OpenRepGrid RStudio +  
  53. 53. Using R markdown•  Markdown is a lightweight language to structure a document•  R code chunks can be directly included•  Include R code between the following tags ```{r} # Some R Code here ```
  54. 54. Press  to  generate    document   Insert  tags  
  55. 55. Want to participate?You have suggestions or ideas? Just get in touch!
  56. 56. Literature•  Fransella, F., Bell, R. C., & Bannister, D. (2004). A manual for repertory grid technique (2nd ed.). Chichester: John Wiley & Sons.•  Fromm, M. (2009). Grid Software. European Personal Construct Association. Retrieved July 25, 2010, from http://www.epca-net.org/ repgrid/software•  Heckmann, M. (2011). OpenRepGrid - An R package for the analysis of repertory grids (Unpublished diploma thesis). University of Bremen, Bremen, Germany.•  Muenchen, R. A. (2011). The Popularity of Data Analysis Software. Retrieved March 28, 2011, from http://sites.google.com/site/ r4statistics/popularity•  R Development Core Team. (2011). R: A language and environment for statistical computing. Vienna, Austria: R Foundation for Statistical Computing. ISBN 3-900051-07-0, URL http://www.R-project.org/.

×