• Tidak ada hasil yang ditemukan

Zurgalau_2. 144KB Jun 04 2011 12:09:44 AM

N/A
N/A
Protected

Academic year: 2017

Membagikan "Zurgalau_2. 144KB Jun 04 2011 12:09:44 AM"

Copied!
4
0
0

Teks penuh

(1)

ACTA UNIVERSITATIS APULENSIS

GAMS LANGUAGE IN DESCRIPTION OF METHOD OF

MINIMUM TOTAL VARIATION

by

Ioan Florea and Rare

ş

Zurgal

ă

u

Abstract. The article show how can be used GAMS (General Algebric Modeling System ) in description of the method of minimum total variation. GAMS is a language and can be used so solve any problem of linear programation or nonlinear programation. In this article Gams is used to find the estimations of parameters which are in linear or nonlinear relations using the method of minimum total variation.

We consider an econometric model with n equations which can be show as follows:

(*)

y

=

Y

+

e

,

Y

=

F

(

X

,

θ

)

where, F is a real function ,

Y

T

=

(

Y

1

,

Y

2

,...,

Y

n

)

are the vector of dependent variables, variables whose values can be obtain statistical direct and

(

m

)

T

θ

θ

θ

θ

=

1

,

2

,...,

is the parameters vector, parameters which must be estimated. We have the errors vector

e

T

=

(

e

1

,

e

2

,...,

e

n

)

and the matrices of independent variables,

  

 

  

  =

nm n

n n

m x x

x x

x x

x x

X

K M K K K M

K

3 2 1

1 13

12 11

variables which are known or can be known after a statistical observation.

We can have some restriction of the parameters. In this situations we have the next equations attached to the model (*):

(

1

,

2

,...,

)

0

1 m

=

H

θ

θ

θ

(

1

,

2

,...,

)

0

2 m

=

H

θ

θ

θ

(1)

………

(

1

,

2

,...,

m

)

=

0

r

H

θ

θ

θ

, with r<m.

At these equations we consider the random estimation of vector

θ

components and in the same time the system of the experimental equations:

y=Y+e , Y=

θ

.

The errors

e

i , i=1,2,…,n can be independent or dependent one other. If the errors are independent then

E

( )

e

i

e

j

=

0

, if

i

j

.
(2)

Ioan Florea, Rareş Zurgalău - Gams language in description of method of minimum total variation

2

This new problem mathematical representation will be:

(

1

,

2

,...,

,

1

,...,

)

0

1 l l+ m

=

H

θ

θ

θ

θ

θ

(

1

,

2

,...,

,

1

,...,

)

0

2 l l+ m

=

H

θ

θ

θ

θ

θ

(2)

………..

(

1

,

2

,...,

l

,

l+1

,...,

m

)

=

0

r

H

θ

θ

θ

θ

θ

The system of experimental equations of the equations (2) can be written:

1 1

1 l l

n

Y

e

y

=

+

,

Y

l1

=

θ

l1

We consider the parameters unknown from the equations (1). If consider them free parameters we can estimate using an estimation method the estimations of parameters note: ) 0 ( 1

ˆ

θ

,

θ

ˆ

2(0), …,

θ

ˆm(0). (3)

If this estimations verify the equations (1), thing that is little probable, then the problem can be consider solve.

We presume that the estimations (3) didn’t verify the equations (1). We can use than this results like source of information for the parameters

θ

1

,

θ

2

,...,

θ

m. Can be found limits for the parameters as follows:

) 0 ( ) 0 ( ) 0 ( ) 0 (

ˆ

ˆ

ˆ

ˆ

j j j j

j

θ

θ

θ

θ

θ

+

, j=1,2,…,m.

For estimation of the parameters

θ

1

,

θ

2

,...,

θ

m we use two groups of restrictions:

(

1

,

2

,...,

m

)

=

0

k

H

θ

θ

θ

, k=1,2,…,r.

(4) ) 0 ( ) 0 ( ) 0 ( ) 0 (

ˆ

ˆ

ˆ

ˆ

j j j j

j

θ

θ

θ

θ

θ

+

, j=1,2,…,m.

Let it be the estimations

θ

ˆ1,

θ

ˆ2,...,

θ

ˆm verifying the conditions (4) and in the same time the next relation:

( ) (

θ

ˆ

=

θ

ˆ

(0)

θ

ˆ

) (

Q

θ

ˆ

(0)

θ

ˆ

)

=

min

.

U

T

The estimation which appear here are define in next way:

(

ˆ1, ˆ2,..., ˆm

)

=0 k

H

θ

θ

θ

, k=1,2,…,r

) 0 ( ) 0 ( ) 0 ( ) 0 (

ˆ

ˆ

ˆ

ˆ

ˆ

j j j j

j

θ

θ

θ

θ

θ

+

, j=1,2,…,m
(3)

Ioan Florea, Rareş Zurgalău - Gams language in description of method of minimum total variation

3

If we note with eˆ the errors vector define in next way ˆ(0) +ˆ=0 e

θ

obtain the next result:

(

ˆ ˆ ,..., ˆ(0) ˆ

)

0

1 ) 0 (

1 + m + m =

k e e

H

θ

θ

, k=1,2,…,r

) 0 ( )

