SlideShare a Scribd company logo
1 of 12
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

More Related Content

Similar to C program to calculate regression analysis

COPR_COPA_Computer_Programmer_Analyst_2013
COPR_COPA_Computer_Programmer_Analyst_2013COPR_COPA_Computer_Programmer_Analyst_2013
COPR_COPA_Computer_Programmer_Analyst_2013Bradley Haveman
 
Cody technology use_plan_presentation
Cody technology use_plan_presentationCody technology use_plan_presentation
Cody technology use_plan_presentationlibbyjcody
 
Outcome Based Education (OBE) - A practitioner's experience
Outcome Based Education (OBE) - A  practitioner's experienceOutcome Based Education (OBE) - A  practitioner's experience
Outcome Based Education (OBE) - A practitioner's experienceRavindra Dastikop
 
Assignment week 5
Assignment week 5Assignment week 5
Assignment week 5roxnnate
 
Presentation_DRRM Mainstreaming in the Planning Cycle.pptx
Presentation_DRRM Mainstreaming in the Planning Cycle.pptxPresentation_DRRM Mainstreaming in the Planning Cycle.pptx
Presentation_DRRM Mainstreaming in the Planning Cycle.pptxClarenceCasapao
 
Unit IV_Monitoring_and_Evaluation.pptx
Unit IV_Monitoring_and_Evaluation.pptxUnit IV_Monitoring_and_Evaluation.pptx
Unit IV_Monitoring_and_Evaluation.pptxMusondaMofu2
 
Computing Student Success at Montgomery College in the Web 3.0 Era
Computing Student Success at Montgomery College  in the Web 3.0 EraComputing Student Success at Montgomery College  in the Web 3.0 Era
Computing Student Success at Montgomery College in the Web 3.0 Eraafacct
 
EdTech 501 - TUP Presentation - Beta Group
EdTech 501 - TUP Presentation - Beta GroupEdTech 501 - TUP Presentation - Beta Group
EdTech 501 - TUP Presentation - Beta GroupSarah Miller
 
IRJET- Design and Development of Web Application for Student Placement Tr...
IRJET-  	  Design and Development of Web Application for Student Placement Tr...IRJET-  	  Design and Development of Web Application for Student Placement Tr...
IRJET- Design and Development of Web Application for Student Placement Tr...IRJET Journal
 
13-14 SMART Goals and Action Plans
13-14 SMART Goals and Action Plans13-14 SMART Goals and Action Plans
13-14 SMART Goals and Action PlansJay Marino
 
ABCD Evaluation Model
ABCD Evaluation Model ABCD Evaluation Model
ABCD Evaluation Model Laarni Caorong
 
Yash Agarwal - BCA Final Year
Yash Agarwal - BCA Final YearYash Agarwal - BCA Final Year
Yash Agarwal - BCA Final YearDezyneecole
 
Strengthening National M&E Systems for Orphans and Vulnerable Children Progra...
Strengthening National M&E Systems for Orphans and Vulnerable Children Progra...Strengthening National M&E Systems for Orphans and Vulnerable Children Progra...
Strengthening National M&E Systems for Orphans and Vulnerable Children Progra...MEASURE Evaluation
 
Computer based online written test system "Tao Software"
Computer based online written test system "Tao Software"Computer based online written test system "Tao Software"
Computer based online written test system "Tao Software"Awais Chaudhary
 
Technology at Woodlawn Elementary ppt
Technology at Woodlawn Elementary  pptTechnology at Woodlawn Elementary  ppt
Technology at Woodlawn Elementary pptroxnnate
 
Technology at woodlawn elementary ppt
Technology at woodlawn elementary  pptTechnology at woodlawn elementary  ppt
Technology at woodlawn elementary pptroxnnate
 
Technology at woodlawn elementary ppt
Technology at woodlawn elementary  pptTechnology at woodlawn elementary  ppt
Technology at woodlawn elementary pptroxnnate
 
Going the Distance: Planning Through the Lens of Online Learning
Going the Distance: Planning Through the Lens of Online LearningGoing the Distance: Planning Through the Lens of Online Learning
Going the Distance: Planning Through the Lens of Online LearningJon Ernstberger
 

Similar to C program to calculate regression analysis (20)

COPR.PDF
COPR.PDFCOPR.PDF
COPR.PDF
 
COPR_COPA_Computer_Programmer_Analyst_2013
COPR_COPA_Computer_Programmer_Analyst_2013COPR_COPA_Computer_Programmer_Analyst_2013
COPR_COPA_Computer_Programmer_Analyst_2013
 
