You are on page 1of 4

MID SEMESTER EXAM ANSWER SHEET

Name : Fitri Aulia Lecture : Sudianto Manullang, S.Pd., M.Sc.


IDN : 4192411015 Day/Date : Thursday, October 5, 2021
Class : MESP 2019 Subject : Exp. Statistica
1. The question is in the question’s sheet
a. Find the equation of the regression line to predict the particulate removed
from the amount of daily rainfall.

Based on the output above, the regression line equation to predict the particulate
removed from the amount of daily rainfall is y=153.175+(−6.324 x )
Estimate the amount of particulate removed when the daily rainfall is x=4,8
units.

Predct the sum of parthiculate removed when the daily rainfall is x=4,8 is
y=153.175+(−6.324 x ).
b. This is the result of input and output
Input:
#masukkan data menjadi vectors x dan vektor y
x<=c(4.3,4.5, 5.9,5.6,6.1,5.2,3.2,2.1,7.5)
y<=c(126,121,116,118,114,118,132,141)

#memeriksa data kembali


mydata-dataframe (x,y)
view (may data)
str(mydata)

#gunakan rumus linear model: menyatakan lomba linear semoga lanhsung


terjhse ysa: menyatakan formula antara α dan β adalah bagan y=b0+5bx dengan
bo-intercerp dan b1(slope pengenalan)

#untuk mengeluarkan hasil uji t untuk parameter b0 dan b1, print summary.
Output:
#data yang akan diprediksi
x-test<-data.frame (x=4.8)
#hasill prediksi
predict result <-predictipers-regresi r tipes

2. The question is in the question’s sheet

You might also like