extrapolation: Extrapolation phase for the SIMEX algorithm on pedigrees

Description Usage Arguments Value Author(s)

Description

Starting from the simulated values obtained in the previous SIMEX phase, it computes averages across all simulations for each error rate and fits a function of the estimate in terms of error rate. From this function it extrapolates the value corresponding to the null error rate. The fitted function can be linear, quadratic, cubic or non linear.

Usage

1
extrapolation(results, lambda, lambda0, estimate0, fitting.method, B, parameter)

Arguments

results

A dataset with $100$ or B values for each error rate given by the simulation part of the algorithm.

lambda

A numerical vector containing the error rates.

lambda0

The initial error rate.

estimate0

The initial error prone estimate.

fitting.method

A string or a vector of strings containig the fitting methods for the function. It can be: 'line', 'quad', 'nonl' or 'cubi'.

B

The number of simulation for each error rate.

parameter

A string containg the parameter of interest P-SIMEX is performed on. It can be either 'inbreeding' or 'heritability'.

Value

For inbreeding a list:

inb_pred

Inbreeding depression extrapolated error free value

inb_pred_se

Standard error of the error free value: regression component

se_pred

Standard error of the error free value: sampling error component

var

Total variance of the error free value

AIC

The AIC of the fitted function

For heritability a list:

h_pred

Heritability extrapolated error free value

h_pred_se

Standard error of the error free value: regression component

se_pred

Standard error of the error free value: sampling error component

var

Total variance of the error free value

VA_pred

Extrapolated value for the additive genetic variance

VE_pred

Extrapolated value for the environmental variance

AIC

The AIC of the fitted function

Author(s)

Erica Ponzi


PSIMEX documentation built on May 2, 2019, 3:34 p.m.