C++ Program to implement standard error of mean

In this tutorial, we will be discussing a program to implement standard error of mean.

Standard error of mean is the estimation of sample mean dispersion from population mean. Then it is used to estimate the approximate confidence intervals for the mean.

Example

#include 
using namespace std;
//calculating sample mean
float calc_mean(float arr[], int n){
   float sum = 0;
   for (int i = 0; i 

Output

0.8063
Updated on: 2019-12-03T11:25:42+05:30

311 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements