当前位置:网站首页>在 R 中创建非线性最小二乘检验
在 R 中创建非线性最小二乘检验
2022-06-26 01:31:00 【Mrrunsen】
在 R 中创建非线性最小二乘检验的基本语法是 -
nls(formula, data, start)
以下是所用参数的描述 -
公式是包含变量和参数的非线性模型公式。
数据是用于评估公式中的变量的数据框。
start是起始估计的命名列表或命名数字向量。
例子
我们将考虑一个假设其系数初始值的非线性模型。接下来,我们将看到这些假设值的置信区间是多少,以便我们可以判断这些值在模型中的适用程度。
、
让我们假设初始系数为 1 和 3,并将这些值拟合到 nls() 函数中。
xvalues <- c(1.6,2.1,2,2.23,3.71,3.25,3.4,3.86,1.19,2.21)
yvalues <- c(5.19,7.43,6.94,8.11,18.75,14.88,16.06,19.12,3.21,7.58)
# Give the chart file a name.
png边栏推荐
猜你喜欢

图的深度优先遍历

College Students' big factory road

多测师拱墅肖sir_工作目录下的use websocket报错解决方案

Bloc入门之Cubit详解

饼图变形记,肝了3000字,收藏就是学会!

vulhub复现一 activemq

How do I fix the iPhone green screen problem? Try these solutions

Redis6.0新特性——ACL(权限控制列表)实现限制用户可执行命令和KEY

How did the thief unlock the password after the iPhone was stolen? After reading the long knowledge

Cvpr2022 𞓜 future transformer with long-term action expectation
随机推荐
win32
Implementation of depth first traversal based on adjacency matrix
多测师拱墅肖sir_工作目录下的use websocket报错解决方案
Raspberry pie + AWS IOT Greengrass
官方零基础入门 Jetpack Compose 的中文课程来啦!
Eureka注册信息配置备忘
Wechat applet
喜讯 | 祝贺Apache Linkis(incubating) 社区新增5位Committer
Cow sequencing problem
Breadth first traversal of Graphs
How did the thief unlock the password after the iPhone was stolen? After reading the long knowledge
Magnifier case
Is it safe to open a securities account at the school of Finance and business in 2022?
Which securities company should I choose to open an account online? Is it safe to open an account online?
基于 ovarian 数据集 进行生存分析
记一个RestControll和Controller 引起的折磨BUG
【缺陷检测】基于matlab GUI印刷电路板自动缺陷检测【含Matlab源码 1912期】
How do I take a screenshot of the iPad? 7 ways to take quick screenshots of iPad
Agent challenge - "Olympic running"
How to check and cancel subscription auto renewal on iPhone or iPad