fit_gamlss {childsds}R Documentation

fit lms

Description

fit gamlss

Usage

fit_gamlss(
  data,
  age.min = 0.25,
  age.max = 18,
  age.int = 1/12,
  keep.models = F,
  dist = "BCCGo",
  mu.df = 4,
  sigma.df = 3,
  nu.df = 2,
  tau.df = 2,
  trans.x = F,
  lim.trans = c(0, 1.5),
  value,
  tmpdata
)

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()

mu.df

degree of freedem location parameter

sigma.df

degree of freedem spread parameter

nu.df

degree of freedem skewness parameter

tau.df

degree of freedem kurtosis parameter

trans.x

indicator wether age should be transformed or not

lim.trans

limits for the exponent of transformation of age

value

names of the value variable (character) if different from value, ignored

tmpdata

ignored

Details

wrapper around the lms function in the gamlss package returns the fitted lms-parameter at given age points the function is called inside do_iterations and may not 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.7.6 Index]