R studio crashes with specific package

Hello everyone!

I hope that someone of you can help me. I want to perform a Rasch analysis in R using the package TAM. The installation and opening of the package works just fine. However, when I try to perform the function tam.mml(dataset -1) I get the error messaga of a "fatal error" and that R studio session was aborted. I have tried it a couple of times now. I have also uninstalled and installed the package again, but it still keeps crashing my session.

Has anyone of you encountered such a problem before and can help me to resolve my issue?

I am really desperate right now.

Thanks a lot and all the best,
Luca

Without a reprex and information regarding versions of operating system, R and RStudio, which can be obtained with sessionInfo() and from the RStudio menu bar Help|About RStudio, the only thing that can be suggested is to try the same code directly in a terminal session.

1 Like

Thank you for the answer.

So, the R version that I am using is 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200).

Here is my minimal working example:

id = 1:10
item1 = rep(0:4,2)
item2 = rep(0:4, each =2)
item3= rep(4:0, 2)
item4= rep(4:0, each =2)
dat= cbind(id, item1, item2, item3, item4)

library(TAM)

So, there are actually two possibilites. The second one would be the one that is correct for me:
tam.mml(dat[,-1])
tam.mml(dat[,-1]-1) # correct one

When I run this code on the minimal working example, everything seems to work just fine.
Also, when I run the first code on my dataset, everything is fine. However, as soon as I run the second code with the -1 the session is aborted.

Is there a problem with my dataset?

Thank you!

Ok now, it has crashed even with the minimal working example using the -1 version.

The reprex below shows that the code runs correctly under R 4.0.2, RStudio 1.3.1056 and Ubuntu 20.04 LTS.

Lagging major releases of R will lead to increasing difficulties with time. Windows I have no experience with in the last 20, so I can't do more than to speculate that it could be due to insufficient memory, a corrupt disk sector or some such. If RStudio isn't current, that could also cause problems.

suppressPackageStartupMessages({library(TAM)})
id = 1:10
item1 = rep(0:4,2)
item2 = rep(0:4, each =2)
item3= rep(4:0, 2)
item4= rep(4:0, each =2)
dat= cbind(id, item1, item2, item3, item4)

dat[,1]
#>  [1]  1  2  3  4  5  6  7  8  9 10
dat[,1]-1
#>  [1] 0 1 2 3 4 5 6 7 8 9

