Description Usage Arguments Details Value Author(s) References Examples
Fit a specific two Guassian mixture distribution
1 2  | 
Z | 
 numeric vector of observed data  | 
pi0 | 
 initial proportion of samples from f0  | 
s2 | 
 initial value for sigma^2  | 
tol | 
 how small a change lhood prompts continued optimization  | 
maxit | 
 maximum number of iterations  | 
Assumes Z ~ N(0,1) with prob pi0, Z ~ N(0,1+sigma^2) with prob 1-pi0
Aims to estimate sigma^2 and pi0.
a list of two objects giving fitted values and history
Chris Wallace
Cut down from more general version at https://gist.github.com/chr1swallace/11421212 for speed.
1 2 3 4 5 6 7  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.