Learn R Programming

MCM (version 0.1.7)

sim_moderate_het: Simulated Data Studying Social Mobility (Cross-Sectional)

Description

This is a simulated data used to study social mobility. In this dataset, it is assumed that there exists a moderate social mobility.

Usage

data("sim_moderate_het")

Arguments

Format

A data frame with 30,000 observations on the following 6 variables.

response

a numeric vector indicating the outcome variable

origin

a numeric vector indicating parents' socioeconomic status

destination

a numeric vector indicating child' socioeconomic status

mobility

a numeric vector indicating if child's socioeconomic status is diffferent from that of parents'.

upmob

a numeric vector indicating child' socioeconomic status is higher than that of parents'.

dowmob

a numeric vector indicating child' socioeconomic status is lower than that of parents'.

Examples

Run this code
data(sim_moderate_het)
head(sim_moderate_het)

Run the code above in your browser using DataLab