genRandomPar: Generator function for initial values in Rogers and Castro...

Description Usage Arguments Value Examples

View source: R/genrandom.R

Description

Generate 7, 9, 11 or 13 random values from an a priori uniform distribution for Roger and Castro migration models

Usage

1
genRandomPar(profile = "seven")

Arguments

a1

First level parameter.

a2

Second level parameter.

a3

Third first level parameter.

c

Fourth level parameter or constant.

alpha_1

first profile parameter: rate of descent of prelabour force component.

mu2

First position parameter: mean age at highest peak.

alpha_2

third profile parameter: rate of ascent of labour force component.

lambda_2

third profile parameter: rate of descent of labour force component.

mu_3

Second position parameter: age at retiremen peak.

alpha_3

third profile parameter: rate of ascent of post-labour force component.

lambda_3

third profile parameter: rate of descent of post-labour force component.

Value

A list with random values for parameters

Examples

1
2
3
4

elflacosebas/migraR documentation built on Nov. 17, 2018, 2:23 p.m.