Statistics 3022

Statistics 3022 Assignment 2
1. (True False questions) Textbook Problem 2.2, 2.4, 2.5, 2.6, 2.7 (page 81). If it is false, give a reason.
2. (Multiple choice question) Textbook Problem 2.8 (page 81)
For Problem 3 through 5: Priscilla Erickson from Kenyon College collected data on a stratified random
sample of 116 Savannah sparrows at Kent Island, New Brunswick, Canada. The weight (in grams) and wing

Statistics 3022作业代写、R语言作业代做
length (in mm) were obtained for birds from nests that were reduced, controlled, or enlarged. You are only
allowed to use the provided R outputs.(Sparrows data as in the previous homework)
summary(model)
##
## Call:
## lm(formula = Weight ~ WingLength, data = data_Sparrows)
##
## Residuals:
## Min 1Q Median 3Q Max
## -3.5440 -0.9935 0.0809 1.0559 3.4168
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 1.36549 0.95731 1.426 0.156
## WingLength 0.46740 0.03472 13.463 <2e-16 ***
## ---
## Signif. codes: 0 ‘***‘ 0.001 ‘**‘ 0.01 ‘*‘ 0.05 ‘.‘ 0.1 ‘ ‘ 1
##
## Residual standard error: 1.4 on 114 degrees of freedom
## Multiple R-squared: 0.6139, Adjusted R-squared: 0.6105
## F-statistic: 181.3 on 1 and 114 DF, p-value: < 2.2e-16
3. (Sparrow) Perform t-test and conclude whether the slope of the least squares regression line for prediction
Weight from WingLength is non-zero. Use summary(model) output above.
(a) State the null and alternative hypothesis.
(b) Identify and interpret the t-test statistic and p-value from R output above.
(c) Draw the conclusion with α = 0.05 and interpret it in the context of the problem.
4. (Sparrow) Use anova(model) output to calculate Multiple R-squared ( in R output above.) and interpret
it. Show your work. (Hint: R-squared = (Variability explained by model)/(Total variability in y))
5. (Sparrow) Use the following outputs only to construct 95% confidence interval of β1 (slope) of the
model and interpret in the context of the problem. Does it agree with your conclusion from Problem 3
above? Explain.
(n<-nrow(data_Sparrows))#number of observations
## [1] 116
qt(0.975, n-2)
## [1] 1.980992
1
qt(0.95, n-2)
## [1] 1.65833
For Problem 6 through 8 In the website and online forum RateMyProfessors.com, students rate and comment
on their instructors. Launched in 1999, the site includes millions of ratings on thousands of instructors.
The data includes the summaries of the ratings of 364 instructors and a large campus in the Midwest
(Bleske-Rechek and Fritsch, 2011). Each instructor included in the data had at least 10 ratings over a several
year period. Students provided ratings of 1-5 on quality, helpfulness, clarity, easiness of instructor’s courses.
Use R command below to import the data set. In this problem we want to predict quality rating from
helpfulness rating. You may use predict() or manually calculate each answer based on R regression model
summary. rmp<-read.csv(“http://users.stat.umn.edu/~sandy/alr4ed/data/Rateprof.csv”)
6. (Rmp) Use R to construct the estimated regression model with quality as the response variable and
helpfulness as the predictor. Based on your model, What is the estimated quality rating for a randomly
selected professor if his/her helpfulness rating is 3.
7. (Rmp) Use R to construct a 95% confidence interval to estimate the mean quality rating if helpfulness
rating is 3. Interpret the result.
8. (Rmp) Use R to construct a 95% prediction interval to estimate Professor John’s quality rating if his
helpfulness rating is 3. Interpret the result.
9. Textbook Problem 3.1 (page 149)
10. Textbook Problem 3.2 (page 149)
11. Textbook Problem 3.11 (page 151 and 152).
12. Textbook Problems 3.3 and 3.15 (page 149 and 153)

因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected]

微信:codehelp

原文地址:https://www.cnblogs.com/python34/p/11622602.html

时间: 2024-10-14 14:00:34

Statistics 3022的相关文章

URAL 1613. For Fans of Statistics(STL 数学啊 )

题目链接:http://acm.timus.ru/problem.aspx?space=1&num=1613 1613. For Fans of Statistics Time limit: 1.0 second Memory limit: 64 MB Have you ever thought about how many people are transported by trams every year in a city with a ten-million population whe

BZOJ 3022 [Balkan2012]The Best Teams(扫描线+线段树)

[题目链接] http://www.lydsy.com/JudgeOnline/problem.php?id=3022 [题目大意] 给定n个球员,第i个球员年龄为AGEi,水平为SKILLi. 没有任何两个球员的水平相同.将这些球员按水平排序, 对于一次比赛,你需要选择若干个球员去比赛,但不能同时选择两个水平相邻的球员. m次询问,每次给定a和k,表示要在年龄不超过a的球员中选择不超过k个球员, 请计算skill和的最大值. [题解] 对于询问年龄的限制,我们可以通过扫描线来处理. 我们将所有

使用Statistics命令查看Netapp存储实时性能统计数据

Cluster-mode下,引入了新的命令行工具,可以查看详细的存储系统性能指标,在进行存储系统诊断时候尤其有用. 注意:使用该命令需要进入高级模式,SSH登录存储CLI环境之后,执行命令:set  –privilege  advanced.参考下图1: 图1 命令使用方法 总览 可以使用命令statistics show-periodic查看当前系统实时的性能指标概览. 图2 样本收集 也可以使用命令statistics start |stop 收集一段时间内的性能参数,然后通过statist

Measuring PostgreSQL Checkpoint Statistics

Checkpoints can be a major drag on write-heavy PostgreSQL installations. The first step toward identifying issues in this area is to monitor how often they happen, which just got an easier to use interface added to the database recently. Checkpoints

SQL SERVER 统计信息概述(Statistics)

前言 查询优化器使用统计信息来创建可提高查询性能的查询计划,对于大多数查询,查询优化器已经为高质量查询计划生成必要的统计信息,但是在少数情况下,您需要创建附加的统计信息或者修改查询设计以得到最佳结果.因此理解和合理使用统计信息是数据库优化的方式之一.   统计信息的分类 根据创建源的不同,统计信息分为两种表统计信息和索引统计信息,除非你自定义它们,否则它们之间没有本质的区别. 索引统计信息建立在索引上面,因此对于创建已经存在的数据上,在创建索引的时候会扫描全部数据,这些数据也会创建在索引的统计信

【转自mos文章】使用单条sql来查询出awr中的syatem statistics

使用单条sql来查询出awr中的syatem statistics 参考自: How to monitor system statistics from AWR snapshot by single SQL? (Doc ID 1320445.1) 适用于: Oracle Server - Enterprise Edition - Version: 10.2.0.1 and later   [Release: 10.2 and later ] Information in this documen

SET STATISTICS IO

SET STATISTICS IO (Transact-SQL) https://technet.microsoft.com/zh-cn/library/ms184361(SQL.90).aspx 如何识别SQL Server中的IO瓶颈 http://blog.csdn.net/dba_huangzj/article/details/7773744 SQLSERVER读懂语句运行的统计信息 http://www.cnblogs.com/lyhabc/archive/2013/01/13/285

一站式学习Wireshark(七):Statistics统计工具功能详解与应用

Wireshark一个强大的功能在于它的统计工具.使用Wireshark的时候,我们有各种类型的工具可供选择,从简单的如显示终端节点和会话到复杂的如Flow和IO图表.本文将介绍基本网络统计工具.包括:捕捉文件摘要(Summary),捕捉包的层次结构(Protocol Hirarchy), 会话(Conversations), 终端节点(Endpoints), HTTP. 更多信息 Summary: 从statistics菜单,选择Summary: 如下图的截屏所示,你会看到: File: 捕捉

FAQ: Automatic Statistics Collection (文档 ID 1233203.1)

In this Document   Purpose   Questions and Answers   What kind of statistics do the Automated tasks collect   How do I revert to a previous set of statistics?   Does the automatic statistic collection jobs populate CHAIN_CNT?   11g+ Automatic Mainten