Search found 8 matches

by hirastikanah
Thu Nov 05, 2015 12:07 am
Forum: General Information and Tips and Tricks
Topic: any command to create series with binary distribution?
Replies: 3
Views: 7174

Re: any command to create series with binary distribution?

For a binary, just use @rnd (note that @rnd is a random uniform, not normal) to create a dummy using the desired success probability, as in

Code: Select all

series binary = @rnd > (1-p)
will generate a (0, 1) variable with success probability p.


Great!
thanks a lot :)
by hirastikanah
Tue Nov 03, 2015 1:06 pm
Forum: General Information and Tips and Tricks
Topic: any command to create series with binary distribution?
Replies: 3
Views: 7174

any command to create series with binary distribution?

hello

is there any command to create series with binary distribution?
something like @rnd for normal distribution


thanks in advance!
by hirastikanah
Thu Jun 11, 2015 11:59 pm
Forum: Programming
Topic: How fill a series with a specific range of numbers
Replies: 7
Views: 6216

Re: How fill a series with a specific range of numbers

Set a restricted sample

Code: Select all

smpl @first @first+5 series y = @trend+10 smpl @all
thaaaaaaaaaaaaaaaanks :D
by hirastikanah
Thu Jun 11, 2015 5:08 am
Forum: Programming
Topic: How fill a series with a specific range of numbers
Replies: 7
Views: 6216

Re: How fill a series with a specific range of numbers

series y = @trend+10 and if there are only 6 observations in the workfile series y y.adjust = 10 .. 15 ^ The latter linear interpolates between the first observation and the last in the current sample using the endpoint values. THANK YOU SO MUCH one more question: the workfile has 20 observations t...
by hirastikanah
Wed Jun 10, 2015 10:37 am
Forum: Programming
Topic: How fill a series with a specific range of numbers
Replies: 7
Views: 6216

Re: How fill a series with a specific range of numbers

Hello again
Looking up for series.adjust didn't help.

I would like to fill a series with integer numbers start from 10 for instant to 15... Without typing them one by one 10,11,12,13,14,15
by hirastikanah
Tue Jun 09, 2015 1:13 am
Forum: Programming
Topic: How fill a series with a specific range of numbers
Replies: 7
Views: 6216

How fill a series with a specific range of numbers

Hello
How can I fill a series without typing every single number?
For example :
I have a blank Series named a.
I can use the code a.fill 10,11,12,13,14,15
Is it possible to fill it somehow from 10 to 15 without typing the numbers one by one?

Thanks in advance
by hirastikanah
Thu Apr 11, 2013 4:18 am
Forum: Econometric Discussions
Topic: how to do tests and correct data in pooled data
Replies: 2
Views: 3145

Re: how to do tests and correct data in pooled data

thanks!
i will give it a try with more observation
by hirastikanah
Tue Apr 09, 2013 10:33 am
Forum: Econometric Discussions
Topic: how to do tests and correct data in pooled data
Replies: 2
Views: 3145

how to do tests and correct data in pooled data

hi
this is my result :(
how can i fix prob.s and F-statistic and ...
thanks
Image

Go to advanced search