tam.mml(dat[,-1])
#> ....................................................
#> Processing Data      2020-09-24 01:15:08 
#>     * Response Data: 10 Persons and  4 Items 
#>     * Numerical integration with 21 nodes
#>     * Created Design Matrices   ( 2020-09-24 01:15:08 )
#>     * Calculated Sufficient Statistics   ( 2020-09-24 01:15:08 )
#> ....................................................
#> Iteration 1     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 169.7546
#>   Maximum item intercept parameter change: 0.638947
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.776851
#> ....................................................
#> Iteration 2     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 144.379 | Absolute change: 25.3755 | Relative change: 0.1757563
#>   Maximum item intercept parameter change: 0.812765
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.129023
#> ....................................................
#> Iteration 3     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 132.5176 | Absolute change: 11.8614 | Relative change: 0.08950816
#>   Maximum item intercept parameter change: 0.138068
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.067193
#> ....................................................
#> Iteration 4     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 121.2324 | Absolute change: 11.2852 | Relative change: 0.09308766
#>   Maximum item intercept parameter change: 0.050625
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.025933
#> ....................................................
#> Iteration 5     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 88.2835 | Absolute change: 32.9489 | Relative change: 0.3732169
#>   Maximum item intercept parameter change: 0.030048
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0
#> ....................................................
#> Iteration 6     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 88.2748 | Absolute change: 0.0087 | Relative change: 9.84e-05
#>   Maximum item intercept parameter change: 0.010588
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0
#> ....................................................
#> Iteration 7     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 88.2734 | Absolute change: 0.0014 | Relative change: 1.566e-05
#>   Maximum item intercept parameter change: 0.007474
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0
#> ....................................................
#> Iteration 8     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 88.2729 | Absolute change: 5e-04 | Relative change: 6.07e-06
#>   Maximum item intercept parameter change: 0.002698
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0
#> ....................................................
#> Iteration 9     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 88.2728 | Absolute change: 1e-04 | Relative change: 1e-06
#>   Maximum item intercept parameter change: 0.001865
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0
#> ....................................................
#> Iteration 10     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |---
#>   Deviance = 88.2728 | Absolute change: 0 | Relative change: 3.8e-07
#>   Maximum item intercept parameter change: 0.000658
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0
#> ....................................................
#> Iteration 11     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |---
#>   Deviance = 88.2728 | Absolute change: 0 | Relative change: 6e-08
#>   Maximum item intercept parameter change: 0.000411
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0
#> ....................................................
#> Iteration 12     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |-
#>   Deviance = 88.2728 | Absolute change: 0 | Relative change: 2e-08
#>   Maximum item intercept parameter change: 1e-04
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0
#> ....................................................
#> Item Parameters
#>    xsi.index  xsi.label    est
#> 1          1 item1_Cat1 -1e-04
#> 2          2 item1_Cat2  2e-04
#> 3          3 item1_Cat3 -2e-04
#> 4          4 item1_Cat4  1e-04
#> 5          5 item2_Cat1 -1e-04
#> 6          6 item2_Cat2  2e-04
#> 7          7 item2_Cat3 -2e-04
#> 8          8 item2_Cat4  1e-04
#> 9          9 item3_Cat1 -1e-04
#> 10        10 item3_Cat2  2e-04
#> 11        11 item3_Cat3 -2e-04
#> 12        12 item3_Cat4  1e-04
#> 13        13 item4_Cat1 -1e-04
#> 14        14 item4_Cat2  2e-04
#> 15        15 item4_Cat3 -2e-04
#> 16        16 item4_Cat4  1e-04
#> ...................................
#> Regression Coefficients
#>      [,1]
#> [1,]    0
#> 
#> Variance:
#>       [,1]
#> [1,] 0.001
#> 
#> 
#> EAP Reliability:
#> [1] 0
#> 
#> -----------------------------
#> Start:  2020-09-24 01:15:08
#> End:  2020-09-24 01:15:08 
#> Time difference of 0.0253942 secs
#> TAM 3.5-19 (2020-05-05 22:45:39) 
#> 
#> Call:
#> tam.mml(resp = dat[, -1])
#> 
#> Multidimensional Item Response Model in TAM 
#> 
#> Deviance= 88.27  | Log Likelihood= -44.14 
#> Number of persons used= 10 
#> Number of estimated parameters= 17 
#> AIC= 122 
#> BIC= 127
tam.mml(dat[,-1]-1) # correct one
#> ....................................................
#> Processing Data      2020-09-24 01:15:08 
#>     * Response Data: 10 Persons and  4 Items 
#>     * Numerical integration with 21 nodes
#>     * Created Design Matrices   ( 2020-09-24 01:15:08 )
#>     * Calculated Sufficient Statistics   ( 2020-09-24 01:15:08 )
#> ....................................................
#> Iteration 1     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 126.92
#>   Maximum item intercept parameter change: 0.856425
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.243183
#> ....................................................
#> Iteration 2     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 121.5674 | Absolute change: 5.3526 | Relative change: 0.04402973
#>   Maximum item intercept parameter change: 0.577098
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.097794
#> ....................................................
#> Iteration 3     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 121.5908 | Absolute change: -0.0234 | Relative change: 0.00019276
#> !!! Deviance increases!                                        !!!!
#> !!! Choose maybe fac.oldxsi > 0 and/or increment.factor > 1    !!!!
#>   Maximum item intercept parameter change: 0.259185
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.156808
#> ....................................................
#> Iteration 4     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 122.8452 | Absolute change: -1.2544 | Relative change: 0.01021095
#> !!! Deviance increases!                                        !!!!
#> !!! Choose maybe fac.oldxsi > 0 and/or increment.factor > 1    !!!!
#>   Maximum item intercept parameter change: 0.12729
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.118569
#> ....................................................
#> Iteration 5     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 124.7251 | Absolute change: -1.8799 | Relative change: 0.0150725
#> !!! Deviance increases!                                        !!!!
#> !!! Choose maybe fac.oldxsi > 0 and/or increment.factor > 1    !!!!
#>   Maximum item intercept parameter change: 0.079537
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.080645
#> ....................................................
#> Iteration 6     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.9143 | Absolute change: -1.1892 | Relative change: 0.00944431
#> !!! Deviance increases!                                        !!!!
#> !!! Choose maybe fac.oldxsi > 0 and/or increment.factor > 1    !!!!
#>   Maximum item intercept parameter change: 0.064394
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.058669
#> ....................................................
#> Iteration 7     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 126.5518 | Absolute change: -0.6375 | Relative change: 0.00503765
#> !!! Deviance increases!                                        !!!!
#> !!! Choose maybe fac.oldxsi > 0 and/or increment.factor > 1    !!!!
#>   Maximum item intercept parameter change: 0.029242
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.043833
#> ....................................................
#> Iteration 8     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 126.9347 | Absolute change: -0.3828 | Relative change: 0.00301601
#> !!! Deviance increases!                                        !!!!
#> !!! Choose maybe fac.oldxsi > 0 and/or increment.factor > 1    !!!!
#>   Maximum item intercept parameter change: 0.028625
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.032584
#> ....................................................
#> Iteration 9     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 127.0225 | Absolute change: -0.0878 | Relative change: 0.00069134
#> !!! Deviance increases!                                        !!!!
#> !!! Choose maybe fac.oldxsi > 0 and/or increment.factor > 1    !!!!
#>   Maximum item intercept parameter change: 0.029924
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.022953
#> ....................................................
#> Iteration 10     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 126.902 | Absolute change: 0.1205 | Relative change: 0.00094916
#>   Maximum item intercept parameter change: 0.027704
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.016455
#> ....................................................
#> Iteration 11     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 126.7005 | Absolute change: 0.2015 | Relative change: 0.00159025
#>   Maximum item intercept parameter change: 0.023953
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.011712
#> ....................................................
#> Iteration 12     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 126.4686 | Absolute change: 0.2319 | Relative change: 0.00183401
#>   Maximum item intercept parameter change: 0.020194
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.008469
#> ....................................................
#> Iteration 13     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 126.2466 | Absolute change: 0.222 | Relative change: 0.00175837
#>   Maximum item intercept parameter change: 0.016477
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.006224
#> ....................................................
#> Iteration 14     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 126.0528 | Absolute change: 0.1939 | Relative change: 0.00153789
#>   Maximum item intercept parameter change: 0.013168
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.004631
#> ....................................................
#> Iteration 15     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.892 | Absolute change: 0.1608 | Relative change: 0.00127699
#>   Maximum item intercept parameter change: 0.01037
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.003477
#> ....................................................
#> Iteration 16     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.7626 | Absolute change: 0.1294 | Relative change: 0.0010288
#>   Maximum item intercept parameter change: 0.00809
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.002628
#> ....................................................
#> Iteration 17     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.6606 | Absolute change: 0.102 | Relative change: 0.00081175
#>   Maximum item intercept parameter change: 0.006263
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.001995
#> ....................................................
#> Iteration 18     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.581 | Absolute change: 0.0796 | Relative change: 0.00063349
#>   Maximum item intercept parameter change: 0.004831
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.001518
#> ....................................................
#> Iteration 19     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.5195 | Absolute change: 0.0615 | Relative change: 0.0004902
#>   Maximum item intercept parameter change: 0.003713
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.001159
#> ....................................................
#> Iteration 20     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.4722 | Absolute change: 0.0473 | Relative change: 0.00037729
#>   Maximum item intercept parameter change: 0.002848
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.000885
#> ....................................................
#> Iteration 21     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.4359 | Absolute change: 0.0363 | Relative change: 0.00028944
#>   Maximum item intercept parameter change: 0.002182
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.000677
#> ....................................................
#> Iteration 22     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.4081 | Absolute change: 0.0278 | Relative change: 0.00022134
#>   Maximum item intercept parameter change: 0.001669
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.000518
#> ....................................................
#> Iteration 23     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.3869 | Absolute change: 0.0213 | Relative change: 0.00016959
#>   Maximum item intercept parameter change: 0.001279
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.000397
#> ....................................................
#> Iteration 24     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.3706 | Absolute change: 0.0162 | Relative change: 0.0001294
#>   Maximum item intercept parameter change: 0.000977
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.000304
#> ....................................................
#> Iteration 25     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.3582 | Absolute change: 0.0124 | Relative change: 9.904e-05
#>   Maximum item intercept parameter change: 0.000748
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.000233
#> ....................................................
#> Iteration 26     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.3487 | Absolute change: 0.0095 | Relative change: 7.554e-05
#>   Maximum item intercept parameter change: 0.000572
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.000178
#> ....................................................
#> Iteration 27     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.3415 | Absolute change: 0.0072 | Relative change: 5.776e-05
#>   Maximum item intercept parameter change: 0.000437
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.000136
#> ....................................................
#> Iteration 28     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.336 | Absolute change: 0.0055 | Relative change: 4.416e-05
#>   Maximum item intercept parameter change: 0.000335
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 0.000105
#> ....................................................
#> Iteration 29     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.3317 | Absolute change: 0.0042 | Relative change: 3.376e-05
#>   Maximum item intercept parameter change: 0.000256
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 8e-05
#> ....................................................
#> Iteration 30     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.3285 | Absolute change: 0.0032 | Relative change: 2.581e-05
#>   Maximum item intercept parameter change: 0.000196
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 6.1e-05
#> ....................................................
#> Iteration 31     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |----
#>   Deviance = 125.326 | Absolute change: 0.0025 | Relative change: 1.974e-05
#>   Maximum item intercept parameter change: 0.00015
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 4.7e-05
#> ....................................................
#> Iteration 32     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |---
#>   Deviance = 125.3241 | Absolute change: 0.0019 | Relative change: 1.51e-05
#>   Maximum item intercept parameter change: 0.000159
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 3.6e-05
#> ....................................................
#> Iteration 33     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |--
#>   Deviance = 125.3223 | Absolute change: 0.0018 | Relative change: 1.464e-05
#>   Maximum item intercept parameter change: 6.7e-05
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 2.9e-05
#> ....................................................
#> Iteration 34     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |---
#>   Deviance = 125.3217 | Absolute change: 6e-04 | Relative change: 4.52e-06
#>   Maximum item intercept parameter change: 0.000112
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 1.7e-05
#> ....................................................
#> Iteration 35     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |-
#>   Deviance = 125.3204 | Absolute change: 0.0013 | Relative change: 1.053e-05
#>   Maximum item intercept parameter change: 7.9e-05
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 1.8e-05
#> ....................................................
#> Iteration 36     2020-09-24 01:15:08
#> E Step
#> M Step Intercepts   |-
#>   Deviance = 125.3195 | Absolute change: 9e-04 | Relative change: 7e-06
#>   Maximum item intercept parameter change: 5.1e-05
#>   Maximum item slope parameter change: 0
#>   Maximum regression parameter change: 0
#>   Maximum variance parameter change: 1.3e-05
#> ....................................................
#> Item Parameters
#>    xsi.index  xsi.label     est
#> 1          1 item1_Cat1 -0.3774
#> 2          2 item1_Cat2  0.2232
#> 3          3 item1_Cat3  0.1736
#> 4          4 item2_Cat1 -0.3774
#> 5          5 item2_Cat2  0.2232
#> 6          6 item2_Cat3  0.1736
#> 7          7 item3_Cat1 -0.3774
#> 8          8 item3_Cat2  0.2232
#> 9          9 item3_Cat3  0.1736
#> 10        10 item4_Cat1  0.6410
#> 11        11 item4_Cat2  0.5874
#> 12        12 item4_Cat3  1.2237
#> ...................................
#> Regression Coefficients
#>      [,1]
#> [1,]    0
#> 
#> Variance:
#>       [,1]
#> [1,] 1.145
#> 
#> 
#> EAP Reliability:
#> [1] 0.743
#> 
#> -----------------------------
#> Start:  2020-09-24 01:15:08
#> End:  2020-09-24 01:15:08 
#> Time difference of 0.02858067 secs
#> TAM 3.5-19 (2020-05-05 22:45:39) 
#> 
#> Call:
#> tam.mml(resp = dat[, -1] - 1)
#> 
#> Multidimensional Item Response Model in TAM 
#> 
#> Deviance= 121.57  | Log Likelihood= -60.78 
#> Number of persons used= 10 
#> Number of estimated parameters= 13 
#> AIC= 148 
#> BIC= 152

Created on 2020-09-24 by the reprex package (v0.3.0.9001)

Thank you for your tips.

I have updated R studio and R Gui to the latest version and run the code again in both, R Studio and Gui. Unfortunately it keeps crashing :frowning:

Where exactly do I need more memory. In the file where my project is saved or somewhere else?

It's not certain that RAM is the problem, unless the machine is seriously underpowered for its background processes, including any zombie processes that are hogging resources. Windows OS issues are not something that I can help with, however.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.