Last data update: 2014.03.03

R: dataset students
studentsR Documentation

dataset students

Description

A dataframe with data from a survey of 270 students attending a statistics course at the Department of Economics and Business of the University of Catania in the academic year 2011/2012. It contains the following variables:

  • GENDER gender of the respondent;

  • HEIGHT height of the respondent, measured in centimeters;

  • WEIGHT weight of the respondent, measured in kilograms;

  • HEIGHT.F height of respondent's father, measured in centimeters.

Usage

data(students)

Format

A dataset

Source

http://www.economia.unict.it/punzo/

References

Ingrassia, S., Minotti, S. C., and Punzo, A. (2014). Model-based clustering via linear cluster-weighted models. Computational Statistics and Data Analysis, 71, 159-182.

See Also

flexCWM-package, cwm

Examples

data("students")
attach(students)
str(students)
fit2 <- cwm(WEIGHT ~ HEIGHT + HEIGHT.F , Xnorm = cbind(HEIGHT, HEIGHT.F), k = 2, 
  initialization = "kmeans", modelXnorm = "EEE")
summary(fit2, concomitant = TRUE)
plot(fit2)

Results