Commit cc608420 authored by Laurence Viry's avatar Laurence Viry
Browse files

modification Multidim

parent 6968556b
This diff is collapsed.
......@@ -27,11 +27,11 @@
The doctor would like to decide if the olive oil diet has improved the D-dimer concentration.
%% Cell type:markdown id: tags:
<!--dyndoc {#msg][#md>] -->
<div style="background-color:yellow;:Orange;border-style: solid ;border-color: black;border-width: 2px;padding:1%">
<div style="background-color:yellow;Orange;border-style: solid ;border-color: black;border-width: 2px;padding:1%">
The **test on the mean** of the sample compares the hypothesis $H_0: \mu=\mu_0$
with a two-sided hypothesis $H1: \mu\neq \mu_0$ or a one-sided hypothesis $H1: \mu\geq \mu_0$ or $H1: \mu\leq \mu_0$.
When the **variance $\sigma^2$ is known**, the test statistic is
......@@ -56,16 +56,26 @@
%% Cell type:code id: tags:
``` R
#[#R>>]
alpha <- 0.05
alpha <- 0.07
qnorm(alpha/2,0,1)
qnorm(1-alpha/2,0,1)
#[#md>]
```
%%%% Output: display_data
-1.8119106729526
-1.8119106729526
%%%% Output: display_data
1.8119106729526
1.8119106729526
%% Cell type:markdown id: tags:
<div style="background-color:yellow;:Orange;border-style: solid ;border-color: black;border-width: 2px;padding:1%">
<!--dyndoc [#msg} -->We reject $H_0$ when $T<(-1.959964)$ or when$T>1.959964$.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment