APPLIED STATISTICS (MATH10096) Processing

CAD+说明书10L真空搅拌机设计 立即下载

Java Python SCHOOL OF MATHEMATICS

APPLIED STATISTICS (MATH10096)

Assignment

• To be uploaded to Gradescope by 4pm, March 22, 2024.

• This assignment is worth 20% of your final grade for the course.

•  Assignments should be typed (LATEX, word, etc.).

•  Answers to questions should be in full sentences and should provide all necessary details.

•  Any output (e.g., graphs, tables) from R that you use to answer questions must be included with the assignment and should be formatted as part of the discussion (i.e., not copy and pasted from the console). Also, please include your R code in the assignment.

•  You are welcome to discuss the questions with colleagues, but the solutions and code must be written independently.

• The assignment is out of 100 marks.

1.  (13 marks) In the 2000 Presidential election in the U.S. with Democratic candidate Al Gore and Republican candidate George W. Bush,  some political analysts thought that most of the votes in Palm Beach County, Florida, for the Reform party candidate, Pat Buchanan, may have actually been intended for Gore (whose name was next to Buchanan’s on the ballot) but wrongly cast for Buchanan because of the design of the “butterfly ballot” used in that county, which many voters found confusing. Bush won Florida by 537 votes and, with it, the Electoral College and the election.  It is widely believed that voting irregularities in Palm Beach county cost Gore the presidency. More information can be found in Wikipedia

https://en.wikipedia.org/wiki/2000_United_States_presidential_election_recount_in_Florida

The BushGore dataset, available on Learn, contains the Florida county-wide votes for the Reform party candidates in 2000 (Buchanan) and in 1996 (Ross Perot). Using Perot’s votes in 1996 to predict Buchanan’s votes in 2000, investigate whether the observation for Palm Beach county impacts the results from such a (simple) linear regression model. Note: You can read the data in R by typing the below command.

elections <- read.table("BushGore.dat", header = TRUE)

2.  The datasetteengamb in the package faraway concerns a study of teenage gambling in Britain. To know more about the variables in this dataset, please type help(teengamb).

(a)  (5 marks) Fit a regression model with the expenditure on gambling as the response and the sex, socioeconomic status, income, and verbal score as predictors. Fit the same model, but now with the response variable being the square root of the expenditure on gambling.  Why should the second model be preferred over the first model? Do you have any concerns regarding the second model? For the remaining questions, please use the square root of the expenditure as the response variable.

(b)  (4 marks) With all other predictor variables held constant, what would be the estimated difference in the mean (square root) expenditure on gambling for a male compared to a female. Provide also a 95% confidence interval for this difference.

(c)  (4 marks) Predict the amount that a male with socioeconomic status, income, and verbal score at the maximum values in this dataset would gamble, along with a 95% prediction interval. Take care to give your answer in&dai 写APPLIED STATISTICS (MATH10096) AssignmentProcessing nbsp;the original units of the response.

(d)  (4 marks) Fit a model with income just as a predictor, and use an F-test to compare it to the full model fitted in (a). State precisely the two models being compared. What does this tell you about the significance of the other three predictor variables?

(e)  (6 marks) A modelselection strategy that is easily applied here is all possible subsets. Assuming sex must be included in all the models, fit all possible combinations of predictors. How stable is the estimated effect of sex across these models?

(f)  (5 marks) Which of the models fitted in (e) would you select as your final one, and on what basis? What conclusions would you draw from this selected model?

3.  The dataset butterfat in the package faraway contains the average butterfat content (percent- ages) of milk for random samples of twenty cows, ten two-year old and ten mature (greater than four years old), from each of five breeds.  Therefore, for each combination of breed and age categories, there are ten observations. The data are from Canadian records of pure-bred dairy cattle. Questions of interest are (i) if butterfat content differs with age and/or breed, and (ii) if any potential breed effect is the same for the two age groups.

(a)  (5 marks) Make appropriate plots of the data and comment on them.

(b)  (13 marks) Determine an appropriate model, and write it down mathematically, to answer the questions of interest. What are your conclusions?

(c)  (8 marks) Is the best breed in terms of butterfat content clearly superior to the second best breed? Justify.

4.  The data set cairo available in the package gamair contains the variables temp and time giving the mean daily temperature in Cairo on each day over a number of years (time runs from the start of the data, January 1st 1995, and temperature is in degrees Fahrenheit). The interest in these data is in establishing whether there is evidence for an increase in mean temperature. However, there is a clear annual cycle in the data,which will need to be modelled, if one is to hope to detect any overall change in mean temperature (you can observe this yearly pattern by plotting the mean daily temperature against time). To do this, note that any periodic function, f(t), of period T, can be written as:

Hence a reasonable model for the Cairo data might be a ‘periodic + trend’ model, such as:

(a)  (5 marks) Use lm to fit such a model. Do the default residual plots look reasonable?

(b)  (6 marks) The justification for the given model suggests that modelselection should proceed by repeatedly removing the highest frequency sin/cos pair from the model, until you can reject the null hypothesis that the resulting simplified model is correct.  Proceeding in this way, select an appropriate model for the data. Do not forget to re-check the residuals of your selected model.

(c)  (5 marks) Does your selected model suggest that there is evidence for a change in the overall mean temperature over the years (over and above simple annual variability)? Justify.

(d)  (6 marks) Now make two plots:  (i) a plot of the residuals against time, and (ii) a plot of each residual against the residual preceding it. What do the two plots suggest?

(e)  (6 marks) Fit a simple linear model of the form.

