lm专题提供lm的最新资讯内容,帮你更好的了解lm。
如何计算存储在列中的 df 中多个变量的行式 lm() / coeffs? 我有这样的数据(只是例子): <pre><c
我不明白为什么 R 包“nlme”中的 <code>lmList()</code> 不能识别按组估计 WLS 模型的 <code>weights</code> 参数。</
我在 R 中有一个数据框,看起来像上面 <pre><code>Id ln_W Year Exp 1 2.5 2010 15 1 2.3 2011 16 2 2.1
我有一个时间序列面板数据集,其结构如下: <pre><code> df &lt;- data.frame( year = c(2012L, 2013L, 2014L, 201
首先,我完全是 R 的初学者。 我正在拼命寻找有关如何在 2x3 设计中编码对比的解释。 我找到了很多关
我正在尝试提出一种机制来防止我的 <code>e.ownerName || e.orgId?.ownerName || &#39;&#39; </code> 输出中出现空结果
做 nls 时的限制是参数 b_i 介于 0 和 1 之间,并且所有 b_i 的总和等于 1,i= 1, 2, 3, 4, 5, 6 所以有 6 个参数
我一直在尝试为 ggplot2 中的多元回归线绘制 95% 的预测区间。该图是三个自变量(“x”、“y”和“z”)
如何在线性模型中保留标签?如何在下面的系数表中将斜率标记为 <code>Bar</code> 或 <code>xBar</code>? <pr
<P>我不能找出如何重构的结果,也没有从<code>predict</code>的线性模型的函​​数的公式。我在ggplot geom_smooth
在 <a href="https://stats.stackexchange.com/questions/504045/correcting-for-robust-clustered-standard-errors-within-the-lm-function-or-r
我有一个如下所示的公式: <pre><code>formula &lt;- as.formula(y ~ x + as.factor(z) + A + as.factor(B) + C:as.factor(A) + a
我想为 <code>vcov</code> 提供一个 <code>AER::tobit</code> 矩阵。 如果我查看 <a href="https://rdrr.io/cran/AER/src/R
交叉发布于 <a href="https://stats.stackexchange.com/questions/503748/manual-calculation-instrumental-variable-with-a-tobit-distribut
我有如下数据: <pre><code>library(estimatr) DF &lt;- structure(list(country = c(&#34;C&#34;, &#34;C&#34;, &#34;C&#34;, &#34;C&
这里是我正在尝试做的事情的简要概述。我的数据集是从一个实验中收集的,该实验比较了 3 种条件(
我正在阅读这篇文章:<a href="https://stackoverflow.com/questions/30520350/convert-summary-to-data-frame">Convert summary to dat
我想使用 <code>summarise</code>/<code>across</code> 和 <code>lm</code> 来拟合使用小标题中不同列的回归。像这样:<
所以我有一个关于该方法用于获得正规方程解的限制类型的问题。我想知道设置为零和总和为零的限制
当我进行回归并想要效果大小时,我通常会这样做: <pre><code>library(lmSupport) mod &lt;- lm(mpg ~ disp*hp, data