Purpose: We compare the two oddball tasks for auditory and visually in the healthy subjects with the EEG experiment. In this regard, we compare three different dimensions of the EEG, including regional, longitudinal, and functional effects. The regional dimension defines as the region of the brain, the longitudinal dimension is the repetition of the stimuli, and the functional dimension is the whole curve of ERP, evoked related potential, instead of the only amplitude and latency of it. We also study the trial effects for each stimulus in each task. Materials and Methods: Seventeen healthy patients, 11 of whom are males, have participated in this study. The dataset was downloaded from the internet. The EEG dataset was cleaned. There are three trials and each has a total of 25 target stimuli per group. The functional data analysis, Hybrid principal component analysis, were used to estimate three effects among two different visually and auditory oddball tasks. The 95% Bayesian credible sets were estimated with three trials of each stimulus and each group. The Generalized Additive Mixed Model was used for studying the effect of trials as random effects. Results: The first eigenfunctions of functional and longitudinal dimensions and first and second eigenvector of regional dimensions were estimated. The 95% Bayesian credible sets indicated that the variability between trials exists and is different for each stimulus and each target. The GAMM model indicates that the interaction effects in the functional dimension are statistically significant for both tasks. The interaction effect in the longitudinal dimension is not statistically significant in the Auditory Task and is statistically significant in the visual task. The brain regions are statistically significant and the main effect of the target stimuli is significant for auditory (P-Value: 0.06). The interaction effect for target stimuli and the region of the brain is only significant for Occipital, Parietal, and Right Temporal (P-values < 0.05) for the auditory task. The random effects of trials are statistically significant in most of them. Conclusion: The functional data analysis provides many statistical methods to analyze the EEG dataset. The HPCA can capture the functional-longitudinal and regional dimensions and we also study the new dimension, trials with GAMM. The different regions of the brain have not the same activity in these two tasks. The repeating of the stimuli has a positive effect on complex tasks. The between trial's variability are statistically significant, and we conclude to study this effect to show the stability of the trials.
The road traffic injuries risk factors such as driving offenses and average speed are concerns for health organizations to reduce the number of injuries. Without any comprehensive view of each road, one cannot decide about the effective policy. In this manner, the data-driven policy will help to improve and assess the decisions. The count data near the road of two airports is surveyed for investigating the time-varying speed zones. The descriptive statistics, ANOVA, and functional data analysis were used. The hourly data of traffic counts for four different locations at the entrance of the two airports, international and domestics, were collected for one the year 2018 to 2019.The hourly pattern of driving offenses for each road was assessed and the to and from airport roads had different peaks (<0.05). The hour, weekdays, type of airport, direction and their interactions were statistically significant (<0.05) for the chance of driving offenses. The speed average during the day was statistically different (<0.5) by the number of different types of vehicles. The traffic count data is a great resource for decision making in safe driving subjects such as driving offenses. With functional data analysis, we can analyze them to get the most of the characteristics of this data. The airports are public places with high traffic demand in all countries that yields the different pattern of traffic transportation, therefore we extract the factors that affect the driving offenses. Finally, we conclude that conducting a time-varying speed zone near the airports seems vital.