0% found this document useful (0 votes)
6 views2 pages

Iq GRP Commandes

Uploaded by

merybmoon2002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Iq GRP Commandes

Uploaded by

merybmoon2002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Boxplot(iq ~ group, data=Datasetspss, id=list(method="y"))

Boxplot(iq ~ group, data=Datasetspss, id.method="y", ylab="IQ


score",col=c("green","blue","yellow"))

attatch(Datasetspss)

group

summary(group)

Physics_group= subset(Datasetspss, group%in% "Physics student")

Physics_group

summary(Physics_group[,2])

Maths_group= subset(Datasetspss, group%in% "Maths student")

Maths_group

summary(Maths_group[,2])

Chemistry_group= subset(Datasetspss, group%in% "Chemistry student")

Chemistry_group

summary(Chemistry_group[,2])

library(abind, pos=16)

library(e1071, pos=17)

numSummary(Datasetspss[,"iq", drop=FALSE], statistics=c("mean", "sd", "IQR", "quantiles"),


quantiles=c(0,.25,.5,

.75,1))

numSummary(Datasetspss[,"iq", drop=FALSE], statistics=c("quantiles"), quantiles=c(0,.25,.5,.75,1))

numSummary(Datasetspss[,"iq", drop=FALSE], groups=Datasetspss$group, statistics=c("mean",


"quantiles"), quantiles=c(0,.25,.5,.75,1))

mean 0% 25% 50% 75% 100% iq:n

Chemistry student 48.20000 45 46.5 47 50.0 52 15

Maths student 35.86667 24 32.0 37 40.0 45 15

Physics student 35.80000 20 32.5 39 40.5 44 15


boxplot(Physics_group[,2], Chemistry_group[,2], range=0, border=rainbow(3), names=c('Physics
student', 'Chemistry student '), main="IQ SCORE : Box Plot")

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy