美文网首页
讲解:GLM、C/C++、C/C++、ProgramDataba

讲解:GLM、C/C++、C/C++、ProgramDataba

作者: jy07043 | 来源:发表于2020-01-12 16:06 被阅读0次

For all problems below, please use x= 40171.(30 points) Nearly 100,000 observations are available on air temperature and specific humidity. From these observations scientists have estimated that the temperature is approximately Normally distributed with mean= 280 deg K with a standard deviation of 6 deg K. The specific humidity has been found to vary approximately as:h = C/1000* exp(C*T/500) (1)Where C varies to some extent such that it is also Normally distributed with mean =x, and standard deviation = x/10a)Generate a sample of size 30 for temperature and humidity given this information.b)Using your, sample assess whether there is a trend (of any kind) in the temperature data.c)Estimate a relationship that can predict the probability of h>h75 given T using your sample. Here, h75 is the 75th percentile of the h data from your sample. Present the regression diagnostics, and justify your model choice – linear, nonlinear, GLM, etc.d)Now consider a relationship between h and T. Given equation 1 above and the description of the probability distributions of T and C, what would be a good form for the model relating h and T? You are welcome to consider transforms or local regression or any other method you would like to apply. DO NOT FIT THIS REGRESSION MODEL. Assuming that the model you have formulated is a linear model between some predictor and some response variable, predict the value of the response variable corresponding to the lowest temperature in your data set by constructing an appropriate weighted average of the response variable. e)Would your approach and answer to d) change if equation 1) included a random error term on th代写GLM留学生作业、C/C++程序语言作业调试、代写C/C++课程设计作业、Program作业代做 代做Database right hand side? How and why? Do not solve. (30 points)2.Twenty groundwater wells are located in a rectangular region. The region is exactly 10 km by 10 km. The wells are located randomly with uniform sampling in the x and the y location coordinates. Water level data has been recorded at each of the wells for 30 years. It can be obtained by executing the code belowS=runif(1)loc=matrix(runif(40,0,10),ncol=2,nrow=20)plot(loc)d=dist(loc,diag=T, upper=T)c=exp(-d/max(d))c=as.matrix(c)diag(c)=rep(1,20)library(MASS, lib.loc = C:/Program Files/R/R-3.5.3/library)data=matrix(ncol=20,nrow=30)data[1,]=mvrnorm(mu=rep(S,20), Sigma=c)for ( i in 2:30){for (j in 1:20)data[i,j]=0.95*data[i-1,j]+rnorm(1,0,sqrt(1-0.95^2))}a.Is there any evidence of common patterns in this data set? What are some methods you could use to explore this? Apply one of those methods; explain why you chose it and report the results.b.What is your estimate of the water level in year 15 at a location whose coordinates are (5,5)? Clearly explain the procedure you used to develop this estimate, including a brief discussion of competing methods you may have considered; why you chose the one you did; the assumptions of that method, and whether they were satisfied when you applied that method. What is the uncertainty of estimation for this estimate?c.Now consider the estimation of the water level in year 31 at the same location. Do not attempt to compute this estimate. Sketch out two possible algorithms that you may use to develop this estimate, and comment very briefly on what may be the possible advantage of one over the other?(30 points)转自:http://www.7daixie.com/2019050148148476.html

相关文章

  • 讲解:GLM、C/C++、C/C++、ProgramDataba

    For all problems below, please use x= 40171.(30 points) N...

  • C++_day06

    C++核心编程 主要针对C++面向对象编程技术做详细讲解,探讨C++中的核心和精髓 1. 内存分区模型 C++程序...

  • C++知识点

    C++基本方法: C++ memcpy C++基本特性: C++引用(vs指针) C++指针 C++封装: 将...

  • 序章

    从本章开始,我将为大家讲解C++的主要内容。主要参考书为著名的 C++ Primer Plus。C++的内容很多,...

  • 任务列表

    C++ 《C++ primer》、《STL源码解析》、《effective C++》、《深度搜索c++对象模型》 ...

  • 二叉树的遍历(先序、中序、后序)

    树结构: 先序:递归:C++: 非递归:C++: 中序:递归:C++: 非递归:C++: 后序:递归:C++: 非...

  • C++学习笔记目录

    C++初步 C++数据长度 C/C++ 堆 栈 静态 常量 代码 区 static关键字 C++类和对象 C++引...

  • c++学习笔记——第一天

    一、c++综述 (1)书籍推荐 ①、c++ primer ②、c++ primer plus ③、c++编程思想 ...

  • C++笔记

    C++相关书籍:C++ primer,c++标准程序库,Effective C++(Scott Meyers),C...

  • 多年程序员推荐:学习C语言的书籍有哪些?

    c++程序设计教程 c++编程思想 c++大学教程 c++程序设计语言 数据结构算法与应用c++语言描述 c++标...

网友评论

      本文标题:讲解:GLM、C/C++、C/C++、ProgramDataba

      本文链接:https://www.haomeiwen.com/subject/mutwactx.html