Estimating multiple parameters from a regression
古いコメントを表示
Dear all,
I have this regression model
fy=randn(1000,1);
x1=randn(1000,1);
x2=randn(1000,1);
u=randn(1000,1);
fy=a*x1+b*x2+c*u; %regression model
where fy is the dependent variable,
x1 and x2 are the independent variables,
u is the error term which is standard normally distributed,
a and b are the coefficients
and c is the square root of the variance.
My goal is to estimate the scalars a,b and c. Is there a way to do that?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Linear Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!