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