Search found 26 matches

by mpsc19
Fri Sep 29, 2017 8:58 am
Forum: Programming
Topic: Reducing a sample
Replies: 7
Views: 5742

Re: Reducing a sample

Still not clear. If you have 20 quarters - that's 5 years, yet you said 4 years? And you want individuals that have any four quarters, or four consecutive? Also, what's an individual? Yes, I got confused, it's 5 years. I want individuals that have any four quarters. The individuals are the surveyed...
by mpsc19
Fri Sep 29, 2017 5:16 am
Forum: Programming
Topic: Reducing a sample
Replies: 7
Views: 5742

Re: Reducing a sample

I was looking at how I could do dummy variables that would throw me 1 if that individual is in four quarters and 0 if he is not in four quarters. or I do not know what else can be done
by mpsc19
Fri Sep 29, 2017 3:44 am
Forum: Programming
Topic: Reducing a sample
Replies: 7
Views: 5742

Re: Reducing a sample

I am working with quarters, I have twenty quarters and the same individual appear in one, two, three or four quarters maximum. I want to observe only those who appear in four quarters since I am not interested in individuals who appear in less
by mpsc19
Thu Sep 28, 2017 7:45 pm
Forum: Programming
Topic: Reducing a sample
Replies: 7
Views: 5742

Reducing a sample

I wonder how to reduce a sample to observe only individuals who appear in four quarters within four years. Im using Eviews 9.

Image
by mpsc19
Tue Sep 26, 2017 7:04 am
Forum: Programming
Topic: Remove space
Replies: 7
Views: 4396

Re: Remove space

What I did was create an alpha to join two codes (example: 236120 and 1) and then see the observations. At first it worked because, for example, the two codes were together (2361201), but some are shown separately (397050 1) and I have that problem Example: alpha a1=codusu alpha a2= a1 + @str(nro_ho...
by mpsc19
Tue Sep 26, 2017 6:50 am
Forum: Programming
Topic: Remove space
Replies: 7
Views: 4396

Re: Remove space

startz wrote:
mpsc19 wrote:
startz wrote:Uh, position the cursor in front of the 1 and hit backspace?


No :( I get the poster "WARNING: Sample contains no observations"

How many observations are there in your file in which @val(a2) equals exactly 3970501?


There are 12 observations
by mpsc19
Tue Sep 26, 2017 6:14 am
Forum: Programming
Topic: Remove space
Replies: 7
Views: 4396

Re: Remove space

startz wrote:
mpsc19 wrote:Hi! I want to delete the space between 0 and 1 of the code at the end, how is it done? Thanks. Im using Eviews 9.

smpl @all if @val(a2)=397050 1

Uh, position the cursor in front of the 1 and hit backspace?


No :( I get the poster "WARNING: Sample contains no observations"
by mpsc19
Mon Sep 25, 2017 4:54 pm
Forum: Programming
Topic: Remove space
Replies: 7
Views: 4396

Remove space

Hi! I want to delete the space between 0 and 1 of the code at the end, how is it done? Thanks. Im using Eviews 9.

smpl @all if @val(a2)=397050 1
by mpsc19
Sat Sep 09, 2017 6:40 pm
Forum: Programming
Topic: Reduce a sample
Replies: 1
Views: 2335

Reduce a sample

Im a very new user of Eviews and I speak spanish. I already did this to join the code of a set of houses with the code of a home. The number 2361202 is the code of a particular home and now I want to reduce the sample to parents and children between 18 and 30 years living in that home (only children...
by mpsc19
Tue Jul 18, 2017 1:46 pm
Forum: Econometric Discussions
Topic: How to create an alpha with an alpha variable an a numerical variable
Replies: 2
Views: 2783

Re: How to create an alpha with an alpha variable an a numerical variable

EViews Gareth wrote:

Code: Select all

alpha a2 = a1 + @str(s1)


Thanks, i Will try it
by mpsc19
Fri Jul 14, 2017 3:16 pm
Forum: Econometric Discussions
Topic: How to create an alpha with an alpha variable an a numerical variable
Replies: 2
Views: 2783

How to create an alpha with an alpha variable an a numerical variable

Hello, I speak spanish and Im learning to use Eviews, so this cost me a lot, sorry for my english. I have a problem, I need to create an alpha joining both variables, one is an alpha variable and the other is a numerical variable, so I can create an alpha only with the first, but not with the second...

Go to advanced search