⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 negative.binomial.html

📁 本程序是基于linux系统下c++代码
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Family function for Negative Binomial GLMs</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../R.css">
</head><body>

<table width="100%" summary="page for negative.binomial {MASS}"><tr><td>negative.binomial {MASS}</td><td align="right">R Documentation</td></tr></table>
<h2>Family function for Negative Binomial GLMs</h2>


<h3>Description</h3>

<p>
Specifies the information required to fit a Negative Binomial generalized
linear model, with known <code>theta</code> parameter, using <code>glm()</code>.
</p>


<h3>Usage</h3>

<pre>
negative.binomial(theta = stop("'theta' must be specified"), link = "log")
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>theta</code></td>
<td>
The known value of the additional parameter, <code>theta</code>.
</td></tr>
<tr valign="top"><td><code>link</code></td>
<td>
The link function, as a character string, name or one-element
character vector specifying one of <code>log</code>, <code>sqrt</code>
or <code>identity</code>, or an object of class
<code>"<a href="../../stats/html/family.html">link-glm</a>"</code>.
</td></tr>
</table>

<h3>Value</h3>

<p>
An object of class <code>"family"</code>, a list of functions and
expressions needed by <code>glm()</code> to fit a Negative Binomial
generalized linear model.</p>

<h3>References</h3>

<p>
Venables, W. N. and Ripley, B. D. (1999)
<EM>Modern Applied Statistics with S-PLUS.</EM> Third
Edition. Springer.
</p>


<h3>See Also</h3>

<p>
<code><a href="glm.nb.html">glm.nb</a></code>, <code><a href="anova.negbin.html">anova.negbin</a></code>,
<code><a href="summary.negbin.html">summary.negbin</a></code>
</p>


<h3>Examples</h3>

<pre>
# Fitting a Negative Binomial model to the quine data
#   with theta = 2 assumed known.
#
glm(Days ~ .^4, family = negative.binomial(2), data = quine)
</pre>



<hr><div align="center">[Package <em>MASS</em> version 7.2-44 <a href="00Index.html">Index]</a></div>

</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -