Write a c program to find Mean Square Deviation

How to write a c program to find Maen Square deviation in the statistic. C code to find Mean Square Deviation #include<stdlib.h> #include<stdio.h> #include<conio.h> #include<math.h> void m(int a[100]); void mo(int a[100]); void md(int a[100]); float even(int a[100]); int odd(int a[100]); int w[100] , sum=0; int size ,i, j, temp, h ; float median , m1,z,sum1=0.0;

Write a C program to find statistical ERROR

Write a C program to find the statistical error like Mean Error, Percentage error, Mean percentage error and Absolute percentage error. Mean error Percentage error Mean Percentage error Absolute Percentage error C Code to find statistical error #include<stdio.h> #include<stdlib.h> void main() { int n,i; float sum=0,a[100],b[100],me=0,pe=0,mpe=0,ampe=0,s=0; printf("\nHOW MUCH FIND NO. OF MEAN PLEASE ENTER=>"); scanf("%d",&n);

C code to find Covariance and Correlation

How to write a C program to find the Covariance and Correlation. C code to find Covariance and Correlation #include <stdio.h> #include <math.h> class StdDeviation { private: int max; double value[100]; double mean; public: double CalculateMean() { double sum = 0; for(int i = 0; i < max; i++) sum += value[i]; return (sum / max); }

Write a C program to generate NP-chart in statistics

How to write a C program for NP – chart of control limit for statistical /* wap to computing the control limits of NP-chart */ C program to generate NP-chart #include<conio.h> #include<stdio.h> #include<math.h> #include<stdlib.h> void direct(); void indirect(); long int I_num, S_num, num, i, D_num; long int dfct=0, d[50]; float cl, ucl, lcl, z, p

Write a C program to generate P-chart in statistics

How to Write a c program to generate P-Chart in statistics for the control limit. wap to computing the control limits of P-chart. C program to generate P-chart in statistics #include<conio.h> #include<stdio.h> #include<math.h> #include<stdlib.h> void direct(); void indirect(); long int I_num, S_num, num, i, D_num; long int dfct=0, d[50]; float cl, ucl, lcl, z ; void

Write a C program for R-Chart in statistics

How to Write a C program to generate R-Chart in statistics. C program to generate R-Chart in statistics #include<conio.h> #include<stdio.h> #include<math.h> #include<stdlib.h> #define D3 0 #define D4 2.115 void direct(); void indirect(); int num, r[50], i; float r_m=0.0, R_m, ucl, lcl; void main() { int ch; clrscr(); while(ch!=5) { printf("\nenter your choice "); printf("\npress 1

Write a c program to generate X-Chart in statistic

How to write C program to generate X-Chart in statistic. C Program to generate X-Cahrt in Statistic #include<conio.h> #include<stdio.h> #include<math.h> #include<stdlib.h> #define A2 .577 void direct(); void indirect(); int num, x[50], r[50], i; float x_m=0.0, X_m, r_m=0.0, R_m, ucl, lcl; void main() { int ch; clrscr(); while(ch!=5) { printf("\nenter your choice "); printf("\npress 1 for