The name is absent



Stata Technical Bulletin

Options

start (date-literal) is required and specifies the starting date for the first observation in the dataset. dateJiteral takes forms
such as 1964, 1999ml, 1960ql, 12janl985, and so on, depending on whether the data is monthly, quarterly, daily, and
so on; see [U] 27 Commands for dealing with dates for more on how to specify dates.

sequenceVaanamee) specifies that verneme contains an integer variable that specifies the sequence of the observations. This
allows gaps to be specified for the time variable. If the values of
varname are not sequential, the resulting time variable
will have gaps.

Note that the start date specified in start () is taken to be the date of the value of the sequence () variable in the first
observation. If that value is missing, then the date from start() is associated with a value of 1 for the sequence() variable.

Description

tsmktim creates a Stata time variable, newtimeear, with an appropriate format for yearly, twice yearly, quarterly, monthly,
weekly or daily data, and executes tsset to use that variable as the time specifier. Note that the data must be ordered by time
before issuing tsmktim.

If the sequence() option is not specified, the data are assumed to have no gaps and are sequential in the periodicity of
dateJiteral, that is, one quarter after another, or one month after another, with no gaps.

Examples

Assume the following data:

X

44

21

15

77

Then

. tsmktim mytime, start(1977q2)

will produce

x mytime

44   1977q2

21   1977q3

15   1977q4

77 197Sql

while

. tsmktim mytime, start(29decl948)

will produce

x      mytime
44 29decl94S

21 30decl94S
iε 31decl948
77 01janl949

and

. tsmktim mytime, start(29decl948) sequence (myseq)



More intriguing information

1. The Effects of Attendance on Academic Performance: Panel Data Evidence for Introductory Microeconomics
2. Improving behaviour classification consistency: a technique from biological taxonomy
3. El impacto espacial de las economías de aglomeración y su efecto sobre la estructura urbana.El caso de la industria en Barcelona, 1986-1996
4. The name is absent
5. fMRI Investigation of Cortical and Subcortical Networks in the Learning of Abstract and Effector-Specific Representations of Motor Sequences
6. The name is absent
7. Strategic Investment and Market Integration
8. The name is absent
9. A Consistent Nonparametric Test for Causality in Quantile
10. The Impact of Minimum Wages on Wage Inequality and Employment in the Formal and Informal Sector in Costa Rica
11. Modelling the Effects of Public Support to Small Firms in the UK - Paradise Gained?
12. Cultural Neuroeconomics of Intertemporal Choice
13. The name is absent
14. The name is absent
15. The name is absent
16. Integration, Regional Specialization and Growth Differentials in EU Acceding Countries: Evidence from Hungary
17. The name is absent
18. A NEW PERSPECTIVE ON UNDERINVESTMENT IN AGRICULTURAL R&D
19. Wirkung einer Feiertagsbereinigung des Länderfinanzausgleichs: eine empirische Analyse des deutschen Finanzausgleichs
20. ‘I’m so much more myself now, coming back to work’ - working class mothers, paid work and childcare.