• Aucun résultat trouvé

1 Statistical testing of two paired samples

N/A
N/A
Protected

Academic year: 2022

Partager "1 Statistical testing of two paired samples"

Copied!
2
0
0

Texte intégral

(1)

Universit´e Joseph Fourier L2/STA230

Lab 10: Statistical testing with two samples

Objectives: Compute statistical testing for two independent or paired samples.

1 Statistical testing of two paired samples

Exercise 1

The spreadsheet secretin.txt contains data from a glucose response experiment. Secretin is a hormone of the duodenal mucous membrane. An extract was administered to patients with arterial hypertension. Double registrations of blood glucose were quantified for each patient with two different determination tools.

1. Upload the data set. Assign the two data series toBlood1andBlood2.

2. Perform the standard descriptive analysis of both vectors of data. Propose some plots to compare the two samples.

3. Define the null and alternative hypothesis of a test of the difference between the two registrations.

Is it a two-tailed or one-tailed test ? Construct the decision rule to rejectH0, for a givenα.

4. Decide ifH0 is rejected or not for the two different determination tools using t.test(Blood1, Blood2, paired=TRUE)

2 Statistical testing of two independent samples

Exercise 2

1. The spreadsheet HER.txtcontains health data from 80 patients. Upload the dataset. Assign BMI (body mass index) to the vector B.

2. We want to compare the BMI between girls and boys.

(a) Perform the standard descriptive analysis of both vectors of data. Propose some plots to compare the two samples.

(b) Test if the distributions are normal withshapiro.test.

(c) Introduce random variables to describe the variable BMIand the two samples. What are the unknown parameters ?

(d) First, we test if the two variances are equal in the two populations

i. Define the null and alternative hypotheses. Give the statistic of the test and its distribution under H0. Describe the decision rule.

ii. Decide if H0 is rejected or not with your data withvar.test.

(e) Second, we test if the BMI means are the same for girls and boys.

i. Define the null and alternative hypotheses. Give the statistic of the test and its distribution under H0. Describe the decision rule.

(2)

ii. Decide if H0 is rejected or not with your data witht.test.

3. We want to compare the arm circumference (arm) between treated and non treated patients. Apply the previous methodology to decide if the circumference is significantly different between treated and non treated patients.

2

Références

Documents relatifs

In this paper, we have proposed an inverse approach to determine the variation with depth z of the tensile yield strength k(z) and of the strain hardening modulus H (z) within a

Jack pine (Pinus banksiana) heat-treated at different temperature were exposed to artificial weathering with and without water spray for different periods in order

The objectives of this study are to evaluate quantitatively the dynamic wetting of different probe liquids on heat-treated jack pine surfaces prepared using different

For the preservative-treated Scots pine, irrespective of the type of Cu-based formula used, the EN 84 leachates of the treated wood after 1 day are quite toxic (> 16

value stems from: the fact that the diffusion rate of a double-well potential which is shallow compared to kT is mainly driven by energies close to the barrier height, the

The surface orientation of LC molecules is characterized using the easy axis (0, $ ) and anchoring strength coefficients B e and B v , It is known that LC molecules

This model was shown to be well-posed and was then used to derive a new inverse scattering technique based on a modified linear sampling method that we showed can detect delamination

The major known differences concern the following processes: (1) pigment biosynthesis, (2) light- harvesting organisation, (3) mechanism of photoprotection, (4)