Learn R Programming

Frames2 (version 0.2.1)

DatMB: Database of students' program choice for frame B

Description

This dataset contains some variables regarding the program choice for a sample of 232 students included in the sampling frame B.

Usage

DatMB

Arguments

Format

Id_Pop
An integer from 1 to $N$, with $N$ the number of students in the whole population, identifying the student within the population.
Id_Frame
An integer from 1 to $N_B$, with $N_B$ the number of students in the frame, identifying the student within the frame.
Prog
A factor with three categories (academic, general and vocation) indicating the program choice of the student.
Ses
An ordinal factor with three categories (low, middle and high) indicating the socio-economical status of the student.
Read
A number indicating the mark of the student in a reading test.
Write
A number indicating the mark of the student in a writing test.
Sch_Size
A number indicating the size of the school the students belongs to.
Domain
A string indicating the domain each student belongs to. Possible values are "b" if student belongs to domain b or "ba" if student belongs to overlap domain.
ProbA
First order inclusion probability in frame A. This probability is 0 for students included in domain b.
ProbB
First order inclusion probability in frame B.

Details

The sample, of size $n_B = 232$, has been drawn from a population of $N_B = 6500$ students according to a simple random sampling design. $N_{ab} = 2000$ of the students composing the population belongs also to frame A.

See Also

DatPopM

Examples

Run this code
data(DatMB)
attach(DatMB)
#Let perform a brief descriptive analysis for the main variable
summary (Prog)
#And let do the same for the numerical auxiliary variables Read and Write
summary(Read)
summary(Write)

Run the code above in your browser using DataLab