Greetings,
Does anyone know if it is possible to force SAS to show you all of the estimates for mixing probabilities in Proc FMM? It defaults to omitting the last estimate, and I'm interested in this because I would like to know the standard error for all of the estimates for mixing probabilities. Alternatively, does anyone know how SAS calculates the standard error for the parameter estimates for mixing probabilities?
Thank you in advance,
Lynn
Since the sum of the mixing probabilities is 1, the last estimate is 1 - sum_of_other_estimates. If you fit a model with k components, there are only (k-1) parameters.
Hi Rick. Thanks for the response. I understand how to find the mixing probability (p) of the omitted value, but I'm interested in the standard error for that value. Do you know how it is calculated or how I can force Proc FMM to show it?
Not sure, but since the parameterization is of a generalized logit, with the last predictor set to zero, try fitting with the NOINT option in the model statement. If there is a single independent variable, that should address the issue.
(I hope)
Steve Denham
If you have only two mixing probabilities, p and 1-p, then you are luck. There is symmetry in the SEs because FMM models the mixing process using the symmetric logit link. For instance, if p = 0.2, then 1-p=0.8 (obviously). Logit(p) = -logit(1-p). With p=0.2, logit(.2) = -1.386, and logit(.8) = +1.386. The variances carry through in the same way. I just checked this by writing a NLMIXED program for a two-component mixture and getting p and 1-p from logit(p) and logit(1-p). The SEs come from the inverse Hessian matrix in FMM (the mixing probability is part of the likelihood).
You can get a hint of all of this by comparing FMM with GENMOD for a zero-inflated Poisson (a simple mixing problem). Both PROCs fit this model, but FMM represents the mixing probability by p, whileGENMOD represents the mixing probability by 1-p. But the estimates and SEs all agree.
If you have more than two mixing probabilities, then you can't take advantage of the symmetry. You would have to get 1-(p1+p2+...) by hand; the logit of this is easy, but use of the delta method to get the variance (and SE) would be tricky.
And I have not seen any way to force FMM to print 1-p or logit(1-p).
Agreed. I have to say that I think PROC FMM is a great program, but very frustrating. Hopefully the next update will hit on some of these issues.
Steve Denham
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.