one_iteration {childsds} | R Documentation |

one iteration

one_iteration( data.list, method, prop.fam = 0.75, prop.subject = 1, age.min = 0, age.max = 18, age.int = 1/12, keep.models = F, dist = "BCCGo", formula = NULL, sigma.df = 3, nu.df = 2, mu.df = 4, tau.df = 2, sigma.formula = ~1, nu.formula = ~1, tau.formula = ~1, verbose = F, trans.x = F, lim.trans = c(0, 1.5), method.pb = "ML" )

`data.list` |
list of dataframes as returned by prepare_data |

`method` |
use vgam or gamlss |

`prop.fam` |
proportion of families to be sampled |

`prop.subject` |
proportion of subject to be sampled |

`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.df` |
degree of freedem spread parameter |

`nu.df` |
degree of freedem skewness parameter |

`mu.df` |
degree of freedem location parameter |

`tau.df` |
degree of freedem kurtosis parameter |

`sigma.formula` |
formula for the sigma parameter |

`nu.formula` |
formula for the nu parameter |

`tau.formula` |
formula for the tau parameter |

`verbose` |
whether or not information about sampling will be printed during while iterate |

`trans.x` |
indicator wether age should be transformed or not |

`lim.trans` |
limits for the exponent of transformation of age |

`method.pb` |
GAIC or ML |

function samples families then measurements and fits the model
the function is called inside `do_iterations`

and may not called directly

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

Mandy Vogel

[Package *childsds* version 0.7.6 Index]