title: ‘GUETIA_Project’ author: ’ MALLAH Siham’ date: “16/06/2022” output: html_document: toc: yes toc_float: yes word_document: toc: yes pdf_document: toc: yes —
knitr::opts_chunk$set(echo = TRUE)
Guetia <- read.csv2("C:/Users/mallah.s/Desktop/Stats et Theses/Guetia/Guetia.csv", stringsAsFactors=TRUE)
library(Hmisc)
## Warning: package 'Hmisc' was built under R version 4.0.5
## Loading required package: lattice
## Warning: package 'lattice' was built under R version 4.0.5
## Loading required package: survival
## Warning: package 'survival' was built under R version 4.0.5
## Loading required package: Formula
## Loading required package: ggplot2
## Warning: package 'ggplot2' was built under R version 4.0.5
##
## Attaching package: 'Hmisc'
## The following objects are masked from 'package:base':
##
## format.pval, units
library(knitr)
## Warning: package 'knitr' was built under R version 4.0.5
library(rmarkdown)
## Warning: package 'rmarkdown' was built under R version 4.0.5
library(markdown)
## Warning: package 'markdown' was built under R version 4.0.5
Guetia$RSA.1<-as.factor(Guetia$RSA.1)
Guetia$RSA.2<-as.factor(Guetia$RSA.2)
Guetia$RSA.3<-as.factor(Guetia$RSA.3)
Guetia$RSA.4<-as.factor(Guetia$RSA.4)
Guetia$RSA.5<-as.factor(Guetia$RSA.5)
Guetia$RSA.6<-as.factor(Guetia$RSA.6)
Guetia$RSA.7<-as.factor(Guetia$RSA.7)
Guetia$RSA.8<-as.factor(Guetia$RSA.8)
Guetia$RSA.9<-as.factor(Guetia$RSA.9)
Guetia$RSA.10<-as.factor(Guetia$RSA.10)
Guetia$RSA.11<-as.factor(Guetia$RSA.11)
Guetia$RSA.12<-as.factor(Guetia$RSA.12)
Guetia$RSA.13<-as.factor(Guetia$RSA.13)
Guetia$RSA.14<-as.factor(Guetia$RSA.14)
Guetia$RSA.15<-as.factor(Guetia$RSA.15)
Guetia$RSA.16<-as.factor(Guetia$RSA.16)
Guetia$RSA.17<-as.factor(Guetia$RSA.17)
Guetia$RSA.18<-as.factor(Guetia$RSA.18)
Guetia$RSA.19<-as.factor(Guetia$RSA.19)
Guetia$RSA.20<-as.factor(Guetia$RSA.20)
Guetia$RSA.21<-as.factor(Guetia$RSA.21)
Guetia$RSA.22<-as.factor(Guetia$RSA.22)
Guetia$RSA.23<-as.factor(Guetia$RSA.23)
Guetia$RSA.24<-as.factor(Guetia$RSA.24)
Guetia$RSA.25<-as.factor(Guetia$RSA.25)
Guetia$RSA.26<-as.factor(Guetia$RSA.26)
Guetia$RSA.27<-as.factor(Guetia$RSA.27)
Guetia$RSA.28<-as.factor(Guetia$RSA.28)
Guetia$RSA.29<-as.factor(Guetia$RSA.29)
Guetia$RSA.30<-as.factor(Guetia$RSA.30)
Guetia$RSA.31<-as.factor(Guetia$RSA.31)
Guetia$RSA.32<-as.factor(Guetia$RSA.32)
Guetia$RSA.33<-as.factor(Guetia$RSA.33)
Guetia$I2.1<-as.factor(Guetia$I2.1)
Guetia$I2.2<-as.factor(Guetia$I2.2)
Guetia$I2.3<-as.factor(Guetia$I2.3)
Guetia$I2.4<-as.factor(Guetia$I2.4)
Guetia$I2.5<-as.factor(Guetia$I2.5)
Guetia$I2.6<-as.factor(Guetia$I2.6)
Guetia$I2.7<-as.factor(Guetia$I2.7)
Guetia$CASIS.1<-as.factor(Guetia$CASIS.1)
Guetia$CASIS.2<-as.factor(Guetia$CASIS.2)
Guetia$CASIS.3<-as.factor(Guetia$CASIS.3)
Guetia$CASIS.4<-as.factor(Guetia$CASIS.4)
Guetia$CASIS.5<-as.factor(Guetia$CASIS.5)
Guetia$CASIS.6<-as.factor(Guetia$CASIS.6)
Guetia$CASIS.7<-as.factor(Guetia$CASIS.7)
Guetia$CASIS.8<-as.factor(Guetia$CASIS.8)
Guetia$CASIS.9<-as.factor(Guetia$CASIS.9)
Guetia$CASIS.10<-as.factor(Guetia$CASIS.10)
Guetia$CASIS.11<-as.factor(Guetia$CASIS.11)
Guetia$CASIS.12<-as.factor(Guetia$CASIS.12)
Guetia$CASIS.13<-as.factor(Guetia$CASIS.13)
Guetia$CASIS.14<-as.factor(Guetia$CASIS.14)
Guetia$CASIS.15<-as.factor(Guetia$CASIS.15)
Guetia$CASIS.16<-as.factor(Guetia$CASIS.16)
Guetia$CASIS.17<-as.factor(Guetia$CASIS.17)
Guetia$CASIS.18<-as.factor(Guetia$CASIS.18)
Guetia$CASIS.19<-as.factor(Guetia$CASIS.19)
Guetia$CASIS.20<-as.factor(Guetia$CASIS.20)
Guetia$CASIS.21<-as.factor(Guetia$CASIS.21)
Guetia$CASIS.22<-as.factor(Guetia$CASIS.23)
Guetia$CASIS.23<-as.factor(Guetia$CASIS.23)
Guetia$CASIS.24<-as.factor(Guetia$CASIS.24)
describe(Guetia)
## Guetia
##
## 81 Variables 30 Observations
## --------------------------------------------------------------------------------
## Age_an
## n missing distinct Info Mean Gmd .05 .10
## 30 0 18 0.996 28.3 8.448 19.45 20.00
## .25 .50 .75 .90 .95
## 22.25 25.50 36.00 38.10 39.55
##
## lowest : 18 19 20 21 22, highest: 37 38 39 40 41
##
## Value 18 19 20 21 22 23 24 25 26 27 30
## Frequency 1 1 3 1 2 1 3 3 2 1 1
## Proportion 0.033 0.033 0.100 0.033 0.067 0.033 0.100 0.100 0.067 0.033 0.033
##
## Value 33 36 37 38 39 40 41
## Frequency 2 2 2 2 1 1 1
## Proportion 0.067 0.067 0.067 0.067 0.033 0.033 0.033
## --------------------------------------------------------------------------------
## Sexe
## n missing distinct
## 30 0 2
##
## Value F M
## Frequency 17 13
## Proportion 0.567 0.433
## --------------------------------------------------------------------------------
## Situation_pro
## n missing distinct
## 30 0 3
##
## Value En activité Etudiant Sans activité
## Frequency 18 8 4
## Proportion 0.600 0.267 0.133
## --------------------------------------------------------------------------------
## Pays_naissance
## n missing distinct
## 30 0 15
##
## lowest : BRESIL Colombie Congo Djibouti Guatemala
## highest: Roumanie Russie Rwanda Sri Lanka Vietnam
##
## BRESIL (5, 0.167), Colombie (2, 0.067), Congo (1, 0.033), Djibouti (1, 0.033),
## Guatemala (1, 0.033), Haïti (8, 0.267), Inde (2, 0.067), LITUANIE (1, 0.033),
## Madagascar (1, 0.033), Mali (1, 0.033), Roumanie (2, 0.067), Russie (2, 0.067),
## Rwanda (1, 0.033), Sri Lanka (1, 0.033), Vietnam (1, 0.033)
## --------------------------------------------------------------------------------
## Age_.adoption_an
## n missing distinct Info Mean Gmd .05 .10
## 30 0 17 0.992 3.217 3.055 0.3625 0.5000
## .25 .50 .75 .90 .95
## 0.7925 3.0000 5.0000 7.1000 8.5500
##
## lowest : 0.25 0.50 0.75 0.92 1.00, highest: 6.00 7.00 8.00 9.00 10.00
##
## Value 0.25 0.50 0.75 0.92 1.00 1.33 2.00 2.50 3.00 4.00 5.00
## Frequency 2 3 3 1 2 1 1 1 5 2 3
## Proportion 0.067 0.100 0.100 0.033 0.067 0.033 0.033 0.033 0.167 0.067 0.100
##
## Value 5.50 6.00 7.00 8.00 9.00 10.00
## Frequency 1 1 1 1 1 1
## Proportion 0.033 0.033 0.033 0.033 0.033 0.033
## --------------------------------------------------------------------------------
## nbre_langues_parlées
## n missing distinct Info Mean Gmd
## 30 0 4 0.894 2.367 0.9816
##
## Value 1 2 3 4
## Frequency 5 12 10 3
## Proportion 0.167 0.400 0.333 0.100
## --------------------------------------------------------------------------------
## Avez.vous.déjà.voyagé.vécu.durant.une.longue.période.à.l.étranger
## n missing distinct
## 30 0 2
##
## Value Non Oui
## Frequency 11 19
## Proportion 0.367 0.633
## --------------------------------------------------------------------------------
## Un.de.ces.voyages.était.il.dans.votre.pays.de.naissance
## n missing distinct
## 30 0 2
##
## Value Non Oui
## Frequency 16 14
## Proportion 0.533 0.467
## --------------------------------------------------------------------------------
## Personne.appartient.a.la.culture.d.adoption..oui.non.
## n missing distinct
## 30 0 2
##
## Value Non Oui
## Frequency 6 24
## Proportion 0.2 0.8
## --------------------------------------------------------------------------------
## Personne.appartient.à.la.culture.de.naissance
## n missing distinct
## 30 0 2
##
## Value Non Oui
## Frequency 5 25
## Proportion 0.167 0.833
## --------------------------------------------------------------------------------
## Personne..assignée.culture.d.adoption..oui..non.
## n missing distinct
## 30 0 2
##
## Value Non Oui
## Frequency 12 18
## Proportion 0.4 0.6
## --------------------------------------------------------------------------------
## Personne.assignée.culture.étrangère..oui.non.
## n missing distinct
## 30 0 2
##
## Value Non Oui
## Frequency 15 15
## Proportion 0.5 0.5
## --------------------------------------------------------------------------------
## RSA.1
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 1 3 3 10 7 6
## Proportion 0.033 0.100 0.100 0.333 0.233 0.200
## --------------------------------------------------------------------------------
## RSA.2
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 1 2 3 3 7 14
## Proportion 0.033 0.067 0.100 0.100 0.233 0.467
## --------------------------------------------------------------------------------
## RSA.3
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 1 5 3 12 2 7
## Proportion 0.033 0.167 0.100 0.400 0.067 0.233
## --------------------------------------------------------------------------------
## RSA.4
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 8 3 6 3 8 2
## Proportion 0.267 0.100 0.200 0.100 0.267 0.067
## --------------------------------------------------------------------------------
## RSA.5
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 1 1 3 8 9 8
## Proportion 0.033 0.033 0.100 0.267 0.300 0.267
## --------------------------------------------------------------------------------
## RSA.6
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 5 1 4 7 5 8
## Proportion 0.167 0.033 0.133 0.233 0.167 0.267
## --------------------------------------------------------------------------------
## RSA.7
## n missing distinct
## 30 0 4
##
## Value 3 4 5 6
## Frequency 6 5 9 10
## Proportion 0.200 0.167 0.300 0.333
## --------------------------------------------------------------------------------
## RSA.8
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 5 3 5 4 3 10
## Proportion 0.167 0.100 0.167 0.133 0.100 0.333
## --------------------------------------------------------------------------------
## RSA.9
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 1 4 4 6 4 11
## Proportion 0.033 0.133 0.133 0.200 0.133 0.367
## --------------------------------------------------------------------------------
## RSA.10
## n missing distinct
## 29 1 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 2 3 3 3 6 12
## Proportion 0.069 0.103 0.103 0.103 0.207 0.414
## --------------------------------------------------------------------------------
## RSA.11
## n missing distinct
## 30 0 4
##
## Value 3 4 5 6
## Frequency 2 3 7 18
## Proportion 0.067 0.100 0.233 0.600
## --------------------------------------------------------------------------------
## RSA.12
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 4 4 4 6 4 8
## Proportion 0.133 0.133 0.133 0.200 0.133 0.267
## --------------------------------------------------------------------------------
## RSA.13
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 3 4 3 11 5 4
## Proportion 0.100 0.133 0.100 0.367 0.167 0.133
## --------------------------------------------------------------------------------
## RSA.14
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 1 7 9 2 3 8
## Proportion 0.033 0.233 0.300 0.067 0.100 0.267
## --------------------------------------------------------------------------------
## RSA.15
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 5 2 3 3 4 13
## Proportion 0.167 0.067 0.100 0.100 0.133 0.433
## --------------------------------------------------------------------------------
## RSA.16
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 6 1 4 6 6 7
## Proportion 0.200 0.033 0.133 0.200 0.200 0.233
## --------------------------------------------------------------------------------
## RSA.17
## n missing distinct
## 30 0 5
##
## lowest : 2 3 4 5 6, highest: 2 3 4 5 6
##
## Value 2 3 4 5 6
## Frequency 2 3 1 12 12
## Proportion 0.067 0.100 0.033 0.400 0.400
## --------------------------------------------------------------------------------
## RSA.18
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 2 5 3 9 8 3
## Proportion 0.067 0.167 0.100 0.300 0.267 0.100
## --------------------------------------------------------------------------------
## RSA.19
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 2 2 3 7 8 8
## Proportion 0.067 0.067 0.100 0.233 0.267 0.267
## --------------------------------------------------------------------------------
## RSA.20
## n missing distinct
## 30 0 5
##
## lowest : 2 3 4 5 6, highest: 2 3 4 5 6
##
## Value 2 3 4 5 6
## Frequency 6 1 9 7 7
## Proportion 0.200 0.033 0.300 0.233 0.233
## --------------------------------------------------------------------------------
## RSA.21
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 3 3 3 3 7 11
## Proportion 0.100 0.100 0.100 0.100 0.233 0.367
## --------------------------------------------------------------------------------
## RSA.22
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 1 3 4 9 4 9
## Proportion 0.033 0.100 0.133 0.300 0.133 0.300
## --------------------------------------------------------------------------------
## RSA.23
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 5 1 2 8 7 7
## Proportion 0.167 0.033 0.067 0.267 0.233 0.233
## --------------------------------------------------------------------------------
## RSA.24
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 1 3 5 11 7 3
## Proportion 0.033 0.100 0.167 0.367 0.233 0.100
## --------------------------------------------------------------------------------
## RSA.25
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 3 4 3 4 9 7
## Proportion 0.100 0.133 0.100 0.133 0.300 0.233
## --------------------------------------------------------------------------------
## RSA.26
## n missing distinct
## 30 0 5
##
## lowest : 2 3 4 5 6, highest: 2 3 4 5 6
##
## Value 2 3 4 5 6
## Frequency 2 2 4 8 14
## Proportion 0.067 0.067 0.133 0.267 0.467
## --------------------------------------------------------------------------------
## RSA.27
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 3 2 2 2 11 10
## Proportion 0.100 0.067 0.067 0.067 0.367 0.333
## --------------------------------------------------------------------------------
## RSA.28
## n missing distinct
## 30 0 4
##
## Value 2 4 5 6
## Frequency 1 2 11 16
## Proportion 0.033 0.067 0.367 0.533
## --------------------------------------------------------------------------------
## RSA.29
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 5 3 2 13 1 6
## Proportion 0.167 0.100 0.067 0.433 0.033 0.200
## --------------------------------------------------------------------------------
## RSA.30
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 2 5 1 7 6 9
## Proportion 0.067 0.167 0.033 0.233 0.200 0.300
## --------------------------------------------------------------------------------
## RSA.31
## n missing distinct
## 30 0 6
##
## lowest : 1 2 3 4 5, highest: 2 3 4 5 6
##
## Value 1 2 3 4 5 6
## Frequency 7 2 7 7 2 5
## Proportion 0.233 0.067 0.233 0.233 0.067 0.167
## --------------------------------------------------------------------------------
## RSA.32
## n missing distinct
## 30 0 5
##
## lowest : 1 3 4 5 6, highest: 1 3 4 5 6
##
## Value 1 3 4 5 6
## Frequency 1 2 2 9 16
## Proportion 0.033 0.067 0.067 0.300 0.533
## --------------------------------------------------------------------------------
## RSA.33
## n missing distinct
## 30 0 5
##
## lowest : 2 3 4 5 6, highest: 2 3 4 5 6
##
## Value 2 3 4 5 6
## Frequency 1 1 3 14 11
## Proportion 0.033 0.033 0.100 0.467 0.367
## --------------------------------------------------------------------------------
## Score.total_Q_RSA
## n missing distinct Info Mean Gmd .05 .10
## 30 0 28 1 136.7 27 94.8 105.1
## .25 .50 .75 .90 .95
## 124.5 137.5 155.5 161.7 169.1
##
## lowest : 80 93 97 106 110, highest: 160 161 168 170 174
## --------------------------------------------------------------------------------
## RSA_Famille
## n missing distinct Info Mean Gmd .05 .10
## 30 0 18 0.995 19 8.322 5.45 6.00
## .25 .50 .75 .90 .95
## 14.50 20.50 23.75 27.10 28.55
##
## lowest : 5 6 9 12 14, highest: 24 25 27 28 29
##
## Value 5 6 9 12 14 16 17 18 19 20 21
## Frequency 2 2 1 2 1 1 1 1 1 3 1
## Proportion 0.067 0.067 0.033 0.067 0.033 0.033 0.033 0.033 0.033 0.100 0.033
##
## Value 22 23 24 25 27 28 29
## Frequency 2 4 1 2 2 1 2
## Proportion 0.067 0.133 0.033 0.067 0.067 0.033 0.067
## --------------------------------------------------------------------------------
## I2.1
## n missing distinct
## 30 0 3
##
## Value 1 3 6
## Frequency 8 9 13
## Proportion 0.267 0.300 0.433
## --------------------------------------------------------------------------------
## I2.2
## n missing distinct
## 30 0 3
##
## Value 1 3 6
## Frequency 10 12 8
## Proportion 0.333 0.400 0.267
## --------------------------------------------------------------------------------
## I2.3
## n missing distinct
## 30 0 3
##
## Value 1 3 6
## Frequency 4 16 10
## Proportion 0.133 0.533 0.333
## --------------------------------------------------------------------------------
## I2.4
## n missing distinct
## 30 0 3
##
## Value 1 3 6
## Frequency 10 10 10
## Proportion 0.333 0.333 0.333
## --------------------------------------------------------------------------------
## I2.5
## n missing distinct
## 30 0 3
##
## Value 1 3 6
## Frequency 3 14 13
## Proportion 0.100 0.467 0.433
## --------------------------------------------------------------------------------
## I2.6
## n missing distinct
## 30 0 3
##
## Value 1 3 6
## Frequency 18 2 10
## Proportion 0.600 0.067 0.333
## --------------------------------------------------------------------------------
## I2.7
## n missing distinct
## 30 0 3
##
## Value 1 3 6
## Frequency 24 4 2
## Proportion 0.800 0.133 0.067
## --------------------------------------------------------------------------------
## Score.total_Q_I2
## n missing distinct Info Mean Gmd .05 .10
## 30 0 16 0.992 22.47 6.989 14.00 15.80
## .25 .50 .75 .90 .95
## 18.25 23.00 25.75 32.00 32.00
##
## lowest : 9 14 16 17 18, highest: 25 26 29 32 33
##
## Value 9 14 16 17 18 19 20 21 22 23 24
## Frequency 1 2 3 1 1 1 2 2 1 5 1
## Proportion 0.033 0.067 0.100 0.033 0.033 0.033 0.067 0.067 0.033 0.167 0.033
##
## Value 25 26 29 32 33
## Frequency 2 1 3 3 1
## Proportion 0.067 0.033 0.100 0.100 0.033
## --------------------------------------------------------------------------------
## CASIS.1
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 4 9 7 10
## Proportion 0.133 0.300 0.233 0.333
## --------------------------------------------------------------------------------
## CASIS.2
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 2 6 10 12
## Proportion 0.067 0.200 0.333 0.400
## --------------------------------------------------------------------------------
## CASIS.3
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 5 14 5 6
## Proportion 0.167 0.467 0.167 0.200
## --------------------------------------------------------------------------------
## CASIS.4
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 2 3 4 21
## Proportion 0.067 0.100 0.133 0.700
## --------------------------------------------------------------------------------
## CASIS.5
## n missing distinct
## 30 0 2
##
## Value 1 2
## Frequency 24 6
## Proportion 0.8 0.2
## --------------------------------------------------------------------------------
## CASIS.6
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 2 2 6 20
## Proportion 0.067 0.067 0.200 0.667
## --------------------------------------------------------------------------------
## CASIS.7
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 5 10 8 7
## Proportion 0.167 0.333 0.267 0.233
## --------------------------------------------------------------------------------
## CASIS.8
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 6 3 9 12
## Proportion 0.2 0.1 0.3 0.4
## --------------------------------------------------------------------------------
## CASIS.9
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 4 9 9 8
## Proportion 0.133 0.300 0.300 0.267
## --------------------------------------------------------------------------------
## CASIS.10
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 1 3 15 11
## Proportion 0.033 0.100 0.500 0.367
## --------------------------------------------------------------------------------
## CASIS.11
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 7 9 8 6
## Proportion 0.233 0.300 0.267 0.200
## --------------------------------------------------------------------------------
## CASIS.12
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 4 5 9 12
## Proportion 0.133 0.167 0.300 0.400
## --------------------------------------------------------------------------------
## CASIS.13
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 1 6 14 9
## Proportion 0.033 0.200 0.467 0.300
## --------------------------------------------------------------------------------
## CASIS.14
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 17 8 4 1
## Proportion 0.567 0.267 0.133 0.033
## --------------------------------------------------------------------------------
## CASIS.15
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 20 5 2 3
## Proportion 0.667 0.167 0.067 0.100
## --------------------------------------------------------------------------------
## CASIS.16
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 3 7 14 6
## Proportion 0.100 0.233 0.467 0.200
## --------------------------------------------------------------------------------
## CASIS.17
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 1 5 12 12
## Proportion 0.033 0.167 0.400 0.400
## --------------------------------------------------------------------------------
## CASIS.18
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 4 8 7 11
## Proportion 0.133 0.267 0.233 0.367
## --------------------------------------------------------------------------------
## CASIS.19
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 20 6 3 1
## Proportion 0.667 0.200 0.100 0.033
## --------------------------------------------------------------------------------
## CASIS.20
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 6 4 12 8
## Proportion 0.200 0.133 0.400 0.267
## --------------------------------------------------------------------------------
## CASIS.21
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 2 8 10 10
## Proportion 0.067 0.267 0.333 0.333
## --------------------------------------------------------------------------------
## CASIS.22
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 6 14 8 2
## Proportion 0.200 0.467 0.267 0.067
## --------------------------------------------------------------------------------
## CASIS.23
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 6 14 8 2
## Proportion 0.200 0.467 0.267 0.067
## --------------------------------------------------------------------------------
## CASIS.24
## n missing distinct
## 30 0 4
##
## Value 1 2 3 4
## Frequency 1 5 14 10
## Proportion 0.033 0.167 0.467 0.333
## --------------------------------------------------------------------------------
## Score.total_Q_CASIS
## n missing distinct Info Mean Gmd .05 .10
## 30 0 15 0.991 62.27 5.389 54.45 55.00
## .25 .50 .75 .90 .95
## 60.00 62.50 65.75 67.00 69.20
##
## lowest : 51 54 55 57 58, highest: 64 65 66 67 71
##
## Value 51 54 55 57 58 59 60 61 62 63 64
## Frequency 1 1 2 1 1 1 2 1 5 3 3
## Proportion 0.033 0.033 0.067 0.033 0.033 0.033 0.067 0.033 0.167 0.100 0.100
##
## Value 65 66 67 71
## Frequency 1 2 4 2
## Proportion 0.033 0.067 0.133 0.067
## --------------------------------------------------------------------------------
## Score_Integration
## n missing distinct Info Mean Gmd
## 30 0 9 0.972 12.53 2.414
##
## lowest : 7 9 10 11 12, highest: 12 13 14 15 16
##
## Value 7 9 10 11 12 13 14 15 16
## Frequency 1 2 2 4 3 8 5 3 2
## Proportion 0.033 0.067 0.067 0.133 0.100 0.267 0.167 0.100 0.067
## --------------------------------------------------------------------------------
library(funModeling)
## Warning: package 'funModeling' was built under R version 4.0.5
## funModeling v.1.9.4 :)
## Examples and tutorials at livebook.datascienceheroes.com
## / Now in Spanish: librovivodecienciadedatos.ai
library(tidyverse)
## Warning: package 'tidyverse' was built under R version 4.0.5
## -- Attaching packages --------------------------------------- tidyverse 1.3.1 --
## v tibble 3.1.3 v dplyr 1.0.8
## v tidyr 1.2.0 v stringr 1.4.0
## v readr 2.1.2 v forcats 0.5.1
## v purrr 0.3.4
## Warning: package 'tibble' was built under R version 4.0.5
## Warning: package 'tidyr' was built under R version 4.0.5
## Warning: package 'readr' was built under R version 4.0.5
## Warning: package 'dplyr' was built under R version 4.0.5
## Warning: package 'forcats' was built under R version 4.0.5
## -- Conflicts ------------------------------------------ tidyverse_conflicts() --
## x dplyr::filter() masks stats::filter()
## x dplyr::lag() masks stats::lag()
## x dplyr::src() masks Hmisc::src()
## x dplyr::summarize() masks Hmisc::summarize()
library(finalfit)
## Warning: package 'finalfit' was built under R version 4.0.5
dependent = "Situation_pro"
explanatory = c("Score.total_Q_I2","Score.total_Q_RSA","Score_Integration","RSA_Famille","Score.total_Q_CASIS")
res_glm_uni_1 <- Guetia%>%
glmuni(dependent, explanatory) %>%
fit2df(estimate_suffix=" (univarié)")
## Waiting for profiling to be done...
## Waiting for profiling to be done...
## Waiting for profiling to be done...
## Waiting for profiling to be done...
## Waiting for profiling to be done...
res_glm_uni_1
## explanatory OR (univarié)
## 1 Score.total_Q_I2 1.00 (0.88-1.13, p=0.970)
## 2 Score.total_Q_RSA 1.01 (0.98-1.05, p=0.440)
## 3 Score_Integration 0.90 (0.62-1.28, p=0.550)
## 4 RSA_Famille 1.09 (0.98-1.24, p=0.162)
## 5 Score.total_Q_CASIS 1.05 (0.90-1.25, p=0.537)
library(car)
## Warning: package 'car' was built under R version 4.0.5
## Loading required package: carData
## Warning: package 'carData' was built under R version 4.0.5
##
## Attaching package: 'car'
## The following object is masked from 'package:dplyr':
##
## recode
## The following object is masked from 'package:purrr':
##
## some
Lm1<-lm(Guetia$Score.total_Q_I2~Guetia$Score.total_Q_RSA)
Anova(Lm1)
## Anova Table (Type II tests)
##
## Response: Guetia$Score.total_Q_I2
## Sum Sq Df F value Pr(>F)
## Guetia$Score.total_Q_RSA 128.03 1 3.8078 0.06108 .
## Residuals 941.44 28
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
indique#la pValue>0.05, ce resultat