Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
HillaryRyder
Contributor
Contributor

Chi Squared Calculations

Hi,

 

I am trying to create a straight table with chi squared probability as an expression. My data hears would look as such

Batch       Material Number          Line        Measurement Name           Value

 

Each batch we produce take multiple results for each measurement name. 

 

Batch       Material Number          Line        Measurement Name           Chi^2

 

Above is the structure of the table I have created however I cannot figure out what the fields go into the chi squared formula. I want each row to have a chi squared value based off the value recorded for the batch, material number, line and measurement name in that row. 

 

Any help is appreciated.

Labels (3)
1 Reply
chrismarlow
Specialist II
Specialist II

Hi,

It is not clear how in your data you would split between/calculate observed and expected values, so difficult to say how to then apply the formulae.

Have you looked here Examples of how to use chi2-test functions in charts ‒ QlikView which might help you get an idea of how this works in Qlik?

Cheers,

Chris.