model=lm(data=x,temp~day+time+activ)
> summary(model)
Call:
lm(formula = temp ~ day + time + activ, data = x)
Residuals:
Min 1Q Median 3Q Max
-0.30893 -0.09317 0.01351 0.10232 0.26450
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -9.296e+01 1.971e+01 -4.716 7.11e-06
day 3.739e-01 5.684e-02 6.578 1.67e-09
time 2.849e-04 3.306e-05 8.620 5.55e-14
activ 2.533e-01 5.869e-02 4.316 3.49e-05
y=-9.296e+01 + 3.739e-01*day +2.849e-04 *time + 2.533e-01*activ
h0: b3=0 vs h1:b3 0
alpha=0.01
now the value of t= 4.316
and t(0.005,110)=2.626 from t table
so 4.316> 2.626; we can reject the null hypothesis that b3=0, so activ is a significant predictor of temp.
> newdat=data.frame(day=346,time=1400,activ=0)
> predict(model,newdat)
1
36.7985
> newdat=data.frame(day=347,time=800,activ=1)
> predict(model,newdat, interval = 'confidence')
fit lwr upr
1 37.25471 37.13256 37.37686
> newdat=data.frame(day=347,time=1800,activ=1)
> predict(model,newdat, interval = 'prediction',level =
0.99)
fit lwr upr
1 37.53965 37.13619 37.94311
> confint(model,'time',level = 0.95)
2.5 % 97.5 %
time 0.0002194303 0.0003504472
FS2018 Home Announcements Syllabus Modules Assignments Grades People R Assignment 2 - Linear Regression Due Oct...
Use the R assignment and RStudio to answer the following questions. project 2 script.Ra Note: what is below applies to p-values only! NOTE: P-values like 2e-7 is 0.0000b02 If the p-value has a number beyond e-4, just write it as 0 l.e 3.2e-3-0.0032 1.04e-5 0 <2e-26 = 0 D Question 1 23 pts Question 1 The data set "cars" in R has data on distance (dist) and speed of various
Announcements Send to Gradebook Syllabus < Prev Next > e Textbook Modules Question 1 --/1 Assignments View Policies Grades Current Attempt in Progress Wiley Accounting Weekly Updates Sales salaries paid during 2020 were $89,000. Advances to salesmen were $1,200 on January 1, 2020, and $700 on December 31, 2020. Sales salaries accrued were $1,300 on January 1, 2020, and $1,800 on December 31, 2020. Calculate the sales salaries on an accrual basis for 2020. Wiley CPAexcel Continued Access Sales salaries...
FON241 11845 Assignments>Folate > EM 2018 FAIL CRED Submission Details Home Folate Syllabus Modules Add a d due Nov 10 possible Grades or this d, ures of ssociated with health of Instructions for the Discussion Boards: Answer specific questions on the discussion board. Your initial post must be a minimum of 300 words and is due by midnight on Thursday before the due date. It must be evidenced- based and references need to be cited (not included in the 300...
Home X Correlation coefficient Calcula x Conduct and interpreta Bivar: X R Variance cakulator X 10:2 Homework X + bocc.instructure.com/courses/20438/assignments/257886 मैं Time Clock Plus MAT 107 8568 > Assignments > 10.2 Homework SUM I 2000 10.2 Homework Home Due Sunday by 11:59pm Points 5 Submitting an external tool Available Jul 7 at 12am. Aug 2 at 11:59pm 27 days Announcements Grades 10.2 Homework Score: 3.5/5 3/5 answered Done Syllabus Modules Question 4 < > B0/1 pt 100 99 Assignments Discussions...