Hello guys, a web developer here in Uganda currently interested in c++ programming and i would like to come up with a c++ solution to this kind of scenario but still do not understand the source code, since am just new in programming.
I carried out a study at certain school of statistics and applied economics among the first years of undergraduate students of statistics. The semester average mark (y) exhibits a linear relationship with the monthly allowance of their lecturer in dollars (x). so i would like to develop a program that reads the values of x and y, computes the coefficient of the linear regression line y=a+bx. Displays the linear regression line. Hence or otherwise, compute the linear regression line given in the table below, and able to predict a student's mark given a lecturer earns USD 250. --------------------------------------------------------------------- Mark (%) 80 40 60 20 98 70 50 90 30 y ---------------------------------------------------------------------- Salary (USD) 200 120 400 100 180 300 500 800 150 x _______________________________________________ The Uganda Linux User Group: http://linux.or.ug Send messages to this mailing list by addressing e-mails to: [email protected] Mailing list archives: http://www.mail-archive.com/[email protected]/ Mailing list settings: http://kym.net/mailman/listinfo/lug To unsubscribe: http://kym.net/mailman/options/lug The Uganda LUG mailing list is generously hosted by INFOCOM: http://www.infocom.co.ug/ The above comments and data are owned by whoever posted them (including attachments if any). The mailing list host is not responsible for them in any way.
