Practical 1

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Department of Statistics

University of Pune
ST-106 - Practical 1: Descriptive Statistics

Q.1. Access the following datasets available in R, give the name of library to which they be-
long and state what they are about (including dimensions and description of variables
involved).

(a) calcium
(b) WorldPhones

Q.2. Compute the following for each of the variables in the above data using R.
(a) Mean (b) Minimum (c) Maximum (d) Variance (e) Range (f) Median

Q.3. Compute the covariance and correlation between the two variables of the calcium data.

Q.4. Access the dataset iris available in R and compute the following using R commands.

(a) No. of observations which belong to the species virginica & median of their
sepal lengths.
(b) Average petal length and standard deviation of the petal length for the species
versicolor.
(c) Interquartile range of sepal width for the species setosa
(d) 10th and 90th percentile of sepal width for the species setosa
(e) Minimum, Maximum and Range of Sepal length for the observations other than
those from species versicolor
(f) Add a new column to the iris data, giving the Sepal length in millimeters.
(g) Compute the average Sepal Length for the flowers having Petal Width greater
than the average petal width.

Q.5. Repeat Q.4 using MINITAB

You might also like