• Aucun résultat trouvé

1 Linear regression

N/A
N/A
Protected

Academic year: 2022

Partager "1 Linear regression"

Copied!
1
0
0

Texte intégral

(1)

Universit´e Joseph Fourier L2/STA230

Lab 13: Linear regression

Objectives: Realize some linear regressions and the associated confidence intervals and tests.

1 Linear regression

Exercise 1UploadHER.csv, we work with the diastolic column and the BMI column.

We want to realize a linear regression to study if the blood pressure is correlated to the BMI.

1. Which variable is theexplainingone ? Which variable is theexplainedone ? Which one is considered as deterministic ? Which one is considered as random ? We denote X the deterministic and explaining variable andY the random and explained variable.

2. Plot the scatter plot of the two variables. Comment 3. Write the equation for the regression line for Y ontoX.

4. Compute the correlation coefficient betweenX andY. Is there a strong correlation ? 5. Find the coefficients of the regression line.

6. Plot the regression line on the scatter plot. Comment.

7. Find the estimated variance of the regression. Comment.

8. What value would you predict for a person with BMI equal to 30 ? to 40 ? 9. Analyze the residuals.

10. Study if both blood pressures are correlated. Proceed exactly as before.

Références

Documents relatifs

The objective of this lecture is to realize some linear regressions and the associated confidence intervals and tests1. 1

Typical Diophantine results which will be treated include: Skolem-Mahler-Lech the- orem on zeros of linear recurrent sequences, the solutions to Pisot’s conjecture on perfect powers

Keywords: linear regression, Bayesian inference, generalized least-squares, ridge regression, LASSO, model selection criterion,

Finally, instead of imposing Assumption 2’, one may …rst test for which coe¢ cients the hypothesis of constant e¤ect is rejected or not in typical quantile regression estimation, so

Chernozhukov V, Hansen C (2006) Instrumental Quantile Regression Inference for Structural and Treatment Effect Models.. Chernozhukov V, Hansen C (2008a) Instrumental Variable Quantile

The resulting algorithm – called adaptive EG ± algorithm – can be applied to general convex and differentiable loss functions.. When applied to the square loss, it yields an

Outline. The article proceeds as follows: we introduce the optimization problem coming from the classical SVR and describe the modifications brought by adding linear constraints

It follows that it is impossible to have a decreasing (resp. increasing) spread of the model output for positive (resp. This restriction is acceptable in a measurement context where