COST Worksheet - Practical - 5
COST Worksheet - Practical - 5
COST Worksheet - Practical - 5
Practical #5
Name Mohammad Hasan Javed Shaikh Roll No. 21302C0035
Class SYBSc.IT Division : C
Practical 4 Import the data from excel/csv file & Calculate S.D, Variance
Q1. Import the data from Excel/.CSV file and find the mean and Median of Age and Income
variables.
Dataset link - CardioGoodFitness.csv
Dataset link - CardioGoodFitness.csv
1) Mean of Age :
2) Mean of Income :
3) Median of Age :
5) Sum of Miles :
Q2.Using the same dataset calculate S.D & Variance of Age, Income and Education.
Standard Deviation of Age :
Variance of Age :
Variance of Income :
Variance of Education :
Covariance :
Covariance is a measure of the relationship between two random variables and to what extent, they change
together. Or we can say, in other words, it defines the changes between the two variables, such that change
in one variable is equal to change in another variable.
Kurtosis of Income :
Kurtosis of Eduction :
a=read.csv("C:/Users/admin/Downloads/CardioGoodFitness.csv")
print(a)
b=mean(a$Age) #Mean of age
library(moments)