A data contain too many observations for each person even workInLogs=TRUE
Posted: 29 Jan 2024, 03:58
Hi, I am working with a choice model that a person is observed about 2300 times of up to 7 alternatives.
In this data, even I use "workInLogs=TRUE", R reached the numerical limits on the choice probability when I use apollo_panelProd.
(e.g. exp(log(0.14)*2300) = 0)
I try to use "Rmpfr" to increase the numerical limits by modifying the apollo_panelProd.
(e.g. exp(log(Rmpfr::mpfr(0.14, 32)*2300)) = 322.00000024)
However, the function depends on the type of object and seems too many modifications are required to use Rmpfr in apollo_panelProd.
I also surmised that there may be several other functions that make up apollo that need to be fixed as well.
I would appreciate it if you would consider introducing an option to increase the accuracy of the choice probability when using panel data If you think it is worthwhile to fix this problem.
Thank you for your consideration,
Toshifumi
In this data, even I use "workInLogs=TRUE", R reached the numerical limits on the choice probability when I use apollo_panelProd.
(e.g. exp(log(0.14)*2300) = 0)
I try to use "Rmpfr" to increase the numerical limits by modifying the apollo_panelProd.
(e.g. exp(log(Rmpfr::mpfr(0.14, 32)*2300)) = 322.00000024)
However, the function depends on the type of object and seems too many modifications are required to use Rmpfr in apollo_panelProd.
I also surmised that there may be several other functions that make up apollo that need to be fixed as well.
I would appreciate it if you would consider introducing an option to increase the accuracy of the choice probability when using panel data If you think it is worthwhile to fix this problem.
Thank you for your consideration,
Toshifumi