initEst: Initial Estimate

Description Usage Arguments Value

Description

This function generates coefficients of previous variables based on a single time series observation. Later on, this should include more complex relationships instead of just past variables and better estimation methods.

Usage

1
initEst(data, t, freqW = NULL, freqA = NULL, freqY = NULL)

Arguments

data

data.frame object containg the time series with relevant time ordering.

t

Outcome time point of interest. It must be greater than the intervention node A.

freqW

A numeric specifying the Markov order for W nodes.

freqA

A numeric specifying the Markov order for A nodes.

freqY

A numeric specifying the Markov order for Y nodes.

Value

An object of class tstmle01.

fitW

Fit object for W part of the likelihood.

fitA

Fit object for A part of the likelihood.

fitY

Fit object for Y part of the likelihood.

probW

Probability of success for the W process.

probA

Probability of success for the A process.

probY

Probability of success for the Y process.

freqW

Input Markov order for W.

freqA

Input Markov order for A.

freqY

Input Markov order for Y.

data

Input data.

lag_data

Data with lagged components.


podTockom/tstmle01 documentation built on May 14, 2019, 2:03 a.m.