Em 11 de dezembro de 2016, Sven escreveu:

Am 11.12.2016 um 23:00 schrieb George Matysiak:
My undated Full range is 1-63. I have one series with 20 observations
and another series with 15 observations, the first with (63-20) = 43
missing observations and the second with (63-15)= 48 missing
obseravations. There is no overlap in their respective observation
number. What would be best way to combine both series into one series
with 35 observations? Thanks.

If I understand correctly, the ordering doesn't matter (undated). And there is no overlap, so strict complementarity, so to speak.
Then what about:

smpl x --no-missing
series temp = x
smpl y --no-missing --replace
temp = y
smpl --full
series result = temp

(untested, and perhaps some typos included)

Dear George,

Here's a code that can do what you want:

<code>
# Creating your series
nulldata 63
smpl ; -43
series x = 1111
smpl full
smpl +48
series y = 2222
smpl full

# Applying Sven's suggestion
smpl x --no-missing
series z = x
smpl y --no-missing --replace
series z = y
smpl z --no-missing --replace
print z --byobs

# Applying Jack's suggestion
series z = ok(x) ? x : y
smpl z --no-missing
print z --byobs
</code>

Best,
Henrique Andrade