# Hypothesis testing to check for consistency of data

how can we do hypothesis testing to check if data is consistent.

how should i define my null hypothesis and alternate hypothesis?

[quote=“shwetu, post:1, topic:8921”]
data is consistent.
[/quote]

How do you measure consistency?

1 Like

sanjayk , we calculate standard deviation but how we will do it for hypothesis testing.

One possibility :

• Null Hypothesis: \sigma^2=\sigma_0^2(where \sigma_0^2 is the value you have to fill in)
( ‘=’ above can be ‘<’ or ‘>’ etc, depending on what you are looking for)
• Draw a sample, let’s say of size n
• Calculate sample variance, s followed by \chi^2 value with n degrees of freedom.
• Finally, based on above accept or reject the Null Hypothesis for the required confidence level.