Simple RSA

Actual RSA model Kullback-Leibler divergence determination for utterance choice experiments.

Softness, non-obedience and klValueFactor are optimized.

SimpleRSAModelUttKLDiv_3params_independent(data, par1, par2, par3)

Arguments

data

A matrix with data rows.

column structure: [1:OC1,OC2,OC3,4:numUttOptions,6: picked utterance]

1:OC1 Object 1. A value between 1 and 27.

2:OC2 Object 2. A value between 1 and 27.

3:OC3 Object 3. A value between 1 and 27.

4:numUttOptions The number of valid utterances in the scene.

6: picked utterance The utterance picked by the participant.

par1
softness parameter

Specifies how much actual feature priorities come into play in the object choice (The larger the higher the tendency towards uniform liking).

par2
non-obedience parameter

The extent to which the instruction of the speaker is obeyed by the listener. (0 = full obedience, infinity = full instruction ignorance).

par3
klValueFactor

A parameter that can be negative, 0 or positive:

Value

Minimized Kullback-Leibler divergence and the optimal parameters.

Details

This function uses getSimpleBestInfGainUttPreferencesIterative.

This function is used in

SimpleRSAModelUttKLDivParamA_independent,

SimpleRSAModelUttKLDivParamB_independent,

SimpleRSAModelUttKLDivParamK_independent,

SimpleRSAModelUttKLDivParamBK_independent,

SimpleRSAModelUttKLDivParamAK_independent,

SimpleRSAModelUttKLDivParamAK.2_independent,

SimpleRSAModelUttKLDivParamA.2_independent,

SimpleRSAModelUttKLDivParamB.2_independent,

SimpleRSAModelUttKLDivParamK.2.2_independent,

SimpleRSAModelUttKLDivParamK.2.0_independent,

SimpleRSAModelUttKLDivParamBK.2_independent,

SimpleRSAModelUttKLDivParamAB_independent,

SimpleRSAModelUttKLDivParamABK_independent.