File: smm_init_vector.Rd

package info (click to toggle)
r-cran-mixturefitting 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 448 kB
  • sloc: ansic: 518; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 1,059 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
\name{smm_init_vector}
\alias{smm_init_vector}
\docType{methods}
\title{Estimate Student's t Mixture parameters using Expectation Maximization.}
\description{
    Estimate an initialization vector for Student's t mixture fitting via Expectation Maximization.
    Proportions are set to be equal, centers are equispaced through the whole domain of input sample, concentrations and degrees of freedom are set to 1.
}
\usage{
    smm_init_vector( x, n )
}
\arguments{
    \item{x}{data vector}
    \item{n}{number of mixture components}
}
\value{
    Parameter vector of 4*\emph{n} parameters, where \emph{n} is number of mixture components.
    Structure of p vector is
    p = c( A1, A2, ..., A\emph{n}, mu1, mu2, ..., mu\emph{n}, k1, k2, ..., k\emph{n}, ni1, ni2, ..., ni\emph{n} ),
    where A\emph{i} is the proportion of \emph{i}-th component,
    mu\emph{i} is the center of \emph{i}-th component,
    k\emph{i} is the concentration of \emph{i}-th component and
    ni\emph{i} is the degrees of freedom of \emph{i}-th component.
}
\author{Andrius Merkys}