InternalFunctions {oglmx}R Documentation

Various functions not intended for user.

Description

Functions used in the process of estimating parameters and standard errors of ordered generalized linear models.

Usage

updateComponents(Env,Parameters)

oglmx.maxlik(inputenv,start)

loglikelihood.oglmx(Env)

score_oglmx(Env)

hessian_oglmx(Env)

calcBHHHmatrix(Env)

mergeformulas(formula1,formula2)

calcstartvalues(whichparameter,gfunc,threshvec)

getThresholds(outcomematrix,thresholdvector)

Probability(eta_1,eta_0,link)

Arguments

Env, inputenv

environment, typically constructed by the oglmx.fit function, that contains all relevant information for the optimisation process.

Parameters, start

numeric vector of length equal to the number of estimated parameters.

formula1, formula2

items of class formula.

whichparameter

logical

gfunc

expression, function used to model the variance

threshvec, thresholdvector

numeric vectors of threshold values

outcomematrix

numeric matrix with binary variables indicating the outcome for each observation

eta_1, eta_0

input values for the link function

link

string value indicating which link function is to be used

Author(s)

Nathan Carroll, nathan.carroll@ur.de

See Also

oglmx, getEtas


[Package oglmx version 3.0.0.0 Index]