📄 rwish.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Sample from the Wishart Distribution</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 rwish {sbgcop}"><tr><td>rwish {sbgcop}</td><td align="right">R Documentation</td></tr></table>
<h2>Sample from the Wishart Distribution</h2>
<h3>Description</h3>
<p>
Generate a random sample from the Wishart distribution.
</p>
<h3>Usage</h3>
<pre>
rwish(S0, nu)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>S0</code></td>
<td>
a positive definite matrix </td></tr>
<tr valign="top"><td><code>nu</code></td>
<td>
a positive integer </td></tr>
</table>
<h3>Details</h3>
<p>
Return the sum of nu i.i.d. rank-one matrices
generated as <code>z%*%t(z)</code>, where <code>z</code> is a sample
from a multivariate normal distribution with covariance
<code>S0</code>. The resulting random variable has mean
<code>nu*S0</code>.
</p>
<h3>Value</h3>
<p>
a positive definite matrix.</p>
<h3>Author(s)</h3>
<p>
Peter Hoff
</p>
<hr><div align="center">[Package <em>sbgcop</em> version 0.95 <a href="00Index.html">Index]</a></div>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -