ptsr.link: Create a Link for PTSR models

View source: R/link.R

ptsr.linkR Documentation

Description

Given the name of a link, this function returns a link function, an inverse link function, the derivative d\eta / d\mu and the derivative d\mu / d\eta.

Usage

ptsr.link(link = "log")

Arguments

link

character; one of "log", "log1". See ‘Details’.

Details

The available links are:

log: f(x) = log(x)

log1: f(x) = log(x-1)

Value

An object of class "link-ptsr", a list with components

linkfun

Link function function(mu)

linkinv

Inverse link function function(eta)

linkdif

Derivative function(mu) d\eta / d\mu

mu.eta

Derivative function(eta) d\mu / d\eta

name

a name to be used for the link


PTSR documentation built on June 8, 2025, 11:11 a.m.

Related to ptsr.link in PTSR...