Calculate model statistics
Arguments
- model_data
Data of the model.
- fit_coeffs_vec
Vector of fitting coefficients.
- glm_results
Results of glm.
- fit_algorithm
String of the algorithm used.
- response
Type of response.
- link
Fit link.
- type
Theoretical or raw glm model statistics.
- Y
Y response (required in constraint-maxlik-optimization).
- mu
mu response required in constraint-maxlik-optimization).
- n
number of parameters (required in constraint-maxlik-optimization).
- npar
number of parameters (required in constraint-maxlik-optimization).
- genome_factor
Genomic conversion factor used in translocations.
- calc_type
Calculation type, either "fitting" or "estimation".