Learn R Programming

LCA (version 0.1.1)

predictPTLparams: Predict Values for PTL Model

Description

Generates parameter values for PTL model, based on a specified value of the hyperparameter

Usage

predictPTLparams(d,PTLmodel)

Arguments

d

Numeric value specifying global dissimilarity between the selected objects

PTLmodel

List, as returned by the function fitPTLmodel, with named elements alpha, beta and gamma specifying linear models for PTL parameter prediction.

Value

List with elements:

alpha

Numeric value specifying the parameter alpha in the PTL model used to estimate distribution of differences between the given objects

beta

Numeric value specifying the parameter beta in the PTL model used to estimate distribution of differences between the given objects

gamma

Numeric value specifying the parameter gamma in the PTL model used to estimate distribution of differences between the given objects

Details

Uses hyperparameter-based prediction linear models, calibrated to the dataset being analysed using the fitPTLmodel function, to estimate PTL model parameters for a pair of objects in the dataset with a global dissimilarity d.