1.1 Análises baseadas no ITEMAN

Nesse capítulo, será apresentada um conjunto de funções para a realização da análise clássica de testes desenvolvido por Cristiano Ferraz e Robson Lunardi (2005) (http://www.feferraz.net).

O arquivo de dados deve estar no mesmo formato de entrada do Software ITEMAN:

  15 5 N  5  
341421323441413  
555555555555555  
YYYYYYYYYYYYYYY  
00010242311431435242  
00020243323413213131  
00030142212441212312  
00040341211323253521  
00050343321411213113

Você pode obter as funções clicando http://www.ufpr.br/~aanjos/TRI/Rfun/tri_class.R. As funções podem ser carregadas no R com o comando source().

  > source('http://www.ufpr.br/~aanjos/TRI/Rfun/tri_class.R')

Serão analisados os dados do arquivo Matematica_Iteman.DAT, disponível nesse endereço: http://www.ufpr.br/~aanjos/TRI/dados/Matematica_Iteman.DAT.

Os dados podem ser lidos com a função le.dados():

  > dados<-le.dados('http://www.ufpr.br/~aanjos/TRI/dados/Matematica_Iteman.DAT')

O conteúdo do arquivo pode ser visualizado com as seguintes funções:

  > names(dados)

  [1] "respostas"   "gabarito"    "usa.questao" "n.questoes"

Para ver uma parte dos dados digite:

  > head(dados$respostas)

       [,1]    [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11]
  [1,] "00010" "2"  "4"  "2"  "3"  "1"  "1"  "4"  "3"  "1"   "4"
  [2,] "00020" "2"  "4"  "3"  "3"  "2"  "3"  "4"  "1"  "3"   "2"
  [3,] "00030" "1"  "4"  "2"  "2"  "1"  "2"  "4"  "4"  "1"   "2"
  [4,] "00040" "3"  "4"  "1"  "2"  "1"  "1"  "3"  "2"  "3"   "2"
  [5,] "00050" "3"  "4"  "3"  "3"  "2"  "1"  "4"  "1"  "1"   "2"
  [6,] "00060" "3"  "4"  "1"  "2"  "3"  "2"  "4"  "1"  "3"   "2"
       [,12] [,13] [,14] [,15] [,16]
  [1,] "3"   "5"   "2"   "4"   "2"
  [2,] "1"   "3"   "1"   "3"   "1"
  [3,] "1"   "2"   "3"   "1"   "2"
  [4,] "5"   "3"   "5"   "2"   "1"
  [5,] "1"   "3"   "1"   "1"   "3"
  [6,] "1"   "1"   "1"   "1"   "4"

Outras informações sobre os dados são:

  > dados$gabarito

   [1] "3" "4" "1" "4" "2" "1" "3" "2" "3" "4" "4" "1" "4" "1" "3"

A análise clássica pode ser realizada com a função analise():

  > dados.tri<-analise(dados)
  > dados.tri

  Question 1
  
    key prop.correct disc.index   pt.biss      biss
      3        0.844  0.3161334 0.3701706 0.5612951
  
    ind.dif    end.low    end.high     pt.biss       biss key
  1   0.027 0.06122449 0.012618297 -0.13958918 -0.3629797
  2   0.085 0.18027211 0.015772871 -0.24506461 -0.4392042
  3   0.844 0.64285714 0.958990536  0.37017063  0.5612951   *
  4   0.038 0.09863946 0.009463722 -0.19178931 -0.4436769
  9   0.006 0.01700680 0.003154574 -0.08649682 -0.3928680
  
  
  
  Question 2
  
    key prop.correct disc.index   pt.biss      biss
      4        0.972  0.0583167 0.1595034 0.4095492
  
    ind.dif     end.low    end.high     pt.biss       biss key
  1   0.007 0.020408163 0.000000000 -0.10687903 -0.4572695
  2   0.006 0.013605442 0.000000000 -0.07894647 -0.3585744
  3   0.005 0.013605442 0.000000000 -0.08374307 -0.4084932
  4   0.972 0.935374150 0.993690852  0.15950338  0.4095492   *
  5   0.006 0.010204082 0.006309148 -0.02986919 -0.1356657
  9   0.004 0.006802721 0.000000000 -0.04899816 -0.2610531
  
  
  
  Question 3
  
    key prop.correct disc.index   pt.biss      biss
      1        0.696  0.5231765 0.4704248 0.6186606
  
    ind.dif    end.low    end.high     pt.biss       biss key
  1   0.696 0.39795918 0.921135647  0.47042476  0.6186606   *
  2   0.154 0.32312925 0.015772871 -0.35007197 -0.5325487
  3   0.075 0.12244898 0.050473186 -0.10504386 -0.1954545
  4   0.021 0.03061224 0.009463722 -0.08477303 -0.2408778
  5   0.004 0.01020408 0.000000000 -0.04437918 -0.2364441
  9   0.050 0.11564626 0.003154574 -0.21751023 -0.4596399
  
  
  
  Question 4
  
    key prop.correct disc.index   pt.biss      biss
      4        0.503  0.6673212 0.5551378 0.6957692
  
    ind.dif    end.low   end.high     pt.biss        biss key
  1   0.102 0.12244898 0.06309148 -0.09681687 -0.16456865
  2   0.037 0.02721088 0.01577287 -0.04189341 -0.09778694
  3   0.353 0.64625850 0.05993691 -0.49484689 -0.63650447
  4   0.503 0.19387755 0.86119874  0.55513778  0.69576918   *
  9   0.005 0.01020408 0.00000000 -0.05480913 -0.26735536
  
  
  
  Question 5
  
    key prop.correct disc.index   pt.biss      biss
      2        0.594  0.6864418 0.5834128 0.7387651
  
    ind.dif    end.low    end.high     pt.biss       biss key
  1   0.277 0.55442177 0.034700315 -0.48248406 -0.6448027
  2   0.594 0.23469388 0.921135647  0.58341283  0.7387651   *
  3   0.026 0.04421769 0.012618297 -0.09151508 -0.2411274
  4   0.057 0.08843537 0.022082019 -0.11463997 -0.2322876
  5   0.010 0.01700680 0.003154574 -0.04547577 -0.1697718
  9   0.036 0.06122449 0.006309148 -0.13376425 -0.3151284
  
  
  
  Question 6
  
    key prop.correct disc.index  pt.biss      biss
      1        0.539  0.7384493 0.603338 0.7574907
  
    ind.dif    end.low    end.high    pt.biss       biss key
  1   0.539 0.17006803 0.908517350  0.6033380  0.7574907   *
  2   0.117 0.19727891 0.025236593 -0.2233926 -0.3654225
  3   0.139 0.28571429 0.015772871 -0.2912768 -0.4549384
  4   0.058 0.13265306 0.009463722 -0.2068202 -0.4167615
  5   0.118 0.14625850 0.037854890 -0.1644180 -0.2683248
  9   0.029 0.06802721 0.003154574 -0.1596800 -0.4050465
  
  
  
  Question 7
  
    key prop.correct disc.index   pt.biss      biss
      3        0.499  0.8305328 0.6773496 0.8489328
  
    ind.dif    end.low    end.high      pt.biss        biss key
  1   0.101 0.14625850 0.044164038 -0.139181440 -0.23724441
  2   0.109 0.18367347 0.025236593 -0.206813905 -0.34501672
  3   0.499 0.07482993 0.905362776  0.677349575  0.84893277   *
  4   0.280 0.57823129 0.022082019 -0.501640865 -0.66910449
  5   0.004 0.00000000 0.000000000 -0.002808341 -0.01496232
  9   0.007 0.01700680 0.003154574 -0.082400780 -0.35254217
  
  
  
  Question 8
  
    key prop.correct disc.index   pt.biss      biss
      2         0.57  0.5778987 0.4960575 0.6252427
  
    ind.dif    end.low    end.high     pt.biss       biss key
  1   0.207 0.27891156 0.094637224 -0.21800940 -0.3090907
  2   0.570 0.29591837 0.873817035  0.49605752  0.6252427   *
  3   0.043 0.08163265 0.012618297 -0.12508772 -0.2777021
  4   0.097 0.17346939 0.012618297 -0.21597522 -0.3724311
  5   0.071 0.14965986 0.003154574 -0.23191043 -0.4387827
  9   0.012 0.02040816 0.003154574 -0.07717757 -0.2690516
  
  
  
  Question 9
  
    key prop.correct disc.index  pt.biss      biss
      3        0.624  0.7709286 0.630876 0.8052006
  
    ind.dif     end.low    end.high    pt.biss       biss key
  1   0.264 0.544217687 0.009463722 -0.4815848 -0.6493520
  2   0.041 0.085034014 0.012618297 -0.1481058 -0.3340351
  3   0.624 0.200680272 0.971608833  0.6308760  0.8052006   *
  4   0.032 0.081632653 0.000000000 -0.1770210 -0.4340764
  5   0.003 0.006802721 0.000000000 -0.0530741 -0.3172548
  9   0.036 0.081632653 0.006309148 -0.1603694 -0.3778061
  
  
  
  Question 10
  
    key prop.correct disc.index   pt.biss     biss
      4        0.398  0.6747248 0.5732825 0.727297
  
    ind.dif    end.low   end.high      pt.biss        biss key
  1   0.046 0.07823129 0.02208202 -0.107151549 -0.23266337
  2   0.472 0.68027211 0.17981073 -0.422087497 -0.52948275
  3   0.067 0.11224490 0.03154574 -0.130232294 -0.25084184
  4   0.398 0.09183673 0.76656151  0.573282540  0.72729694   *
  5   0.002 0.00000000 0.00000000  0.004541872  0.03200462
  9   0.015 0.03741497 0.00000000 -0.124195041 -0.39862796
  
  
  
  Question 11
  
    key prop.correct disc.index   pt.biss      biss
      4        0.459  0.8422176 0.6872896 0.8630507
  
    ind.dif     end.low    end.high     pt.biss       biss key
  1   0.474 0.833333333 0.091482650 -0.59500217 -0.7463012
  2   0.018 0.030612245 0.006309148 -0.08055747 -0.2419396
  3   0.030 0.047619048 0.015772871 -0.08299236 -0.2080692
  4   0.459 0.044217687 0.886435331  0.68728961  0.8630507   *
  5   0.004 0.003401361 0.000000000 -0.02590325 -0.1380077
  9   0.015 0.040816327 0.000000000 -0.15537572 -0.4987084
  
  
  
  Question 12
  
    key prop.correct disc.index   pt.biss      biss
      1         0.39  0.6392841 0.5628991 0.7155819
  
    ind.dif    end.low    end.high     pt.biss       biss key
  1   0.390 0.10204082 0.741324921  0.56289906  0.7155819   *
  2   0.173 0.19727891 0.110410095 -0.12162592 -0.1797772
  3   0.161 0.25850340 0.056782334 -0.23874711 -0.3591710
  4   0.144 0.21768707 0.069400631 -0.17844319 -0.2761569
  5   0.007 0.01360544 0.003154574 -0.02994739 -0.1281264
  9   0.125 0.21088435 0.018927445 -0.22876221 -0.3675234
  
  
  
  Question 13
  
    key prop.correct disc.index   pt.biss     biss
      4        0.182  0.4270478 0.5095302 0.744066
  
    ind.dif    end.low    end.high      pt.biss         biss key
  1   0.340 0.39455782 0.214511041 -0.175207013 -0.226514079
  2   0.115 0.15306122 0.088328076 -0.088627312 -0.145665647
  3   0.283 0.32653061 0.205047319 -0.136250551 -0.181390251
  4   0.182 0.02721088 0.454258675  0.509530228  0.744065973   *
  5   0.010 0.01020408 0.009463722  0.001406467  0.005250674
  9   0.070 0.08843537 0.028391167 -0.094429082 -0.179441966
  
  
  
  Question 14
  
    key prop.correct disc.index   pt.biss      biss
      1        0.227  0.2726131 0.3124969 0.4342913
  
    ind.dif     end.low    end.high     pt.biss        biss key
  1   0.227 0.112244898 0.384858044  0.31249693  0.43429130   *
  2   0.199 0.251700680 0.173501577 -0.09547688 -0.13656907
  3   0.146 0.187074830 0.107255521 -0.11327378 -0.17467872
  4   0.264 0.224489796 0.233438486  0.01115916  0.01504662
  5   0.010 0.006802721 0.003154574 -0.03082507 -0.11507728
  9   0.154 0.217687075 0.097791798 -0.15137304 -0.23027698
  
  
  
  Question 15
  
    key prop.correct disc.index   pt.biss      biss
      3        0.155  0.1326316 0.2021537 0.3070253
  
    ind.dif     end.low   end.high     pt.biss       biss key
  1   0.570 0.472789116 0.62145110  0.09031220  0.1138316
  2   0.156 0.197278912 0.12618297 -0.09457866 -0.1434110
  3   0.155 0.085034014 0.21766562  0.20215368  0.3070253   *
  4   0.074 0.156462585 0.01577287 -0.21077345 -0.3937865
  5   0.003 0.003401361 0.00000000 -0.03708150 -0.2216577
  9   0.042 0.085034014 0.01892744 -0.13136816 -0.2939249
  
  
                    Global Statistics
  questoes.efetivas        15.0000000
  N                      1000.0000000
  media                     7.6520000
  variancia                11.7766727
  desvio                    3.4317157
  mediana                   7.0000000
  alpha                     0.7965852
  SEM                       1.5477564
  max.low                   5.0000000
  N.low                   294.0000000
  min.high                 10.0000000
  N.high                  317.0000000

Compare os resultados com os apresentados pelo programa ITEMAN.