P value calculation function for models used in comparison_plot() function
p_value_calc(
data_path,
window_size = 3,
model,
parameter,
p_val_method,
repetition
)A list containing the calculated p-values and other related information.
The path to the data file.
The size of the window for analysis.
The model to be used for p-value calculation.
The parameters for the model.
The method to be used for p-value calculation ("Parametric" or "Non-Parametric").
The number of repetitions for the analysis.