confidence_intervals_pjk {lphom} | R Documentation |
Confidence Intervals for lphom estimates
Description
Estimates confidence intervals for the (vote) transfer probabilities obtained with lphom()
Usage
confidence_intervals_pjk(lphom.object, level = 0.9, num.d = 11, B = 30)
Arguments
lphom.object |
An object output of the lphom() function. |
level |
A number between 0 and 1 to be used as level of confidence for the intervals. By default 0.90 |
num.d |
Number maximum of different disturbances, |
B |
Integer that determines the number of simulations to be performed for each disturbance value. By default, 30. |
Value
A list with the following components
TM.estimation |
Transfer matrix of probability point estimates. |
TM.lower |
Transfer matrix of lower values for the probability estimates. |
TM.upper |
Transfer matrix of upper values for the probability estimates. |
level |
Confidence level used when computing the confidence intervals. |
Author(s)
Jose M. Pavia, pavia@uv.es
Rafael Romero rromero@eio.upv.es
References
Romero, R, Pavia, JM, Martin, J and Romero G (2020). Assessing uncertainty of voter transitions estimated from aggregated data. Application to the 2017 French presidential election. Journal of Applied Statistics, 47(13-15), 2711-2736. doi:10.1080/02664763.2020.1804842
Martin, J (2020). Analisis de la incertidumbre en la estimacion de la movilidad electoral mediante el procedimiento plhom. PhD Dissertation.
Examples
# Do not run
# mt.lphom <- lphom(France2017P[, 1:8], France2017P[, 9:12], "raw", NULL, FALSE)
# set.seed(533423)
# confidence_intervals_pjk(mt.lphom, level = 0.90, num.d = 5, B = 8)