Learn R Programming

BetaBit (version 2.2)

regression: The Regression Game

Description

The regression function is used for solving problems in the data-based game ,,The regression Game''.

Usage

regression(...)

Value

Function returns one of three possible values:

  • TRUE if you provided correct answer to a task,

  • FALSE if you provided wrong answer to a task,

  • NULL if function can't identify task you wanted to answer.

Arguments

...

regression function is called with different arguments, which vary depending on a problem that Beta and Bit are trying to solve. See Details in order to learn more about the list of possible arguments.

Author

  • Tomasz Zoltak - the idea and the implementation,

  • Mateusz Zoltak - comments, contribution to hints,

  • Zuzanna Brzozowska - proofreading,

  • Przemyslaw Biecek - comments and the integration with the `BetaBit` package.

Details

Every time when some additional hints are needed one should add hint = TRUE or techHint = TRUE argument to the regression function. Technical hints will point out R packages and/or functions which might help you to solve the task while "normal" hints provide you with methodological advices.

In this game you are helping Professor Pearson. You can communicate with him through the regression function.

In each call include the subject parameter (indicating which task you are trying to answer) and the content parameter (providing information Professor Pearson is asking you for in a given task).

Data used in the game comes from the study of Polish upper-secondary schools first grade students. It was conducted together with the PISA 2009 study using the same cognitive tests and questionnaires as in PISA 2009 but on a different group of students (in Poland most of the students in a PISA sample attends lower-secondary schools). The students who participated in the first wave of the study were followed in the 2nd grade of upper-secondary school within the research program Our further study and work (Nasza Dalsza Nauka i Praca). Both studies were conducted by the Institute of Philosophy and Sociology Polish Academy of Sciences. The original data was changed a little, to better fit the purpose of the game.

,,The Regression Game'' is a free of charge, educational project of the SmarterPoland.pl Foundation.

Examples

Run this code
regression()
regression(hint = TRUE)
regression(techHint = TRUE)

Run the code above in your browser using DataLab