Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
jerryr125
Creator III
Creator III

Linear Regression Modeling - P-Value Formula

Hi -

I have been working with the LinEst formulas in Qlik Sense to create various Linear regression models.

I am looking for the formula to calculate the P-value of a given variable.

Any thoughts ?? Happy 2022 - Jerry

4 Replies
jerryr125
Creator III
Creator III
Author

Hi - Any thoughts on the P-Value formula ? Jerry

jyothish8807
Master II
Master II

may be try this:

sum(aggr(pow(fabs(Value - avg(total Value)), 2), Value))/count(Value)

Best Regards,
KC
jerryr125
Creator III
Creator III
Author

Hi - 

Thank you for the response.  The x variable is [Ind-L-H-Estab]

 

sum(aggr(pow(fabs([Ind-L-H-Estab]- avg(total [Ind-L-H-Estab])), 2), [Ind-L-H-Estab]))/count([Ind-L-H-Estab])

 

The formula above resulted in a very high value.  I am not sure it is accurate - thoughts  ? Jerry

jerryr125
Creator III
Creator III
Author

Hi - 

Thank you for the response.  The x variable is [Ind-L-H-Estab]

 

sum(aggr(pow(fabs([Ind-L-H-Estab]- avg(total [Ind-L-H-Estab])), 2), [Ind-L-H-Estab]))/count([Ind-L-H-Estab])

 

The formula above resulted in a very high value.  I am not sure it is accurate - thoughts  ? Jerry