mixlike: mixlike

Description Usage Arguments Author(s) Examples

View source: R/mixlike.R

Description

A supplement fucntion for uphill.mixnorm, this use to compute the log likelihood funciotn for the mixture of normal distribution

Usage

1
  mixlike(x, p, m, s)

Arguments

x

is the mixture function to be evaluated

p

is the vector of probabilities

m

is the vector if means

s

is the vector of standard deviation

Author(s)

Ernest Chan faiernest418@gmail.com

Examples

1
mixlike(mixnorm(100, c(.50, .15, .35), c(-3, 0, 3), c(3,3,3)), c(.5,.5), c(-5,5), c(1,1))

JackStat/CompPack documentation built on May 7, 2019, 10:16 a.m.