• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 2 pages
Summary

Summary - AP statistics Matrix algebra-Vector Mean

Document preview thumbnail
Preview 1 out of 2 pages

Summary - AP statistics Matrix algebra-Vector Mean

Content preview

How to Compute Vector Means
This lesson explains how to use matrix methods to compute the means of vector elements and the means of matrix columns.


Mean Scores: Vectors
In ordinary algebra, the mean of a set of observations is computed by adding all of the observations and dividing by the number of
observations.

x = Σxi / n

where x is the mean of observations, Σxi is the sum of all observations, and n is the number of observations.

In matrix algebra, the mean of a set of n scores can be computed as follows:

x = 1'x ( 1'1 )-1 = 1'x ( 1/n )

where

x is the mean of a set of n scores
1 is an n x 1 column vector of ones
x is an n x 1 column vector of scores: x1, x2, . . . , xn

To show how this works, let's find the mean of elements of vector x, where x' = [ 1 2 3 ].

x = 1'x(1'1 )-1



1 1
x = [111] 2 ( [111] 1 )-1
3 1



x = 6/3 = 2

Thus, the mean of the elements of x is 2.


Mean Scores: Matrices
You can think of an r x c matrix as a set of c column vectors, each having r elements. Often, with matrices, we want to compute mean
scores separately within columns, consistent with the equation below.

Xc = Σ Xic / r

where

Xc is the mean of a set of r scores from column c
Σ Xic is the sum of elements from column c

In matrix algebra, a vector of mean scores from each column of matrix X can be computed as follows:

m' = 1'X ( 1'1 )-1 = 1'X ( 1/r )

where

Document information

Uploaded on
May 7, 2025
Number of pages
2
Written in
2024/2025
Type
Summary
$5.50

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
selftest
4.2
(13)
Sold
51
Followers
6
Items
2606
Last sold
1 week ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions