Project

General

Profile

Support #1839

Combining individual level files across waves with different variables into a long format.

Added by Ingrid Storm 2 months ago. Updated 27 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
-
Start date:
01/12/2023
% Done:

50%


Description

I am trying to follow the suggested syntax for appending individual level files across waves into a long format. However I wish to retain some variables that are not available in all the waves.

When I try to use the syntax dofile available on the website (MERGING INDIVIDUAL FILES ACROSS WAVES INTO LONG FORMAT) I get error messages when it encounters variables that are only available in some waves (e.g. "variable a_simrace not found").

I noticed on the moodle course a command called "isvar" was proposed as a solution. However, when I try this I also get an error message, saying that "the command isvar is not recognised" (I am using Stata version 17).

What do you propose?

Thank you very much for your help

#1

Updated by Ingrid Storm 2 months ago

I just found the answer to this myself- of course: isvar is a user generated command and I only had to download it (apoligies -it's been a while since I used Stata), but if I may suggest something it would be to include the link/ explanation for this in your material so it is easier to understand and find.
Thank you very much,
Ingrid

#2

Updated by Understanding Society User Support Team 2 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50
  • Private changed from Yes to No

Hello Ingrid,

Thank you for bringing this to our attention. We are going to update our syntax to include your suggestion.
Once it is done, we let you know.

Best wishes
Understanding Society User Support Team

#3

Updated by Understanding Society User Support Team 27 days ago

  • Status changed from In Progress to Feedback
#4

Updated by Understanding Society User Support Team 27 days ago

  • Status changed from Feedback to In Progress

Also available in: Atom PDF