Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mstudentd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
ImHorPhen
mstudentd
Commits
c62a87e2
Commit
c62a87e2
authored
8 months ago
by
SANTAGOSTINI Pierre
Browse files
Options
Downloads
Patches
Plain Diff
Link to mvrnorm from MASS package
parent
61ebc909
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
R/rmtd.R
+1
-1
1 addition, 1 deletion
R/rmtd.R
man/rmtd.Rd
+1
-1
1 addition, 1 deletion
man/rmtd.Rd
with
2 additions
and
2 deletions
R/rmtd.R
+
1
−
1
View file @
c62a87e2
...
...
@@ -19,7 +19,7 @@ rmtd <- function(n, nu, mu, Sigma, tol = 1e-6) {
#' can be generated using:
#' \deqn{\displaystyle{X = \mu + \frac{Y}{\sqrt{\frac{u}{\nu}}}}}
#' where \eqn{Y} is a random vector distributed among a centered Gaussian density
#' with covariance matrix \eqn{\Sigma} (generated using \code{\link{mvrnorm}})
#' with covariance matrix \eqn{\Sigma} (generated using \code{\link
[MASS]
{mvrnorm}})
#' and \eqn{u} is distributed among a Chi-squared distribution with \eqn{\nu} degrees of freedom.
#'
#' @author Pierre Santagostini, Nizar Bouhlel
...
...
This diff is collapsed.
Click to expand it.
man/rmtd.Rd
+
1
−
1
View file @
c62a87e2
...
...
@@ -30,7 +30,7 @@ A sample from a MTD with parameters \eqn{\nu}, \eqn{\boldsymbol{\mu}} and \eqn{\
can be generated using:
\deqn{\displaystyle{X = \mu + \frac{Y}{\sqrt{\frac{u}{\nu}}}}}
where \eqn{Y} is a random vector distributed among a centered Gaussian density
with covariance matrix \eqn{\Sigma} (generated using \code{\link{mvrnorm}})
with covariance matrix \eqn{\Sigma} (generated using \code{\link
[MASS]
{mvrnorm}})
and \eqn{u} is distributed among a Chi-squared distribution with \eqn{\nu} degrees of freedom.
}
\examples{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment