*! version 1.0 23May2018

Title

makepanel -- From a longitudinal data set, construct a
two-period panel composed of, for each cross-section observation, an "Earlier"
and "Later" observation separated by at least K years, where K is the minimum
numbers of periods between the two observations.

Syntax

makepanel
newvarlist
using filename
,
saving(filename)
[
yrsprior(yrs)
clear
replace
sy(string)
file_w(string)
]

Options

Required "option"
saving(filename) Filename to which data will be saved.
This is the only required option

Other options
yrsprior(yrs) Specify the minimum number of years prior to the
most recent year for which an "Earlier" year observation can be extracted.

clear Clear memory of all data at the beginning off exectuion.

replace New saved data set may replace another of the same near.

sy(newvarname) makepanel expects the data to contain a variable
name -sy- and containingg the survey year of an observation.
If that variable has a different name, use this option to convey that name
to makepanel.

by is NOT allowed; see [D] by.

Description

Under constructiion...

Example

Setup

. webuse fullauto

Authors

Mead Over added additional
functionality and improved the help file in May, 2016. If you observe any
problems, contact him at:
Email: MOver@CGDev.org.

{