Docsity

Statistical Estimation-Convex Optimization-Lecture Slides, Slides of Convex Optimization

Partial preview of the text

Download Statistical Estimation-Convex Optimization-Lecture Slides and more Slides Convex Optimization in PDF only on Docsity!

Convex Optimization — Boyd & Vandenberghe

7. Statistical estimation

-^ maximum likelihood estimation •^ optimal detector design •^ experiment design

Parametric distribution estimation

-^ distribution estimation problem: estimate probability density

p(y

)^ of a

random variable from observed values • parametric distribution estimation: choose from a family of densities p(yx

), indexed by a parameter

x

maximum likelihood estimation

maximize (over

x)^

log^ p

(y)x

-^ y^

is observed value

-^ l(x

) = log

p(yx

)^ is called log-likelihood function

-^ can add constraints

x^ ∈

C^ explicitly, or define

p(yx

for^

x^6 ∈^

C

-^ a convex optimization problem if

log^

p(yx

)^ is concave in

x^ for fixed

y

Statistical estimation

examples^ •^ Gaussian noise

N^ (

(^2) , σ) :^ p(z

(^2) πσ) −^1 /^2

(^2) −ze

(^2) /(2σ

l(x) =

m −^2 log(

(^2) πσ)

−^

m∑ 1 22 σ i=

T (axi^ −^ yi

ML estimate is LS solution • Laplacian noise:

p(z

/(2a

−|))e z|/a,

l(x) =

−m

log(

a)^ −

m∑ 1 a i=

T |axi^ −^ yi

ML estimate is

ℓ-norm solution^1

-^ uniform noise on

[−a, a

]:

l(x) =

{^ −

m^ log(

a)^

T|axi^ −^ yi

| ≤^ a,

i^

= 1,... , m

otherwise

ML estimate is any

x^ with

T |axi^ −^ yi

| ≤^ a

Statistical estimation

Logistic regression

random variable

y^ ∈ {

0 ,^1 }

with distribution p^ =^

prob

(y^ = 1) =

exp(

T^ au^ +^ b) 1 + exp(

T^ au^ +^ b)

-^ a,

b^ are parameters;

u^ ∈

n^ R are (observable) explanatory variables

-^ estimation problem: estimate

a,^ b

from

m^ observations

(u, yi

)i

log-likelihood function

(for

y=^1

· · ·^ =

y= 1k^

,^ yk+

=^ · · ·

=^ y

= 0m

l(a, b

)^ =

log

^ k∏^ i=

exp(

T^ aui +^ b) 1 + exp(

T^ aui +^ b)

m∏ i=k+

1 + exp(

T^ aui +^ b)

k∑^ (a i=

T^ u+i^

b)^ −

m∑^ log(1 + exp( i=

T^ aui +^ b))

concave in

a,^ b Statistical estimation

(Binary) hypothesis testing

detection (hypothesis testing) problem given observation of a random variable

X^ ∈ {

1 ,... , n

}, choose between:

-^ hypothesis 1:

X^ was generated by distribution

p^ = (

p,... , p^1

)n

-^ hypothesis 2:

X^ was generated by distribution

q^ = (

q,... , q^1

)n

randomized detector^ •^ a nonnegative matrix

T^ ∈

2 × R

n, with

T^1 T

=^1

T

-^ if we observe

X^ =

k, we choose hypothesis 1 with probability

t,^1 k

hypothesis 2 with probability

t^2 k

-^ if all elements of

T^ are

0 or

1 , it is called a deterministic detector

Statistical estimation

detection probability matrix:

D^ =

[^ T p

T q

]^ =

[^1 −

Pfp^

Pfn Pfp^

1 −^ P

] fn

-^ Pfp

is probability of selecting hypothesis 2 if

X^ is generated by

distribution 1 (false positive) • Pis probability of selecting hypothesis 1 iffn^

X^ is generated by

distribution 2 (false negative) multicriterion formulation of detector design

minimize (w.r.t.

2 R)+

(P

, Pfp

) = ((fn

T p)^2

,^ (T q

))^1

subject to

t+^1 k^

t= 1^2 k^

,^ k

,... , n

t≥ik^

0 ,^

i^ = 1

,^2 ,^

k^ = 1

,... , n

variable

T^ ∈

2 × R

n

Statistical estimation

example

P^ =

^0. 

0.^10

0.^20

0.^10

0.^05

0.^70

0.^05

0.^10

Pfp

fn P

1 2

3 4 0

0.^2

0.^4

0.^6

0.^8

1

(^10). (^80). (^60). (^40). 2 0

solutions 1, 2, 3 (and endpoints) are deterministic; 4 is minimax detector Statistical estimation

Experiment design

m^ linear measurements

y=i^

T axi^ +^ w

,^ i^ = 1i

,... , m

of unknown

x^ ∈

n R

-^ measurement errors

ware IIDi^

N^ (

,^ 1)

-^ ML (least-squares) estimate is

ˆx^ =

(^ m∑^ i=

T aaii

)−^1

m∑^ i=

yaii

-^ error

e^ = ˆ

x^ −^

x^ has zero mean and covariance

E^ =

E^ ee

T^ =

(^ m∑^ i=

T aaii

)−^1

confidence ellipsoids are given by

{x^ |

(x^ −

T^ ˆx)

−^1 E

(x^ −

ˆx)^ ≤

β}

experiment design

: choose

a∈ {i^

v,... , v^1

}^ (a set of possible testp

vectors) to make

E^ ‘small’

Statistical estimation

D-optimal design

minimize

log det

(∑p k

λ= vvkk

)−^1 Tk

subject to

λ^

^0 ,

T 1

λ^ = 1

interpretation: minimizes volume of confidence ellipsoids dual problem

maximize

log det

W^ +

n^ log

n

subject to

T vk W v

≤^ k

1 ,^

k^ = 1

,... , p

interpretation:

{x^

T^ | xW x

≤^1

}^ is minimum volume ellipsoid centered at

origin, that includes all test vectors

vk

complementary slackness:

for^

λ,^ W

primal and dual optimal

λ(1k

T − vk W v

) = 0k

,^ k

,... , p

optimal experiment uses vectors

von boundary of ellipsoid defined byk^

W

Statistical estimation

example

(p^ = 20

)^ λ

= 0 1

.^5 λ= 0^2 .^5

design uses two vectors, on boundary of ellipse defined by optimal

W

Statistical estimation