Closed AaronGullickson closed 3 years ago
Preliminary results on ACS data with expanded ethnicity groups:
Method | time |
---|---|
Efron method | 159 seconds |
"Approximate" method | 149 seconds |
Exact method | 855 seconds |
So, yeah, the approximate methods are way faster than the exact method. Now I need to check whether the results are close.
The results are basically identical. The correlation shows the same:
[,1] [,2] [,3]
[1,] 1.0000000 0.9999999 0.9999998
[2,] 0.9999999 1.0000000 0.9999998
[3,] 0.9999998 0.9999998 1.0000000
Commit 5fb629cc279a1af7a11bdc2c6bb6b5df3eae4696 adds the script for the testing and commit 679c48ce21fdf4d08de18f06cf02d45281a35556 changes to the efron method for restricted models.
It turns out there is an option in
clogit
to use an approximation technique that is much faster. I want to try this out and see if it produces similar results and how much faster it its:From the help file: