C program to calculate regression analysis

678 views
526 views

Published on

a c program designed to compute regression analysis for big data

Published in: Data & Analytics, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
678
On SlideShare
0
From Embeds
0
Number of Embeds
24
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

C program to calculate regression analysis

  1. 1. MAKERERE UNIVERSITY SCHOOL OF STATISTICS AND PLANNING DEPARTMENT OF STATISTICAL METHODS BACHELOR OF STATISTICS AND BACHELOR OF QUANTITATIVE ECONOMICS 2012/2013 GROUP
  2. 2. REQUIRED • TO ESTIMATE THE REGRESSION CO- EFFICIENT AND CONSTANT. • TO BE ABLE TO INTERPLET WHETHER JOB CREATION BY YOUTHS IS DEPENDANT ON THE AMOUNT GIVEN TO THEM AND WHAT IS THE RELATIONSHIP
  3. 3. CHOICES AND DECISIONS • We decided to use c programming language when designing the program that computes the REGRESSION CO-EFFICIENT AND CONSTANT because of the following 1. C language is simple to learn and adopt to. 2. C language is portable, a program can be designed on one system and be used on a different system
  4. 4. STEPS IN DESIGNING THE PROGRAM • After accessing the data base with information about the amount given to the youths and the number of jobs created in a year • We designed a program that used a sample of 8 members on the database that were sampled to help us make the regression line and compute the co-efficient and constant b and a.
  5. 5. C TECHIQUES USED • In the c-program we use a multi functional technique. • We have a sum function and a product function plus the main function • The sum and product function are just invoked to help simplify the running of the program as most of our calculations evolve at sums and products
  6. 6. CONCLUSION • From above the program calculates the REGRESSION CO-EFFICIENT AND CONSTANT of the amount of money given to the youths and the jobs created in a year.

×