15 #include <strings.hrc>
21 pSfxBindings, pChildWindow, pParent, rViewData,
22 "modules/scalc/ui/chisquaretestdialog.ui",
"ChiSquareTestDialog")
37 return STR_CHI_SQUARE_TEST;
61 aTemplate.
setTemplate(
"=(COLUMNS(%RANGE%) - 1) * (ROWS(%RANGE%) - 1)");
69 aTemplate.
setTemplate(
"=CHITEST(%RANGE%; MMULT(MMULT(%RANGE%;TRANSPOSE(IF(COLUMN(%RANGE%))));MMULT(TRANSPOSE(IF(ROW(%RANGE%)));%RANGE%)) / SUM(%RANGE%))");
77 aTemplate.
setTemplate(
"=CHIINV(%P_VALUE%; %DEGREES_OF_FREEDOM%)");
84 aTemplate.
setTemplate(
"=CHIINV(%ALPHA%; %DEGREES_OF_FREEDOM%)");
void writeFormula(const OUString &aFormula)
virtual ScRange ApplyOutput(ScDocShell *pDocShell) override
void writeString(const OUString &aString)
ScAddress mMinimumAddress
virtual ~ScChiSquareTestDialog() override
virtual const char * GetUndoNameId() override
formula::FormulaGrammar::AddressConvention eConv
void writeBoldString(const OUString &aString)
ScAddress current(SCCOL aRelativeCol=0, SCROW aRelativeRow=0, SCTAB aRelativeTab=0)
ScAddress mMaximumAddress
ScChiSquareTestDialog(SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData &rViewData)
virtual void Close() override
OUString ScResId(const char *pId)
void writeValue(double aValue)
Reference< XExecutableDialog > m_xDialog
bool DoClose(sal_uInt16 nId)
static sal_uInt16 GetChildWindowId()