fixRates: Fix all or selected rate parameters in an RSIena effects...

View source: R/fixRates.R

fixRatesR Documentation

Fix all or selected rate parameters in an RSIena effects object

Description

This is useful for speeding up estimation once rate parameter values have been found and are stable across different runs.

Usage

fixRates(efObj, efxNums = c(0))

Arguments

efObj

An RSiena 'effects' object.

efxNums

A vector of effect numbers of the rates to be fixed. If this vector consists only of a 1 element vector with 0 in it, or is omitted (in which case, c(0) is the default), all rate parameters in the effects object are fixed, meaning they are not estimated, but remain at their starting values.

Value

The modified effects object, with specified (or all ) rate parameters fixed


johninpdx/JMLUtils documentation built on Dec. 29, 2024, 1:27 p.m.