This function calculates the starting point for the P-SIMEX on inbreeding depression with the initial error in the pedigree.
initial(model, data, pedigree)
An object specifying the model to calculate inbreeding depression. It can be a lm or glm.
A dataset containing the phenotypic measurements on the population and the covariates which are included in the model.
A dataset containing the initial pedigree structure. It must have three columns: id, parent1, parent2.
A list:
The correct expression of the model to calculate inbreeding depression
The starting value of inbreeding depression
The starting standard error of inbreeding depression
The starting p-value of inbreeding depression
The starting mean value of inbreeding coefficient
The starting median value of inbreeding coefficient
The starting variance of inbreeding coefficient