# T-testfunktioner

T-testfunktioner används för statistisk undersökning av två populationsmedelvärden. Ett t-test med två stickprov undersöker om två stickprov skiljer sig åt och används vanligtvis när två normalfördelningar har okända varianser och när en liten urvalsstorlek används vid ett experiment.

I följande avsnitt grupperas de statistiska t-testfunktionerna enligt exempeltestet som gäller för funktionen.

Använd listrutan för varje funktion för att visa en kort beskrivning samt syntaxen för funktionen. Klicka på funktionens namn i syntaxbeskrivningen för fler detaljer.

[Skapa en typisk t-test-rapport](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_t_example.htm)

### T-test med två oberoende stickprov

Följande funktioner gäller student-t-test med två oberoende stickprov.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest\_conf

TTest\_conf returnerar det aggregerade värdet av konfidensintervallet för ett t-test för två oberoende stickprov.

[**ttest_conf**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_conf.htm) ( grp, value [, sig[, eq\_var]])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest\_df

TTest\_df() returnerar det aggregerade värdet (frihetsgrader) av ett t-test för två oberoende värdeserier.

[**ttest_df**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_df.htm) (grp, value [, eq\_var)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest\_dif

TTest\_dif() är en numerisk funktion som returnerar den aggregerade skillnaden i medelvärde för ett t-test med två oberoende värdeserier.

[**ttest_dif**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_dif.htm) (grp, value)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest\_lower

TTest\_lower() returnerar det aggregerade värdet för konfidensintervallets nedre gräns för två oberoende värdeserier.

[**ttest_lower**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_lower.htm) (grp, value [, sig[, eq\_var]])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest\_sig

TTest\_sig() returnerar den aggregerade tvåsidiga signifikansnivån för ett t-test för två oberoende värdeserier.

[**ttest_sig**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_sig.htm) (grp, value [, eq\_var])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest\_sterr

TTest\_sterr() returnerar det aggregerade standardfelet för skillnaden i medelvärde för ett t-test för två oberoende värdeserier.

[**ttest_sterr**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_sterr.htm) (grp, value [, eq\_var])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest\_t

TTest\_t() returnerar det aggregerade t-värdet för två oberoende värdeserier.

[**ttest_t**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_t.htm) (grp, value [, eq\_var])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest\_upper

TTest\_upper() returnerar det aggregerade värdet för konfidensintervallets övre gräns för två oberoende värdeserier.

[**ttest_upper**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest_upper.htm) (grp, value [, sig [, eq\_var]])

### T-test med två oberoende viktade stickprov

Följande funktioner gäller student-t-test med två oberoende stickprov där indataserien anges i viktat tvåkolumnsformat.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttestw\_conf

TTestw\_conf() returnerar det aggregerade t-värdet för två oberoende värdeserier.

[**ttestw_conf**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_conf.htm) (weight, grp, value [, sig[, eq\_var]])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttestw\_df

TTestw\_df() returnerar det aggregerade df-värdet (frihetsgrader) av ett t-test för två oberoende värdeserier.

[**ttestw_df**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_df.htm) (weight, grp, value [, eq\_var])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttestw\_dif

TTestw\_dif() returnerar den aggregerade skillnaden i medelvärde för ett t-test med två oberoende värdeserier.

[**ttestw_dif**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_dif.htm) ( weight, grp, value)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttestw\_lower

TTestw\_lower() returnerar det aggregerade värdet för konfidensintervallets nedre gräns för två oberoende värdeserier.

[**ttestw_lower**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_lower.htm) (weight, grp, value [, sig[, eq\_var]])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttestw\_sig

TTestw\_sig() returnerar den aggregerade tvåsidiga signifikansnivån för ett t-test för två oberoende värdeserier.

[**ttestw_sig**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_sig.htm) ( weight, grp, value [, eq\_var])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttestw\_sterr

TTestw\_sterr() returnerar det aggregerade standardfelet för skillnaden i medelvärde för ett t-test för två oberoende värdeserier.

[**ttestw_sterr**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_sterr.htm) (weight, grp, value [, eq\_var])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttestw\_t

TTestw\_t() returnerar det aggregerade t-värdet för två oberoende värdeserier.

[**ttestw_t**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_t.htm) (weight, grp, value [, eq\_var])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttestw\_upper

TTestw\_upper() returnerar det aggregerade värdet för konfidensintervallets övre gräns för två oberoende värdeserier.

[**ttestw_upper**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttestw_upper.htm) (weight, grp, value [, sig [, eq\_var]])

### T-test med ett stickprov

Följande funktioner gäller student-t-test med ett stickprov.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1\_conf

TTest1\_conf() returnerar det aggregerade konfidensintervallvärdet för en värdeserie.

[**ttest1_conf**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_conf.htm) (value [, sig])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1\_df

TTest1\_df() returnerar det aggregerade df-värdet (frihetsgrader) för ett t-test för en värdeserie.

[**ttest1_df**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_df.htm) (value)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1\_dif

TTest1\_dif() returnerar den aggregerade skillnaden i medelvärde för ett t-test för en värdeserie.

[**ttest1_dif**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_dif.htm) (value)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1\_lower

TTest1\_lower() returnerar det aggregerade värdet för konfidensintervallets nedre gräns för en värdeserie.

[**ttest1_lower**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_lower.htm) (value [, sig])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1\_sig

TTest1\_sig() returnerar den aggregerade tvåsidiga signifikansnivån för ett t-test för en värdeserie.

[**ttest1_sig**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_sig.htm) (value)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1\_sterr

TTest1\_sterr() returnerar det aggregerade standardfelet för skillnaden i medelvärde för ett t-test för en värdeserie.

[**ttest1_sterr**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_sterr.htm) (value)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1\_t

TTest1\_t() returnerar det aggregerade t-värdet för en värdeserie.

[**ttest1_t**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_t.htm) (value)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1\_upper

TTest1\_upper() returnerar det aggregerade värdet för konfidensintervallets övre gräns för en värdeserie.

[**ttest1_upper**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1_upper.htm) (value [, sig])

### T-test med ett viktat stickprov

Följande funktioner gäller student-t-test med ett stickprov där indataserien anges i viktat tvåkolumnsformat.

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1w\_conf

TTest1w\_conf() är en numerisk funktion som returnerar det aggregerade konfidensintervallvärdet för en värdeserie.

[**ttest1w_conf**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_conf.htm) (weight, value [, sig])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1w\_df

TTest1w\_df() returnerar det aggregerade df-värdet (frihetsgrader) för ett t-test för en värdeserie.

[**ttest1w_df**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_df.htm) (weight, value)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1w\_dif

TTest1w\_dif() returnerar den aggregerade skillnaden i medelvärde för ett t-test för en värdeserie.

[**ttest1w_dif**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_dif.htm) (weight, value)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1w\_lower

TTest1w\_lower() returnerar det aggregerade värdet för konfidensintervallets nedre gräns för en värdeserie.

[**ttest1w_lower**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_lower.htm) (weight, value [, sig])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1w\_sig

TTest1w\_sig() returnerar den aggregerade tvåsidiga signifikansnivån för ett t-test för en värdeserie.

[**ttest1w_sig**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_sig.htm) (weight, value)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1w\_sterr

TTest1w\_sterr() returnerar det aggregerade standardfelet för skillnaden i medelvärde för ett t-test för en värdeserie.

[**ttest1w_sterr**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_sterr.htm) (weight, value)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1w\_t

TTest1w\_t() returnerar det aggregerade t-värdet för en värdeserie.

[**ttest1w_t**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_t.htm) ( weight, value)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm)

#### ttest1w\_upper

TTest1w\_upper() returnerar det aggregerade värdet för konfidensintervallets övre gräns för en värdeserie.

[**ttest1w_upper**](https://help.qlik.com/sv-SE/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StatisticalTestFunctions/ttest/ttest1w_upper.htm) (weight, value [, sig])