i'm having trouble estimating parameters for a mixture of 2 normal distributions In SYSTAT. I'm using NONLIN; specified the model and the negative log likelihood of the mixture function in the loss function statement using the preprogrammed ZDF function. But I can't seem to get the program to include the estimate from the model in the loss function, and the estimates it's producing don't make any sense.
thanks in advance!
thanks in advance!