Docsity

RMV - Mathematics and Statistics - Study Notes, Study notes of Mathematical Statistics

Toggle sidebar
bg1
1
RMV
Missing values in a time series are estimated.
Notation
The following notation is used throughout this chapter unless otherwise stated:
XX X
n
=1,,K
16
Original series
$
Xi Estimate for spans
p Number of spans
k The number of consecutive missing values
XX
iik
to +โˆ’1 Set of consecutive missing values
Methods for Estimating Missing Values
Linear Interpolation (LINT(X))
$,,
XXl
kXX l k
iikn
il
iiki
+
โˆ’+โˆ’
=++
+โˆ’=โˆ’
=+โˆ’=
%
&
K
'
K
11
1
101
11
16
K
SYSMIS or
If k=1 (that is, only one consecutive missing observation), then
$,,
XXX i n
iin
iii
=+=โˆ’
==
%
&
K
'
K
โˆ’+
1
211 21
1
16
K
SYSMIS or
pf2

Partial preview of the text

Download RMV - Mathematics and Statistics - Study Notes and more Study notes Mathematical Statistics in PDF only on Docsity!

1

RMV

Missing values in a time series are estimated.

Notation

The following notation is used throughout this chapter unless otherwise stated:

X X X

n

1

1 ,^ K, 6

Original series

X

i

Estimate for spans

p Number of spans

k The number of consecutive missing values

X X

i i k

to

  • โˆ’ 1

Set of consecutive missing values

Methods for Estimating Missing Values

Linear Interpolation ( LINT(X) )

X

X

l

k

X X l k

i i k n

i l

i i k i

โˆ’ + โˆ’

K

K

1 1

1 6 K

SYSMIS or

If k = 1 (that is, only one consecutive missing observation), then

X

X X i n

i i n

i

i i

=

K

K

โˆ’ +

1

2

1 1

1 6 K

SYSMIS or

2 RMV

2

Mean of p Nearest Preceding and p Subsequent Values (MEAN (X,p))

If the number of nonmissing observations in X X 1 i 1

, K,

โˆ’

1 6 or^ X^ X

i +k n

1 ,^ K, 6 is

less than p, then set

X

i +l

= SYSMIS ; otherwise, set

X

i +l

= average of p

nonmissing observations preceding X i

and p nonmissing observations following

X

i +k โˆ’ 1

Median of p Nearest Preceding and p Subsequent Values (MEDIAN (X,p))

If the number of nonmissing observations in X X 1 i 1

, K,

โˆ’

1 6 or^ X^ X

i +k n

1 ,^ K, 6 is

less than p, then set

X

i +l

= SYSMIS ; otherwise, set

X

i +l

= median of p

nonmissing observations preceding X i

and p nonmissing observations following

X

i +k โˆ’ 1

Series Mean (SMEAN (X))

X

i +l

= average of all nonmissing observations in the series.

Linear Trend (TREND(X))

(1) Use all the nonmissing observations in the series to fit the regression line of the form

X a bt t

The least squares estimates are

b

X X t t

t t

a X b t

t

2

(2) Apply the regression equation to replace the missing values

X a b i l i +l