get.vec.weight.hetero: get.vec.weight.hetero returns the vector of weights for the...

View source: R/QUALYPSOSS.r

get.vec.weight.heteroR Documentation

get.vec.weight.hetero returns the vector of weights for the computation of heteroscedastic errors corresponding to one simulation chain

Description

get.vec.weight.hetero returns the vector of weights for the computation of heteroscedastic errors corresponding to one simulation chain

Usage

get.vec.weight.hetero(nP, type.weight.hetero)

Arguments

nP

length of the continuous predictor for which we want to obtain the prediction (e.g. time) we suppose that continuous predictor is regularly spaced (e.g. 1990,2000,2010,...)

type.weight.hetero

"constant" (homoscedastic) or "linear" (heteroscedastic)

Value

vector of square roots of weights of the same length than predContUnique

Author(s)

Guillaume Evin


qualypsoss documentation built on Aug. 31, 2022, 5:09 p.m.