23 pSfxBindings, pChildWindow, pParent, rViewData,
24 "modules/scalc/ui/ztestdialog.ui",
"ZTestDialog")
39 return STR_ZTEST_UNDO_NAME;
48 std::unique_ptr<DataRangeIterator> pVariable1Iterator;
54 std::unique_ptr<DataRangeIterator> pVariable2Iterator;
100 aTemplate.
setTemplate(
"=AVERAGE(%VARIABLE1_RANGE%)");
104 aTemplate.
setTemplate(
"=AVERAGE(%VARIABLE2_RANGE%)");
112 aTemplate.
setTemplate(
"=COUNT(%VARIABLE1_RANGE%)");
116 aTemplate.
setTemplate(
"=COUNT(%VARIABLE2_RANGE%)");
124 aTemplate.
setTemplate(
"=%MEAN_VARIABLE1% - %MEAN_VARIABLE2%");
132 aTemplate.
setTemplate(
"=(%OBSERVED_MEAN_DIFFERENCE% - %HYPOTHESIZED_MEAN_DIFFERENCE%) / SQRT( %KNOWN_VARIANCE_VARIABLE1% / %OBSERVATION_VARIABLE1% + %KNOWN_VARIANCE_VARIABLE2% / %OBSERVATION_VARIABLE2% )");
140 aTemplate.
setTemplate(
"=1 - NORMSDIST(ABS(%Z_STAT%))");
154 aTemplate.
setTemplate(
"=2 * NORMSDIST(-ABS(%Z_STAT%))");
Reference< XExecutableDialog > m_xDialog
void writeMatrixFormula(const OUString &aFormula, SCCOL nCols=1, SCROW nRows=1)
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()
bool DoClose(sal_uInt16 nId)
ScAddress::Details const mAddressDetails
ScZTestDialog(SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData &rViewData)
virtual ScRange ApplyOutput(ScDocShell *pDocShell) override
virtual TranslateId GetUndoNameId() override
virtual void Close() override
virtual ~ScZTestDialog() override
OUString ScResId(TranslateId aId)
formula::FormulaGrammar::AddressConvention eConv