MATLAB Answers

Locks
0

calculate annualized Standard deviation for data that consists of several years

Asked by Locks
on 21 Apr 2013

hi,

I tried to compute the annualized standard deviation for data which consists of data from 8 complete years. is there a given formula to compute the annualized std deviation?

all I have found is this:

s = std(X)

  0 Comments

Products

No products are associated with this question.

1 Answer

Answer by Tobias
on 22 Apr 2013
 Accepted answer

There is no annualized standard deviation, however, all matlab processes can be used only on parts of your data, so you could manually limit for std deviation calculation to only account for year 1, year 2 etc.

You did not specify how your data is stored, so I'm going to assume that it is a vector.

data =
       1
       2
       3
       4
       5
       6

Say 1 to 3 is year 1, 4 to 6 is year 2.

std_year1 = std(data(1:3,:)

The correct syntax is: data(rows, columns) where a single colon simply means all.

  0 Comments


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!