cwmEm-package: The package performs cluster weighed modelling assuming...

Description Details Author(s) References Examples

Description

It is a R porting of Original Code from Murphy

Details

Package: cwm
Type: Package
Version: 0.0.1
Date: 2013-03-17
License: GPL

Author(s)

Giorgio A. Spedicato

References

Murphy

Examples

1
2
3
4
5
6
library(MASS)
data(geyser)
x=geyser[,1]
y=geyser[,2]                            
cwmExample=cwrEm(x,y,nc=2)
print(cwmExample) 

Example output

Loading required package: MASS
iteration  1  logLik  -1978.869 
iteration  2  logLik  -1413.821 
iteration  3  logLik  -1406.017 
cwrObj :  cwmExample 
------------- 
 
Number of groups:  2 
Relative weights (priors):  0.6442763 0.3557237 
------------- 
 
logLik :  -1406.017 
AIC :  2836.035 
BIC :  2880.44 
------------- 
 
computation time :  0.406 

cwm documentation built on May 1, 2019, 9:19 p.m.