the r package fechner
play

The R Package fechner Ali nl, Thomas Kiefer 1 Ehtibar N. Dzhafarov 2 - PowerPoint PPT Presentation

The R Package fechner Ali nl, Thomas Kiefer 1 Ehtibar N. Dzhafarov 2 1 University of Dortmund 2 Purdue University 2nd Workshop on Psychometric Computing Department of Statistics Ludwig-Maximilians-University Munich February 26, 2010 This


  1. The R Package fechner Ali Ünlü, Thomas Kiefer 1 Ehtibar N. Dzhafarov 2 1 University of Dortmund 2 Purdue University 2nd Workshop on Psychometric Computing Department of Statistics Ludwig-Maximilians-University Munich February 26, 2010 This research has been supported by NSF grant SES 0620446 and AFOSR grants FA9550-06-1-0288 and FA9550-09-1-0252 to Purdue University.

  2. Contents Introduction Software Fechnerian Scaling of Object Sets The R Package fechner Examples Morse Code Data Regular Minimality/Maximality Fechnerian Scaling Analysis Plotting and Summarizing Conclusion

  3. Contents Introduction Software Fechnerian Scaling of Object Sets The R Package fechner Examples Morse Code Data Regular Minimality/Maximality Fechnerian Scaling Analysis Plotting and Summarizing Conclusion

  4. Contents Introduction Software Fechnerian Scaling of Object Sets The R Package fechner Examples Morse Code Data Regular Minimality/Maximality Fechnerian Scaling Analysis Plotting and Summarizing Conclusion

  5. Contents Introduction Software Fechnerian Scaling of Object Sets The R Package fechner Examples Morse Code Data Regular Minimality/Maximality Fechnerian Scaling Analysis Plotting and Summarizing Conclusion

  6. Contents Introduction Software Fechnerian Scaling of Object Sets The R Package fechner Examples Morse Code Data Regular Minimality/Maximality Fechnerian Scaling Analysis Plotting and Summarizing Conclusion

  7. R and MATLAB We present the R ( http://www.r-project.org/ ) package fechner for Fechnerian scaling (FS) of object sets. Available on CRAN http://cran.r-project.org/package=fechner . Other software for FS includes FSCAMDS, which runs on MATLAB, and a MATLAB toolbox. This software can be downloaded from, in respective order, http://www.psych.purdue.edu/ ∼ ehtibar/ and http://www.psychologie.uni-oldenburg.de/stefan.rach/ . The finite, discrete version of FS, by far the most important for practical applications, is discussed in Dzhafarov and Colonius (2006). As any data set is necessarily finite, this is the version implemented in the package fechner . Dzhafarov, E.N., & Colonius, H. (2006). Reconstructing distances among objects from their discriminability. Psychometrika, 71 , 365–386. Ünlü, A., Kiefer, T., & Dzhafarov, E.N. (2009). Fechnerian scaling in R: The package fechner. Journal of Statistical Software, 31 (6), 1–24.

  8. Contents Introduction Software Fechnerian Scaling of Object Sets The R Package fechner Examples Morse Code Data Regular Minimality/Maximality Fechnerian Scaling Analysis Plotting and Summarizing Conclusion

  9. ψ -Data Let { x 1 , . . . , x n } be a set of objects endowed with a discrimination function ψ ( x i , x j ) . The primary meaning of ψ ( x i , x j ) in FS is the probability with which x i is judged to be different from x j . For example, a pair of colors ( x i , x j ) may be repeatedly presented to an observer (or a group of observers), and ψ ( x i , x j ) may be estimated by the frequency of responses “they are different.” An empirical fact is that ψ ( x i , x j ) is not a metric: ◮ ψ ( x i , x i ) is not always zero; ◮ moreover, ψ ( x i , x i ) and ψ ( x j , x j ) for i � = j are not generally the same; ◮ ψ ( x i , x j ) is generally different from ψ ( x j , x i ) ; ◮ and the triangle inequality is not generally satisfied, ψ ( x i , x j ) + ψ ( x j , x k ) may very well be less than ψ ( x i , x k ) .

  10. ψ -Data Let { x 1 , . . . , x n } be a set of objects endowed with a discrimination function ψ ( x i , x j ) . The primary meaning of ψ ( x i , x j ) in FS is the probability with which x i is judged to be different from x j . For example, a pair of colors ( x i , x j ) may be repeatedly presented to an observer (or a group of observers), and ψ ( x i , x j ) may be estimated by the frequency of responses “they are different.” An empirical fact is that ψ ( x i , x j ) is not a metric: ◮ ψ ( x i , x i ) is not always zero; ◮ moreover, ψ ( x i , x i ) and ψ ( x j , x j ) for i � = j are not generally the same; ◮ ψ ( x i , x j ) is generally different from ψ ( x j , x i ) ; ◮ and the triangle inequality is not generally satisfied, ψ ( x i , x j ) + ψ ( x j , x k ) may very well be less than ψ ( x i , x k ) .

  11. ψ -Data Let { x 1 , . . . , x n } be a set of objects endowed with a discrimination function ψ ( x i , x j ) . The primary meaning of ψ ( x i , x j ) in FS is the probability with which x i is judged to be different from x j . For example, a pair of colors ( x i , x j ) may be repeatedly presented to an observer (or a group of observers), and ψ ( x i , x j ) may be estimated by the frequency of responses “they are different.” An empirical fact is that ψ ( x i , x j ) is not a metric: ◮ ψ ( x i , x i ) is not always zero; ◮ moreover, ψ ( x i , x i ) and ψ ( x j , x j ) for i � = j are not generally the same; ◮ ψ ( x i , x j ) is generally different from ψ ( x j , x i ) ; ◮ and the triangle inequality is not generally satisfied, ψ ( x i , x j ) + ψ ( x j , x k ) may very well be less than ψ ( x i , x k ) .

  12. ψ -Data Let { x 1 , . . . , x n } be a set of objects endowed with a discrimination function ψ ( x i , x j ) . The primary meaning of ψ ( x i , x j ) in FS is the probability with which x i is judged to be different from x j . For example, a pair of colors ( x i , x j ) may be repeatedly presented to an observer (or a group of observers), and ψ ( x i , x j ) may be estimated by the frequency of responses “they are different.” An empirical fact is that ψ ( x i , x j ) is not a metric: ◮ ψ ( x i , x i ) is not always zero; ◮ moreover, ψ ( x i , x i ) and ψ ( x j , x j ) for i � = j are not generally the same; ◮ ψ ( x i , x j ) is generally different from ψ ( x j , x i ) ; ◮ and the triangle inequality is not generally satisfied, ψ ( x i , x j ) + ψ ( x j , x k ) may very well be less than ψ ( x i , x k ) .

  13. Regular Minimality The only property of the ψ -data required by FS is regular minimality (RM): ◮ for every x i there is one and only one x j such that ψ ( x i , x j ) < ψ ( x i , x k ) for all k � = j (this x j is called the Point of Subjective Equality, PSE, of x i ); ◮ for every x j there is one and only one x i such that ψ ( x i , x j ) < ψ ( x k , x j ) for all k � = i (this x i is called the PSE of x j ); ◮ and x j is the PSE of x i if and only if x i is the PSE of x j . Every data matrix in which the diagonal entry ψ ( x i , x i ) is smaller than all entries ψ ( x i , x k ) in its row ( k � = i ) and all entries ψ ( x k , x i ) in its column ( k � = i ) satisfies RM in the simplest, so-called canonical, form. In this case every object x i is the PSE of x i . (Note that regular maximality can be defined analogously, replacing “minimal” with “maximal.”)

  14. Regular Minimality The only property of the ψ -data required by FS is regular minimality (RM): ◮ for every x i there is one and only one x j such that ψ ( x i , x j ) < ψ ( x i , x k ) for all k � = j (this x j is called the Point of Subjective Equality, PSE, of x i ); ◮ for every x j there is one and only one x i such that ψ ( x i , x j ) < ψ ( x k , x j ) for all k � = i (this x i is called the PSE of x j ); ◮ and x j is the PSE of x i if and only if x i is the PSE of x j . Every data matrix in which the diagonal entry ψ ( x i , x i ) is smaller than all entries ψ ( x i , x k ) in its row ( k � = i ) and all entries ψ ( x k , x i ) in its column ( k � = i ) satisfies RM in the simplest, so-called canonical, form. In this case every object x i is the PSE of x i . (Note that regular maximality can be defined analogously, replacing “minimal” with “maximal.”)

  15. Regular Minimality The only property of the ψ -data required by FS is regular minimality (RM): ◮ for every x i there is one and only one x j such that ψ ( x i , x j ) < ψ ( x i , x k ) for all k � = j (this x j is called the Point of Subjective Equality, PSE, of x i ); ◮ for every x j there is one and only one x i such that ψ ( x i , x j ) < ψ ( x k , x j ) for all k � = i (this x i is called the PSE of x j ); ◮ and x j is the PSE of x i if and only if x i is the PSE of x j . Every data matrix in which the diagonal entry ψ ( x i , x i ) is smaller than all entries ψ ( x i , x k ) in its row ( k � = i ) and all entries ψ ( x k , x i ) in its column ( k � = i ) satisfies RM in the simplest, so-called canonical, form. In this case every object x i is the PSE of x i . (Note that regular maximality can be defined analogously, replacing “minimal” with “maximal.”)

  16. Canonical Relabeling If RM is satisfied, the row objects (first observation area) and column objects (second observation area) can be presented in pairs of PSEs ( x 1 , x k 1 ) , ( x 2 , x k 2 ) , . . . , ( x n , x k n ) , where ( k 1 , k 2 , . . . , k n ) is a permutation of ( 1 , 2 , . . . , n ) . FS identifies these PSE pairs and then relabels them so that two members of the same pair receive one and the same label: ( x 1 , x k 1 ) �→ ( a 1 , a 1 ) , ( x 2 , x k 2 ) �→ ( a 2 , a 2 ) , . . . , ( x n , x k n ) �→ ( a n , a n ) . The relabeled and permuted matrix of ψ -data is a matrix in which each diagonal entry is minimal in its row and in its column. After this relabeling the original function ψ ( x i , x j ) is redefined: � � . p ij := ψ ( a i , a j ) := ψ x i , x k j In the package fechner the pairs of PSEs are assigned identical labels leaving intact the labeling of the rows and relabeling the columns with their corresponding PSEs. This is referred to as canonical relabeling.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend