fit_gamlss1 {childsds}R Documentation

fit_gamlss1

Description

fit_gamlss

Usage

fit_gamlss1(
  data,
  age.min = 0,
  age.max = 80,
  age.int = 1/12,
  keep.models = F,
  dist = "BCCGo",
  formula = NULL,
  sigma.formula = ~1,
  nu.formula = ~1,
  tau.formula = ~1,
  method.pb = "ML"
)

Arguments

data

dataframe as return by select_meas()

age.min

lower bound of age

age.max

upper bound of age

age.int

stepwidth of the age variable

keep.models

indicator whether or not models in each iteration should be kept

dist

distribution used for the fitting process, has to be one of BCCGo, BCPEo, BCTo as they are accepted by lms()

formula

formula for the location parameter

sigma.formula

formula for the sigma parameter

nu.formula

formula for the nu parameter

tau.formula

formula for the tau parameter

method.pb

GAIC or ML

Details

wrapper around the gamlss function from the gamlss package returns the fitted lms-parameter at given age points the function is called inside do_iterations and may not be called directly

Value

list containing a dataframe of the fitted lms parameter at the given age points and the fitted model

Author(s)

Mandy Vogel


[Package childsds version 0.8.0 Index]