Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Is there a software/fun to fit a mixture of linear models?

1 Ansicht (letzte 30 Tage)
silicon
silicon am 29 Nov. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Is there a software/fun to fit a mixture of linear models?
I have data set generated by y1 = ax + b + rand1 and y2 = px + q + rand2, where rand1 and rand2 are both Gaussian random variables with mean=zero and the same but unknown sigma. a, b, p and q are unknown parameters.
x is between [1, 2],, each data point has prior prob=0.7 belong to model I and prior prob=0.3 belong to model II.
Now, I need to find parameters a, b, p, and sigma through regression? Is there a matlab function or package for this task?
Thanks.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by