BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
BobHope
Quartz | Level 8

Hi,

I have data which constructs from two normal distributions (know property). And I am trying to find an estimate for the parameters of those distributions. I have been using proc FMM which works greatly if the two distributions are separatable by eye. However problems arise when the two distributions are close to each other. I understand that this might be a problem, but is there a way to force FMM to assume that when there is only one distribution to the eye, then it would try to find the distribution that should be mulitplied by 2 to get the distribution the data suggests? I have attached two output graphs which are from the FMM with k=1 and k=2 respectively. For some reason the K=2 finds a nonexisting distribution with mean of 5.73 and variance of 0??? I am using SAS 9.4


graphs.png
1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

I've written about some of these issues on my blog. Main takeways: if you have small samples, it might not be possible. However, the PROC FMM syntax enables you to specify "hints" about the number of components and even about which observations might belong to each component. So if you have domain knowledge you might be able to specify the PARTIAL= option or the PARMS statement and help PROC FMM determine the components.

 

 

View solution in original post

2 REPLIES 2
Rick_SAS
SAS Super FREQ

I've written about some of these issues on my blog. Main takeways: if you have small samples, it might not be possible. However, the PROC FMM syntax enables you to specify "hints" about the number of components and even about which observations might belong to each component. So if you have domain knowledge you might be able to specify the PARTIAL= option or the PARMS statement and help PROC FMM determine the components.

 

 

BobHope
Quartz | Level 8

Thank you for the answer. Indeed this method is possible but it was not that straight forward in my case. Got to say FMM is a great proc.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1449 views
  • 0 likes
  • 2 in conversation