Learn R Programming

⚠️There's a newer version (1.7.12) of this package.Take me there.

stpm (version 1.1.2)

Stochastic Model for Analysis of Longitudinal Data

Description

Utilities to estimate parameters of stochastic process and modeling survival trajectories and time-to-event outcomes observed from longitudinal studies. Miscellaneous function for data preparation is also provided. For more information, see: "Stochastic model for analysis of longitudinal data on aging and mortality" by Yashin A. et al, 2007, Mathematical Biosciences, 208(2), 538-551 .

Copy Link

Version

Install

install.packages('stpm')

Monthly Downloads

202

Version

1.1.2

License

GPL

Maintainer

Ilya Y Zhbannikov

Last Published

March 10th, 2016

Functions in stpm (1.1.2)

spm_discrete

Discrete multi-dimensional optimization
setub

Sets upper boundaries.
simdata_cont

Multi-dimensional simulation function for continuous trait.
prepare_data_discr

Prepares discrete-time dataset.
spm_time_dep

spm_time_dep : a function that estimates parameters from the model with time-dependent coefficients.
prepare_data

Data pre-processing for analysis with stochastic process model methodology.
simdata_cont2

Multi-dimensional simulation function for continuous trait. Similar to simdata_cont(...) but much faster.
optimize

A sub-finction that corresponds to the spm_time_dep(...)
trim.leading

Returns string w/o leading whitespace
spm_projection

A data projection with previously estimated or user-defined parameters. Projections are constructed for a cohort with fixed or normally distributed initial covariates.
vitstat

Vital (mortality) statistics.
trim

Returns string w/o leading or trailing whitespace
prepare_data_cont

Prepares continuouts-time dataset.
longdat

This is the longitudinal dataset.
simdata_time_dep

Simulation function for continuous trait with time-dependant coefficients.
simdata_discr

Multi-dimension simulation function
spm_continuous

Continuous multi-dimensional optimization
setlb

Sets lower boundaries.
trim.trailing

Returns string w/o trailing whitespace
spm

A central function that estimates Stochastic Process Model parameters a from given dataset.
fill_last

Filling the last cell