Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
e9292f622cd118328d267df602170571
mooc-rr
Commits
9327f867
Commit
9327f867
authored
Apr 20, 2021
by
pdaude
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exercie 1 module 3 Done
parent
4aaa1ea3
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2957 additions
and
2 deletions
+2957
-2
unnamed-chunk-1-1.png
.../exo3/exercice_fr_files/figure-html/unnamed-chunk-1-1.png
+0
-0
unnamed-chunk-1-2.png
.../exo3/exercice_fr_files/figure-html/unnamed-chunk-1-2.png
+0
-0
exo5_fr.Rmd
module2/exo5/exo5_fr.Rmd
+16
-1
exo5_fr.html
module2/exo5/exo5_fr.html
+502
-0
analyse-syndrome-grippal.Rmd
module3/exo1/analyse-syndrome-grippal.Rmd
+7
-1
analyse-syndrome-grippal.tex
module3/exo1/analyse-syndrome-grippal.tex
+528
-0
incidence-PAY-3.csv
module3/exo1/incidence-PAY-3.csv
+1904
-0
No files found.
module2/exo3/exercice_fr_files/figure-html/unnamed-chunk-1-1.png
0 → 100644
View file @
9327f867
14.4 KB
module2/exo3/exercice_fr_files/figure-html/unnamed-chunk-1-2.png
0 → 100644
View file @
9327f867
13.6 KB
module2/exo5/exo5_fr.Rmd
View file @
9327f867
...
...
@@ -28,8 +28,19 @@ Nous commençons donc par charger ces données:
```{r}
data = read.csv("shuttle.csv",header=T)
data
```
```
```{r}
data$m<-ifelse(data$Malfunction>1,1,0)
plot(data=data, m~Temperature)
plot(data=data, Malfunction/Count ~ Temperature, ylim=c(0,1))
logistic_reg = glm(data=data, Malfunction/Count ~ Temperature, weights=Count,
family=binomial(link='logit'))
summary(logistic_reg)
library(ggplot2)
ggplot(data,aes(x=Temperature,y=Malfunction/Count))+
geom_smooth(method="glm",method.args=list(family="binomial"))
```
Le jeu de données nous indique la date de l'essai, le nombre de joints
toriques mesurés (il y en a 6 sur le lançeur principal), la
température (en Farenheit) et la pression (en psi), et enfin le
...
...
@@ -44,8 +55,12 @@ moins un joint a été défectueux.
```{r}
data = data[data$Malfunction>0,]
data
```
Très bien, nous avons une variabilité de température importante mais
la pression est quasiment toujours égale à 200, ce qui devrait
simplifier l'analyse.
...
...
module2/exo5/exo5_fr.html
0 → 100644
View file @
9327f867
This diff is collapsed.
Click to expand it.
module3/exo1/analyse-syndrome-grippal.Rmd
View file @
9327f867
...
...
@@ -43,10 +43,16 @@ Voici l'explication des colonnes donnée sur le [sur le site d'origine](https://
La première ligne du fichier CSV est un commentaire, que nous ignorons en précisant `skip=1`.
### Téléchargement
```{r}
data = read.csv(data_url, skip=1)
#data = read.csv(data_url, skip=1)
data_local='incidence-PAY-3.csv'
data = read.csv(data_local, skip=1)
```
Regardons ce que nous avons obtenu:
```{r}
head(data)
...
...
module3/exo1/analyse-syndrome-grippal.tex
0 → 100644
View file @
9327f867
This diff is collapsed.
Click to expand it.
module3/exo1/incidence-PAY-3.csv
0 → 100644
View file @
9327f867
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment