Learn R Programming

BTLLasso (version 0.1-5)

response.BTLLasso: Create response object for BTLLasso

Description

Create a response object for BTLLasso and cv.BTLLasso

Usage

response.BTLLasso(response, first.object, second.object, subject = NULL)

Arguments

response
Vector containing results (binary or ordinal) of single paired comparisons.
first.object
Vector (character or factor, same length as response) indicating the first object of the respective paired comparison from response.
second.object
Vector (character or factor, same length as response) indicating the second object of the respective paired comparison from response.
subject
Vector (character, same length as response) indicating the subject that generated the respective paired comparison from response.

Value

Object of class response.BTLLasso

References

Schauberger, Gunther and Tutz, Gerhard (2015): Modelling Heterogeneity in Paired Comparison Data - an L1 Penalty Approach with an Application to Party Preference Data, Department of Statistics, LMU Munich, Technical Report 183

Schauberger, Gunther, Groll Andreas and Tutz, Gerhard (2016): Modelling Football Results in the German Bundesliga Using Match-specific Covariates, Department of Statistics, LMU Munich, Technical Report 197

See Also

BTLLasso, cv.BTLLasso