Cody technology use_plan_presentation
Cody technology use_plan_presentationCody technology use_plan_presentation
Cody technology use_plan_presentation
 
Outcome Based Education (OBE) - A practitioner's experience
Outcome Based Education (OBE) - A  practitioner's experienceOutcome Based Education (OBE) - A  practitioner's experience
Outcome Based Education (OBE) - A practitioner's experience
 
Assignment week 5
Assignment week 5Assignment week 5
Assignment week 5
 
Presentation_DRRM Mainstreaming in the Planning Cycle.pptx
Presentation_DRRM Mainstreaming in the Planning Cycle.pptxPresentation_DRRM Mainstreaming in the Planning Cycle.pptx
Presentation_DRRM Mainstreaming in the Planning Cycle.pptx
 
Unit IV_Monitoring_and_Evaluation.pptx
Unit IV_Monitoring_and_Evaluation.pptxUnit IV_Monitoring_and_Evaluation.pptx
Unit IV_Monitoring_and_Evaluation.pptx
 
Computing Student Success at Montgomery College in the Web 3.0 Era
Computing Student Success at Montgomery College  in the Web 3.0 EraComputing Student Success at Montgomery College  in the Web 3.0 Era
Computing Student Success at Montgomery College in the Web 3.0 Era
 
EdTech 501 - TUP Presentation - Beta Group
EdTech 501 - TUP Presentation - Beta GroupEdTech 501 - TUP Presentation - Beta Group
EdTech 501 - TUP Presentation - Beta Group
 
IRJET- Design and Development of Web Application for Student Placement Tr...
IRJET-  	  Design and Development of Web Application for Student Placement Tr...IRJET-  	  Design and Development of Web Application for Student Placement Tr...
IRJET- Design and Development of Web Application for Student Placement Tr...
 
13-14 SMART Goals and Action Plans
13-14 SMART Goals and Action Plans13-14 SMART Goals and Action Plans
13-14 SMART Goals and Action Plans
 
BTSD Guide for new students 20231 Sep'23.docx.pdf
BTSD Guide for new students 20231 Sep'23.docx.pdfBTSD Guide for new students 20231 Sep'23.docx.pdf
BTSD Guide for new students 20231 Sep'23.docx.pdf
 
ABCD Evaluation Model
ABCD Evaluation Model ABCD Evaluation Model
ABCD Evaluation Model
 
Yash Agarwal - BCA Final Year
Yash Agarwal - BCA Final YearYash Agarwal - BCA Final Year
Yash Agarwal - BCA Final Year
 
Strengthening National M&E Systems for Orphans and Vulnerable Children Progra...
Strengthening National M&E Systems for Orphans and Vulnerable Children Progra...Strengthening National M&E Systems for Orphans and Vulnerable Children Progra...
Strengthening National M&E Systems for Orphans and Vulnerable Children Progra...
 
Computer based online written test system "Tao Software"
Computer based online written test system "Tao Software"Computer based online written test system "Tao Software"
Computer based online written test system "Tao Software"
 
Technology at Woodlawn Elementary ppt
Technology at Woodlawn Elementary  pptTechnology at Woodlawn Elementary  ppt
Technology at Woodlawn Elementary ppt
 
Technology at woodlawn elementary ppt
Technology at woodlawn elementary  pptTechnology at woodlawn elementary  ppt
Technology at woodlawn elementary ppt
 
Technology at woodlawn elementary ppt
Technology at woodlawn elementary  pptTechnology at woodlawn elementary  ppt
Technology at woodlawn elementary ppt
 
Going the Distance: Planning Through the Lens of Online Learning
Going the Distance: Planning Through the Lens of Online LearningGoing the Distance: Planning Through the Lens of Online Learning
Going the Distance: Planning Through the Lens of Online Learning
 

Recently uploaded

Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...amitlee9823
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceDelhi Call girls
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...SUHANI PANDEY
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...amitlee9823
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...shambhavirathore45
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Delhi Call girls
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 

Recently uploaded (20)

Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 

C program to calculate regression analysis

  • 1. MAKERERE UNIVERSITY SCHOOL OF STATISTICS AND PLANNING DEPARTMENT OF STATISTICAL METHODS BACHELOR OF STATISTICS AND BACHELOR OF QUANTITATIVE ECONOMICS 2012/2013 GROUP
  • 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. 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 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. 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.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11. 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.