0

(

ˆ

ˆ

ˆ

j j

j

e

θ

θ

, j=1,2,…,m

( )

e

ˆ

=

e

ˆ

Q

e

ˆ

=

min

.

U

T

The theorems that follows show us some properties of the estimations of the parameters.

*Theorem 1. Let be

θ

1

,

θ

2

,...,

θ

m the parameters from model (1) like free parameters. If the estimators

θ

ˆ

(0)1

,

θ

ˆ

(0)2

,...,

θ

ˆ

(0)m are resulted using minimum square method then we have:

( )

j j

E

θ

(0) =

θ

, j=1,2,…,m.

**Theorem 2. If the errors are normal and independents then the estimators

m

) 0 ( 2 ) 0 ( 1 ) 0

(

ˆ

,...,

ˆ

,

ˆ

θ

θ

θ

which are find using minimum squares method are normally and efficiently.

After we present the problem will try to show how GAMS ( General Algebric Modeling System ) can be used to solve the problem. GAMS is a language which can be used to solve the problems which contain linear programming and nonlinear programming. The language is structured in four sections which are: scalars, parameters, variables and equations. The language offer the possibility to chose what kind of solve it will be used. The two possibilities are:

LP – linear programming; NLP – nonlinear programming.

Like any language has a syntax which must be respect to write a problem correctly. *, ** The demonstration of two theorems can be seen in [1].

We present how the problem will be write using GAMS language: $ TITLE estimation

SCALARS

here appears the values of the coefficients of the equations (1); PARAMETERS

1

θ

exogenous variable;

2

θ

exogenous variable; ………...

l

θ

exogenous variable; VARIABLES

1

+ l

θ

endogenous variables;

2

+ l

(4)

Ioan Florea, Rareş Zurgalău - Gams language in description of method of minimum total variation

4

………..

m

θ

endogenous variables; EQUATIONS

eq. 0

U

( ) (

θ

ˆ

=

θ

ˆ

(0)

θ

ˆ

) (

T

Q

θ

ˆ

(0)

θ

ˆ

)

; eq. 1

H

1

(

θ

1

,

θ

2

,...,

θ

m

)

=

0

;

eq. 2

H

2

(

θ

1

,

θ

2

,...,

θ

m

)

=

0

; ……….. eq. r

H

r

(

θ

1

,

θ

2

,...,

θ

m

)

=

0

; eq. Y =F

( )

X,

θ

;

ineq. 1

θ

ˆ

1(0)

θ

ˆ

1(0)

θ

1

θ

ˆ

1(0)

+

θ

ˆ

1(0) ineq. 2

θ

ˆ

2(0)

θ

ˆ

2(0)

θ

2

θ

ˆ

2(0)

+

θ

ˆ

2(0) ………. ineq. 3

θ

ˆm(0) −∆

θ

ˆm(0) ≤

θ

m

θ

ˆm(0) +∆

θ

ˆm(0) MODEL estimation/ALL/;

SOLVE estimation MINIMIZING U USING NLP;

References

[1]Florea Ioan - Modelarea şi estimarea structurii cheltuielilor de producţie, Editura Dacia Cluj-Napoca 1984

[2]Florea I., Parpucea I., Buiga A., Lazar D. – Statistica Inferentiala, Presa Universitara Clujeana 2000

[3]Rene Giraud, Nicole Chaix – Econometrie, Presses Universitaires de France 1989 [4]www.gams.com

[5]Pecican E. – Macroeconometrie, Editura Economica Bucuresti 1996

Authors:

Referensi

Dokumen terkait

[4] Branson T., Nonlinear phenomena in the spectral theory of geometric linear differential operators, in Quan- tization, Nonlinear Partial Differential Equations, and Operator

In this paper we find infinitely many Lucas and Lehmer pseudoprimes that are analogous to Cipolla pseudoprimes..

In this paper we define some subclasses of convex functions associated with some hyperbola by using a generalized S˘al˘agean operator and we give some properties regarding

Height pairings attached to other p -adic linear functionals can be degenerate; in fact, given an elliptic curve defined over Q with good ordinary reduction at p , and K a

Dans cet article, on utilise des estimations de sommes de charact`eres pour ´etudier les produits de factorielles modulo

It is straightforward to check that cDBARW( α ) appears as the interface process of the block-flipping voter model with parameter α in the same sense as sDBARW describes the

The results can be also used in the analysis of non-linear equations arising in the optimal control theory of Markov processes (see e.g. [5] for the case of fully

But in stead of the classical approach of extension theory of symmetric operators, we will use the new approach based on the consepts of linear relations in Hilbert spaces,