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
37f7e9fa9cf3492510b33122d39127ec
mooc-rr
Commits
cadd5847
Commit
cadd5847
authored
Jun 09, 2023
by
amarell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exercice 02 (5th part) critical analysis
parent
0742b89c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
exo5_en.Rmd
module2/exo5/exo5_en.Rmd
+5
-2
No files found.
module2/exo5/exo5_en.Rmd
View file @
cadd5847
...
...
@@ -3,6 +3,8 @@ title: "Analysis of the risk of failure of the O-rings on the Challenger shuttle
author: "Arnaud Legrand"
date: "28 juin 2018"
output: html_document
editor_options:
chunk_output_type: console
---
On January 27, 1986, the day before the takeoff of the shuttle _Challenger_, had
...
...
@@ -26,7 +28,7 @@ Challenger.
We start by loading this data:
```{r}
data = read.csv(
"shuttle.csv",
header=T)
data = read.csv(
here::here("module2", "exo5", "shuttle.csv"),
header=T)
data
```
...
...
@@ -52,6 +54,7 @@ simplify the analysis.
How does the frequency of failure vary with temperature?
```{r}
plot(data=data, Malfunction/Count ~ Temperature, ylim=c(0,1))
plot(data=data, Malfunction/Count ~ Pressure, ylim=c(0,1))
```
At first glance, the dependence does not look very important, but let's try to
...
...
@@ -97,7 +100,7 @@ O-rings. It will be about 0.2, as in the tests
where we had a failure of at least one joint. Let's get back to the initial dataset to estimate the probability of failure:
```{r}
data_full = read.csv(
"shuttle.csv"
,header=T)
data_full = read.csv(
here::here("module2", "exo5", "shuttle.csv")
,header=T)
sum(data_full$Malfunction)/sum(data_full$Count)
```
...
...
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