where the ei are i.i.d. N(0,) r.v.s         

高校技术转移办公室人员如何利用知识图谱提升科研成果的市场转化效率?.docx 科易网基于40亿+科创知识图谱数据库,深度探索AI技术在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,研究科技创新领域的AI+数智化解决方案,推动科技创新与产业创新智能化发展。 立即下载

相关推荐

政府科技管理者如何精准识别区域创新短板以优化政策资源配置?.docx

科易网基于40亿+科创知识图谱数据库,深度探索AI技术在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,研究科技创新领域的AI+数智化解决方案,推动科技创新与产业创新智能化发展。

常用开发语言及Linux兼容性

系统级开发:首选C/C++,配合GCC和Make,这是 Linux 生态的基石。应用级开发Java和Python是最常用的选择,拥有成熟的框架(Spring Boot, Django)和完善的 Linux 支持。Web 开发PHP依然是 Linux 服务器(LAMP/LEMP 架构)上的主力语言,配合Composer和Git可高效交付。运维与自动化:必须掌握Shell编程,它是操作 Linux 文件系统、网络配置及进程管理的直接手段。所有上述语言均可通过包管理器(如aptyumdnf。

m0_66048236的博客 366

产业园区运营负责人如何通过知识图谱挖掘潜在合作企业?.docx

科易网基于40亿+科创知识图谱数据库,深度探索AI技术在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,研究科技创新领域的AI+数智化解决方案,推动科技创新与产业创新智能化发展。

近十年热门开发语言的走向

领域决定语言,没有万能语言:AI 原型→Python;Web 全栈→TypeScript;云原生服务→Go;底层安全高性能→Rust/C/C++;大型企业存量系统→Java/C#。静态类型复兴:TypeScript、Rust、Kotlin 崛起,大型项目越来越看重编译期类型检查,AI 编码时代这个趋势进一步放大。语言分化:原型胶水语言(Python)和高性能工程语言(Go/Rust)分工越来越清晰。老牌不会消亡:C/C++/Java 虽然热度下降,但海量存量业务,岗位长期存在。

赵星海 235

自动化模具清理机.rar

自动化模具清理机.rar

高校技术转移办公室人员如何识别技术成果的转化路径?.docx

科易网基于40亿+科创知识图谱数据库,深度探索AI技术在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,研究科技创新领域的AI+数智化解决方案,推动科技创新与产业创新智能化发展。

基于三电平ANPC构网型逆变器的虚拟同步控制策略及动态性能优化研究(Simulink仿真实现)

内容概要:本文围绕基于三电平ANPC构网型逆变器的虚拟同步控制策略展开研究,重点探讨了其在Simulink环境下的仿真实现方法。研究聚焦于虚拟同步发电机(VSG)控制、双闭环控制及中点电位平衡控制等核心技术,旨在提升高渗透率新能源背景下逆变器的惯量支撑能力和电能质量。通过构建详细的系统模型,提出并优化控制策略,有效解决了三电平逆变器在动态响应、稳定性及中点电压波动等方面的挑战,增强了系统对复杂电网工况的适应能力。研究进一步结合VSG的虚拟惯量与阻尼特性,实现对电网频率波动的有效抑制,并通过双闭环结构提升电流跟踪精度与功率调节性能,同时引入中点电位平衡控制策略,确保多电平拓扑输出电压对称性与可靠性。; 适合人群:具备电力电子、自动控制或新能源发电相关背景,从事科研或工程开发的研发人员,尤其是关注构网型逆变器、虚拟同步技术及多电平拓扑控制的研究生与工程师。; 使用场景及目标:①应用于新能源并网系统中构网型逆变器的设计与仿真;②为提升电力系统稳定性提供虚拟同步控制方案;③实现三电平ANPC逆变器中点电位的有效平衡与动态性能优化; 阅读建议:建议结合Simulink仿真模型进行实践操作,重点关注控制策略的实现细节与参数整定过程,同时可参考文中提到的双闭环结构与VSG控制逻辑进行扩展研究。

高校技术转移办公室人员如何通过知识图谱识别校企合作潜力与对接方向?.docx

科易网基于40亿+科创知识图谱数据库,深度探索AI技术在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,研究科技创新领域的AI+数智化解决方案,推动科技创新与产业创新智能化发展。

政府科技管理者在制定区域创新政策时,如何精准识别各区域的创新能力短板与优势?.docx

科易网基于40亿+科创知识图谱数据库,深度探索AI技术在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,研究科技创新领域的AI+数智化解决方案,推动科技创新与产业创新智能化发展。

高校技术转移办公室人员在推动科技成果转化时,如何从系统中获取潜在合作企业与市场需求信息?.docx

科易网基于40亿+科创知识图谱数据库,深度探索AI技术在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,研究科技创新领域的AI+数智化解决方案,推动科技创新与产业创新智能化发展。

旋转上浮机构.rar

旋转上浮机构.rar

产业园区运营负责人如何制定符合区域特点的创新资源导入策略?.docx

科易网基于40亿+科创知识图谱数据库,深度探索AI技术在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,研究科技创新领域的AI+数智化解决方案,推动科技创新与产业创新智能化发展。

DeepSeekHarness 桌面版压缩包

装成electron应用

Codex++软件安装包

Codex++软件安装包

轴倾斜验证夹具.rar

轴倾斜验证夹具.rar

上一篇: data SQL
下一篇: CS111 Introduction to Computer Science Midterm 2 Fall 2023Java
WX: 99515681
博客等级 码龄1年 324粉丝 · 67原创
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值