Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
silicon
silicon il 29 Nov 2013
Chiuso: MATLAB Answer Bot il 20 Ago 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.

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by