D21684: Hypothesis test: Dock and View for t test and z test
Devanshu Agarwal
noreply at phabricator.kde.org
Mon Jun 10 15:52:14 BST 2019
devanshuagarwal marked 9 inline comments as done.
devanshuagarwal added inline comments.
INLINE COMMENTS
> sgerlach wrote in HypothesisTest.cpp:334
> very similar to TestT. Put everything general for all tests outside the conditional blocks.
Actually,
For now these things are same, but will change later.
In two these cases, I have put blocks of calculating results and setting result model.
This will be customized according to test.
Things which are common like calculating, std, mean, sum and count are kept outside the conditional blocks
> sgerlach wrote in HypothesisTestDock.cpp:282
> shouldn't this be "test == ttest"? Using switch would make it more readable.
no ttest and ztest are boolean values. They are not enum values and enums TestT and TestZ are private members of HypothesisTest.cpp and is not intended to make useable to other files.
The rationale is to provide functions for performing each test like there are functions called perfromTwoSampleIndependetTTest() and performTwoSampleIndependentZTest.
This makes it more abstract.
REPOSITORY
R262 LabPlot
REVISION DETAIL
https://phabricator.kde.org/D21684
To: devanshuagarwal, sgerlach, asemke
Cc: kde-edu, #labplot, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190610/68274f1a/attachment.html>
More information about the kde-edu
mailing list