# Dataeditiongaps in Biography

**URL:** <https://forum.lifbi.de/t/dataeditiongaps-in-biography/5661>\
**Category:** NEPS\
**Tags:** fdz\_lifbi, biography, data-edition-gaps, sc4, neps\
**Created:** [19. November 2026 um 09:08 UTC](https://forum.lifbi.de/t/dataeditiongaps-in-biography/5661 "2026-11-19T09:08:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacqueline.Kroh](https://forum.lifbi.de/letter_avatar_proxy/v4/letter/j/898d66/32.png) [@Jacqueline.Kroh](https://forum.lifbi.de/u/Jacqueline.Kroh)\
**Post date:** [19. November 2026 um 09:08 UTC](https://forum.lifbi.de/t/dataeditiongaps-in-biography/5661/1 "2026-11-19T09:08:53Z")

</div>

Dear collegues,

I am currently working with the NEPS Sc4 data. I am interested in repondents actual time spend in general and vocational eduation. While working with the biographical data, I noticed that for about 710 individuals, a data edition gap with a start and end date is recorded at the beginning of their biography. These time periods align very well with the time periods spent in general education schools, and I wondered what the context was for generating these gaps and whether there is a discernible pattern that would allow me to fill them in with school information. What irritates me is that a start and an enddate is available for these spells. Could you help me with information or an idea how to proceed with these cases?

---

<div class="post-metadata">

**Author:** ![dietmar.angerer](https://forum.lifbi.de/user_avatar/forum.lifbi.de/dietmar.angerer/32/93_2.png) [@dietmar.angerer](https://forum.lifbi.de/u/dietmar.angerer)\
**Post date:** [20. November 2026 um 16:47 UTC](https://forum.lifbi.de/t/dataeditiongaps-in-biography/5661/2 "2026-11-20T16:47:11Z")

</div>

Dear Jacqueline,

after some digging I found something in the SUF data preparation code. We have been asked by collegues from Berlin to implement those gaps…

Artificial gaps where implemented when targets did not report retrospective information. They decided these „episodes“ should start at their eight birthday.

I could try to find the email/ticket/excel-Sheet why they decided on the eight birthday - it could take some… emm very long to dig that one out.

This code shows the basic principle because the real code makes little sense in this realm

```Stata
use "SC4_pTargetCATI_D_16-0-0.dta", clear
keep ID_t wave t70000m t70000y

generate gebdate = ym(t70000y,t70000m)
format %tm gebdate

bysort ID_t gebdate: generate same = _N

bysort ID_t : egen geb_min = min(gebdate)

keep ID_t geb_min
 
 duplicates drop
 isid ID_t
tempfile geb_min
save "`geb_min'", replace

use ID_t start* end* sptype using "SC4_Biography_D_16-0-0.dta", clear

foreach start_end in start end {
	gen `start_end' = ym(`start_end'y,`start_end'm)
	drop if missing(`start_end')
	format %tm `start_end'
	bysort ID_t (`start_end'): gen `start_end'_nr = _n
}
generate first_is_editgap = (start_nr == 1 & end_nr == 1 & sptype == 99)
keep ID_t start end first_is_editgap start_nr end_nr sptype

merge m:1 ID_t using "`geb_min'", keep(match) nogenerate

generate diff_gebmin_first = (start - geb_min)/12

fre diff_gebmin_first if first_is_editgap

```

I hope this answer is somehow sufficient for your needs.

Best,  
Dietmar

---

<div class="post-metadata">

**Author:** ![Jacqueline.Kroh](https://forum.lifbi.de/letter_avatar_proxy/v4/letter/j/898d66/32.png) [@Jacqueline.Kroh](https://forum.lifbi.de/u/Jacqueline.Kroh)\
**Post date:** [24. November 2026 um 09:55 UTC](https://forum.lifbi.de/t/dataeditiongaps-in-biography/5661/3 "2026-11-24T09:55:11Z")

</div>

Dear Dietmar,

thank you a lot for the effort to find this out 🙂 It is very helpul as it explains how these spells are working 🙂 . Is there any documentation on that ?

Best,

Jacqueline

---

<div class="post-metadata">

**Author:** ![dietmar.angerer](https://forum.lifbi.de/user_avatar/forum.lifbi.de/dietmar.angerer/32/93_2.png) [@dietmar.angerer](https://forum.lifbi.de/u/dietmar.angerer)\
**Post date:** [25. November 2026 um 12:14 UTC](https://forum.lifbi.de/t/dataeditiongaps-in-biography/5661/4 "2026-11-25T12:14:44Z")

</div>

Hi again,

it is not documented anywhere, unfortunately… As there will be no data manual released in the near future, I will provide this information in the upcoming Release of SC4.

Best,  
Dietmar.
