getPTLparams {LCA} | R Documentation |
Find best values of PTL parameters
Description
Finds parameters alpha
, beta
and gamma
in PTL model to fit an observed distribution of differences in each feature's values between two given objects from a dataset.
Usage
getPTLparams(x1,x2)
Arguments
x1 |
Numeric data input vector, standardised to range (0,1) |
x2 |
Numeric data input vector, standardised to range (0,1) |
Details
Uses iterative NLS fitting to determine parameters of PTL model to represent the distribution of the differences observed between two objects selected from the dataset being analysed with LCA.
Value
List with the following elements:
d |
Numeric value specifying pair-wise global distance between objects |
beta |
Numeric value specifying value of parameter |
alpha |
Numeric value specifying value of parameter |
gamma |
Numeric value specifying value of parameter |
Author(s)
Ed Curry e.curry@imperial.ac.uk