Documente Academic
Documente Profesional
Documente Cultură
DISUSUN OLEH :
KELAS A
at the time of the flight and whether at least one primary O-ring suffered thermal
distress.
a. Use logistic regression to model the effect of temperature on the probability of
thermal distress. Interpret the effect. O-ring suffered thermal distress.
Model Regresi Logistik Sederhana
Jawab :
logit(π) = 𝛼 + 𝛽𝑥
exp(𝛼+𝛽𝑥 )
π=
1+exp(𝛼+𝛽𝑥 )
π adalah probabilitas terprediksi dari setidaknya satu gangguan termal dan x adalah suhu, artinya
bahwa untuk setiap satu kenaikan derajat suhu, 𝛽 dikurangi dari odds log yang diprediksi. Setara
untuk setiap satu derajat penurunan suhu, 𝛽 ditambah ke odds log yang diprediksi. Tanda
koefisien suhu menunjukkan bahwa tekanan termal cenderung lebih panas dari suhu karena
tandanya positif (+). Tanda koefisien suhu menunjukkan bahwa tekanan termal cenderung lebih
dingin dari suhu jika tandanya negatif (-).
b. Estimate the probability of thermal distress at 31o, the temperature at the time of
the Challenger flight.
Jawab :
Regresi Logistik Sederhana
logit(π) = 𝛼 + 𝛽𝑥
exp(𝛼+𝛽𝑥 )
π=
1+exp(𝛼+𝛽𝑥 )
exp(𝛼+𝛽1 𝑥1 +…+𝛽𝑘 𝑥𝑘 )
π=
1+exp(𝛼+𝛽1 𝑥1 +…+𝛽𝑘 𝑥𝑘 )
Ada bukti yang sangat kuat bahwa probabilitas distress termal tergantung pada suhu.
Pengerjaan dengan menggunakan software R
4.8 For the horseshoe crab data (Table 3.2, available at www.stat.ufl.edu/~aa/
intro-cda/appendix.html), fit the logistic regression model for π = probability
of a satellite, using weight as the predictor.
a. Report the ML prediction equation.
Jawab :
̂) = -3.695 + 1.815(berat)
logit(π
b. Find π
̂ at the weight values 1.20, 2.44, and 5.20 kg, which are the sample minimum, mean,
and maximum.
Jawab :
pada saat nilai berat 1.20 estimasi peluangnya = 0.18, saat nilai berat 2.44 estimasi peluangnya =
0.68, dan saat nilai berat 5.20 estimasi peluangnya = 0.997.
d. At the weight value found in (c), give a linear approximation for the estimated
effect of (i) a 1 kg increase in weight. This represents a relativelylarge increase, so convert this to
the effect of (ii) a 0.10 kg increase, and
(iii) a standard deviation increase in weight (0.58 kg).
Jawab :
̂
𝛽 1.815
(i) = 4 = 0.45
4
(ii) untuk kenaikan 0.10kg, estimasi peningkatan probabilitas adalah 0.045.
(iii)
e. Construct a 95% confidence interval to describe the effect of weight on the
odds of a satellite. Interpret.
Jawab :
Confidence Interval untuk β dari 1.815 ± 1.96(0.3767), atau (1.077,2.5535), memberikan satu
(exponentiating) untuk efek exp (β) pada odds (2.9,12.9).
f. Conduct the Wald or likelihood-ratio test of the hypothesis that weight has
no effect. Report the P-value, and interpret.
Jawab :
Wald statistic z2 = 23.4
Likelihood Ratio-Test = 30.0
Keduanya berdasarkan dari derajat bebas (df) = 1, memberikan bukti efek bobot yang sangat
kuat (P <0,0001).