Learn R Programming

MAGMA.R (version 1.0.3)

MAGMA_sim_data: MAGMA simulated data set

Description

The 'MAGMA.R' simulated data set contains 14 variables of 800 cases. It is used as example in the vignette and the help pages.

Usage

MAGMA_sim_data

Arguments

Format

A data frame with 17 variables of 800 cases.

ID

: Individual ID for each case

gender

: Binary variable indicating gender of a participant

gifted_support

: Binary variable that specifies whether a case received giftedness support (1) or not (0)

teacher_ability_rating

: Three-step ordinal variable ranging from 1 to 3 indicating increasing eacher rated ability of a case

enrichment

: Binary variable that indicates whether a case participated in an afternoon enrichment program

parents_academic

: Binary variable that indicates whether at least one parent of a case has an academic background

GPA_school

: Variable ranging from 1 to 6 that indicates a case's high school GPA. Lower values indicate higher achievement

IQ_score

: Variable indicating the normed IQ score of a case

Motivation

: The scale score of a case in a motivational questionnaire

college_GPA

: variable ranging from 1 to 6 that indicates a case's college GPA. Lower values indicate higher achievement

support_enrichment

: Multinomial variable representing the combination of gifted support and enrichment

ps_tar

: Propensity score of twangs mnps function for teacher_ability_rating

ps_2x2

: Propensity score of twangs mnps function for support_enrichment

ps_gifted

: Propensity score of twangs ps function for gifted support

step_gifted

: Indicates step of MAGMA-matching for gifted support

weight_gifted

: Indicates weight of MAGMA-matching for gifted support

distance_gifted

: Indicates distance of MAGMA-matching for gifted support