doMT: doMT: estimate mpt model using multiTree

Description Usage Arguments Value Examples

Description

Estimate an MPT model using multiTree

Usage

1
2
3
doMT(fEqn, data, catlabels = NULL, restrictions = NULL, fOut = "",
  lambda = 0, numRep = 3, maxIter = 10000, convergence = 1e-10,
  CI = 95, bootstrapSamples = 0, jacobian = FALSE, fia = FALSE)

Arguments

fEqn

eqn file location.

data

either a string pointing to a mdt file or a N*M data matrix or a N*M data frame.

catlabels

A string vector of category labels (matching the heading of the data file), only required for data matrix.

restrictions

= either a string pointing to a restrictions file or a list containing restrictions e.g. list("a=b", "a=.5").

fOut

filename where outputfile should be written.

lambda

lambda value for PD^lamda used in minimization and fit assessment.

numRep

how many times parameter estimation should be repeated (to avoid local minima).

maxIter

maximum number of iterations.

convergence

convergence criterion.

CI

size of confidence interval in %, e.g. 95 for 95%

jacobian

whether to compute the jacobian.

fia

whether to compute the fisher information approximation of the minimum description length.

bootstrap

samples number of bootstrap samples. 0 = no bootstrap.

Value

mt results object (list)

Examples

1
2
3
4
5
6
## Not run: 
mtres <- doMT('2HT.eqn', '2HT.mdt', restrictions=list("g = 0.5"))
mtres$paramEst
summary(mtres)

## End(Not run)

moshagen/multiTreeR documentation built on May 23, 2019, 6:12 a.m.