est_A_from_data: Get very rough estimates of the advantage/disadvantage matrix...

Description Usage Arguments Value Examples

View source: R/est_A_from_df.R

Description

Combined with est_C_given_A(), this might be useful for warm starting mELO models.

Usage

1

Arguments

data

a data.frame of matches. Four columns, time, agent 1, agent 2 and the outcome.

Value

a matrix.

Examples

1
2
3
4
5
6
est_A_from_data(rps_df)
est_A_from_data(rpssl_df)
est_A_from_data(rpsfw_df)
noisy_rpsfw_df <- rpsfw_df
noisy_rpsfw_df$outcome <- add_noise_to_outcomes(noisy_rpsfw_df$outcome, error_prob = 0.5)
est_A_from_data(noisy_rpsfw_df)

dclaz/mELO documentation built on May 17, 2021, 2:27 a.m.