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%)");
Reference< XExecutableDialog > m_xDialog
void writeFormula(const OUString &aFormula)
void writeBoldString(const OUString &aString)
void writeValue(double aValue)
void writeString(const OUString &aString)
ScAddress current(SCCOL aRelativeCol=0, SCROW aRelativeRow=0, SCTAB aRelativeTab=0)
ScAddress mMaximumAddress
ScAddress mMinimumAddress
static sal_uInt16 GetChildWindowId()
virtual void Close() override
ScChiSquareTestDialog(SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData &rViewData)
virtual ~ScChiSquareTestDialog() override
virtual ScRange ApplyOutput(ScDocShell *pDocShell) override
virtual TranslateId GetUndoNameId() override
bool DoClose(sal_uInt16 nId)
OUString ScResId(TranslateId aId)
formula::FormulaGrammar::AddressConvention eConv