Skip to main content

NTMULTICOVARP

Returns mean vector and covariance matrix

Syntax

NTMULTICOVARP(
Data set,
Calc mean
)

Parameters

  • Data set is a set of series of variables.
  • Calc mean is a logical value that determines means of each variables are computed or not.

Remarks

Example

  • The example may be easier to understand if you copy it to a blank worksheet
How to copy an example
  1. Create a blank workbook or worksheet.

  2. Select the example in the Help topic.

    Note  Do not select the row or column headers.

    Selecting an example from Help

    Selecting an example from Help

  3. Press CTRL+C.

  4. In the worksheet, select cell A1, and press CTRL+V.

  5. To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Tools menu, point to Formula Auditing, and then click Formula Auditing Mode.

ABCD
11st.series2nd.series3rd.seriesDescription
20.070.3120.137
3-0.05-0.271-0.077
4-0.01230.3120.0175
50.0323-0.2720.043
60.2050.307-0.0018
7-0.185-0.2670.062
8-0.331-0.1870.112
90.3510.227-0.051
100.061-0.026-0.068
11-0.0410.0660.128
12FormulaDescription (Result)
13=NTMULTICOVARP(A2:C11,TRUE)Mean vector (A13:C13) and covariance matrix (A14:C16)

Note The formula in the example must be entered as an array formula. After copying the example to a blank worksheet, select the range A13:C16 starting with the formula cell. Press F2, and then press CTRL+SHIFT+ENTER.

See also