MAKERERE UNIVERSITY
SCHOOL OF STATISTICS AND PLANNING
DEPARTMENT OF STATISTICAL METHODS
BACHELOR OF STATISTICS
AND
BACHELOR OF QUANTITATIVE ECONOMICS 2012/2013
GROUP
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
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
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.
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
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.
C program to calculate regression analysis

C program to calculate regression analysis

  • 1.
    MAKERERE UNIVERSITY SCHOOL OFSTATISTICS AND PLANNING DEPARTMENT OF STATISTICAL METHODS BACHELOR OF STATISTICS AND BACHELOR OF QUANTITATIVE ECONOMICS 2012/2013 GROUP
  • 2.
    REQUIRED • TO ESTIMATETHE 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.
    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.
    STEPS IN DESIGNINGTHE 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.
    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
  • 11.
    CONCLUSION • From abovethe program calculates the REGRESSION CO-EFFICIENT AND CONSTANT of the amount of money given to the youths and the jobs created in a year.