Search found 24 matches

by mpsc19
Fri Nov 03, 2017 6:51 pm
Forum: Programming
Topic: Modify a variable
Replies: 4
Views: 156

Re: Modify a variable

Thanks!!
by mpsc19
Fri Nov 03, 2017 6:10 pm
Forum: Programming
Topic: Modify a variable
Replies: 4
Views: 156

Re: Modify a variable

According to what I understood from your question, yes, those years of education are those that are complete, if you are studying at that time to have, for example, nine years of education, the variable will only be eight years because they are the years that has completed
by mpsc19
Fri Nov 03, 2017 5:32 pm
Forum: Programming
Topic: Modify a variable
Replies: 4
Views: 156

Modify a variable

Sorry for my english. Im using Eviews 7. The image shows a single individual in four periods of time, where the variable "anedhijos" shows the years of education of that individual and the variable "anedpadres" shows the years of education of that individual's father. As can be s...
by mpsc19
Mon Oct 16, 2017 7:04 pm
Forum: Programming
Topic: Sample
Replies: 18
Views: 455

Re: Sample

Hello, I believe the fundamental problem is that information about a household with children is split across several observations. Without making any assumptions about how the observations for a single household are related (I notice they're two apart in your example, but I don't know if that patte...
by mpsc19
Mon Oct 16, 2017 10:18 am
Forum: Programming
Topic: Sample
Replies: 18
Views: 455

Re: Sample

No :(
I also appreciate your help, very kind !!
by mpsc19
Mon Oct 16, 2017 10:06 am
Forum: Programming
Topic: Sample
Replies: 18
Views: 455

Re: Sample

Look, i put this: smpl @all if (ch03=1 or (ch03=3 and ch06>=18 and ch06<=30)) then I have all the households with heads that have children between 18 and 30 years, but also appear the heads of other households that do not meet that condition, for example, in the image the first ten observations are ...
by mpsc19
Mon Oct 16, 2017 9:51 am
Forum: Programming
Topic: Sample
Replies: 18
Views: 455

Re: Sample

Mmmm, ok, I understand what you say, but I know all records have a boss. no way to do it?
by mpsc19
Mon Oct 16, 2017 8:32 am
Forum: Programming
Topic: Sample
Replies: 18
Views: 455

Re: Sample

Yes, for example, the code of a household is: 257695 .the variable that has the codes of the homes is called "codusu" In a house there may be more than one family, every family has its code, the variable that has the family codes is "nro_hogar" In each family there is an individu...
by mpsc19
Mon Oct 16, 2017 6:57 am
Forum: Programming
Topic: Sample
Replies: 18
Views: 455

Re: Sample

I'm trying to sort the information to make a data panel. I don't want a single observation to take two values, I just want to reduce the sample to show me only the households where there is a boss and children with those ages
by mpsc19
Mon Oct 16, 2017 6:25 am
Forum: Programming
Topic: Sample
Replies: 18
Views: 455

Re: Sample

Unstructured/Undated
by mpsc19
Mon Oct 16, 2017 6:18 am
Forum: Programming
Topic: Sample
Replies: 18
Views: 455

Re: Sample

There I did but no, only the bosses are now
by mpsc19
Mon Oct 16, 2017 5:29 am
Forum: Programming
Topic: Sample
Replies: 18
Views: 455

Sample

Hello, how can I reduce a sample by looking only at households with a boss and children between the ages of 18 and 30? Households with bosses but no children with those ages do not interest me boss: ch03=1 children: ch03=3 between ages of 19 and 30: (ch06>=18 and ch06<=30) I previously did this: (ch...
by mpsc19
Sat Sep 30, 2017 12:23 pm
Forum: Programming
Topic: Reducing a sample
Replies: 7
Views: 345

Re: Reducing a sample

It works. Thanks!!
by mpsc19
Fri Sep 29, 2017 8:58 am
Forum: Programming
Topic: Reducing a sample
Replies: 7
Views: 345

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: 345

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

Go to advanced search