Re: [Gretl-users] Gretl-users Digest, Vol 91, Issue 2
by Marco Lilla
gretl-users-request(a)lists.wfu.edu ha scritto:
Send Gretl-users mailing list submissions to
gretl-users(a)lists.wfu.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.wfu.edu/mailman/listinfo/gretl-users
or, via email, send a message with subject or body 'help' to
gretl-users-request(a)lists.wfu.edu
You can reach the person managing the list at
gretl-users-owner(a)lists.wfu.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gretl-users digest..."
Today's Topics:
1. Re: Generate Discrete Uniform with negative bounds
(Alecos Papadopoulos)
2. Re: Generate Discrete Uniform with negative bounds (Annaert Jan)
3. Re: Generate Discrete Uniform with negative bounds
(Allin Cottrell)
----------------------------------------------------------------------
Message: 1
Date: Wed, 06 Aug 2014 06:31:41 +0300
From: Alecos Papadopoulos <papadopalex(a)aueb.gr>
Subject: Re: [Gretl-users] Generate Discrete Uniform with negative
bounds
To: gretl-users(a)lists.wfu.edu
Message-ID: <53E1A19D.3030402(a)aueb.gr>
Content-Type: text/plain; charset=ISO-8859-7; format=flowed
Good afternoon. I tried to generate discrete uniform random variables
using randgen, but it appears that the function cannot take negative
values as bounds for the distribution (if both minimum and maximum are
positive, then everything works fine. If either one or both bounds are
negative numbers, it goes berserk).
The script is
nulldata 100
genr scalar lb=-5
genr scalar ub=1
genr series Z1 = randgen(i,lb,ub)
and the summary statistics are
Summary statistics, using the observations 1 - 100
for the variable 'Z1' (100 valid observations)
Mean 2.7488e+009
Median 4.2950e+009
Minimum 0.00000
Maximum 4.2950e+009
Standard deviation allo 2.0720e+009
C.V. 0.75378
Skewness -0.58333
Ex. kurtosis -1.6597
5% percentile 0.00000
95% percentile 4.2950e+009
Interquartile range 4.2950e+009
Missing obs. 0
--
gretl-users-request(a)lists.wfu.edu ha scritto:
Send Gretl-users mailing list submissions to
gretl-users(a)lists.wfu.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.wfu.edu/mailman/listinfo/gretl-users
or, via email, send a message with subject or body 'help' to
gretl-users-request(a)lists.wfu.edu
You can reach the person managing the list at
gretl-users-owner(a)lists.wfu.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gretl-users digest..."
Today's Topics:
1. Re: Generate Discrete Uniform with negative bounds
(Alecos Papadopoulos)
2. Re: Generate Discrete Uniform with negative bounds (Annaert Jan)
3. Re: Generate Discrete Uniform with negative bounds
(Allin Cottrell)
----------------------------------------------------------------------
Message: 1
Date: Wed, 06 Aug 2014 06:31:41 +0300
From: Alecos Papadopoulos <papadopalex(a)aueb.gr>
Subject: Re: [Gretl-users] Generate Discrete Uniform with negative
bounds
To: gretl-users(a)lists.wfu.edu
Message-ID: <53E1A19D.3030402(a)aueb.gr>
Content-Type: text/plain; charset=ISO-8859-7; format=flowed
Good afternoon. I tried to generate discrete uniform random variables
using randgen, but it appears that the function cannot take negative
values as bounds for the distribution (if both minimum and maximum are
positive, then everything works fine. If either one or both bounds are
negative numbers, it goes berserk).
The script is
nulldata 100
genr scalar lb=-5
genr scalar ub=1
genr series Z1 = randgen(i,lb,ub)
and the summary statistics are
Summary statistics, using the observations 1 - 100
for the variable 'Z1' (100 valid observations)
Mean 2.7488e+009
Median 4.2950e+009
Minimum 0.00000
Maximum 4.2950e+009
Standard deviation 2.0720e+009
C.V. 0.75378
Skewness -0.58333
Ex. kurtosis -1.6597
5% percentile 0.00000
95% percentile 4.2950e+009
Interquartile range 4.2950e+009
Missing obs. 0
--
10 years, 2 months
Re: [Gretl-users] Generate Discrete Uniform with negative bounds
by Alecos Papadopoulos
Good afternoon. I tried to generate discrete uniform random variables
using randgen, but it appears that the function cannot take negative
values as bounds for the distribution (if both minimum and maximum are
positive, then everything works fine. If either one or both bounds are
negative numbers, it goes berserk).
The script is
nulldata 100
genr scalar lb=-5
genr scalar ub=1
genr series Z1 = randgen(i,lb,ub)
and the summary statistics are
Summary statistics, using the observations 1 - 100
for the variable 'Z1' (100 valid observations)
Mean 2.7488e+009
Median 4.2950e+009
Minimum 0.00000
Maximum 4.2950e+009
Standard deviation 2.0720e+009
C.V. 0.75378
Skewness -0.58333
Ex. kurtosis -1.6597
5% percentile 0.00000
95% percentile 4.2950e+009
Interquartile range 4.2950e+009
Missing obs. 0
--
Alecos Papadopoulos
Athens University of Economics and Business, Greece
Department of Economics
cell:+30-6945-378680
fax: +30-210-8259763
skype:alecos.papadopoulos
10 years, 2 months