Ajout d'une instruction print pour afficher le résultat de bw dans le notebook TP2

This commit is contained in:
2026-01-21 18:22:13 +01:00
parent 94075f7f13
commit 6255837215

View File

@@ -175,6 +175,8 @@ plot(age, logwage, xlab = "Age", ylab = "log(wage)")
bw = npregbw(logwage ~ age)
ghat = npreg(bw)
print(bw)
plot(ghat, xlab = "Age", ylab = "log(wage)")
points(age, logwage)
```