🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Approximating a 4-variable function using regression.

Started by
1 comment, last by alvaro 6 years, 2 months ago

See the result first:


	Approximated Val: 28.5041 Actual Val:14.1421
	

My approach is first calculate the linear regression function for each variable, no matter how they are co-related. I don't care at the moment. And it sums up the total of all intercepts and break them up into 4 slopes which contributes to each component (4 IVs), then the result is about the double of the actual value, why?

thanks

Jack

Advertisement

Maybe because you ignored the correlations between the variables?

Also, if you could post the full example it would be helpful.

This topic is closed to new replies.

Advertisement