Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Quarterly data

    Hi,

    I'm writing my thesis about the effect of oil price changes on real growth of GDP for Norway.
    Because GDP is given quarterly, all the data is given as quarterly.

    Now I want to import my excel data to state.

    I know I've to insert one or more commands so that STATA will recognize the quarterly data.

    Can anyone help me out which command(s) to use?

    I've attached my excel file with the data.

    Tom
    Attached Files

  • #2
    Tom:
    attaching spradsheets is often a one-way ticket for the "no reply" land.
    Most of us avoid downloading spreadsheets due the risk of malicious active contents.
    Please, follow the FAQ about how to post an excerpt/example of your dataset via -dataex-. Thanks.
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment


    • #3
      My apologies Carlo.

      Didn't read the FAQ due to the little time I have before the deadline.

      However, thanks for your response.

      Tom

      Comment


      • #4
        Tom:
        a more substantive advice would point you out to -datetime- entry in Stata .pdf manual.
        Kind regards,
        Carlo
        (Stata 19.0)

        Comment


        • #5
          Hi Tom,
          I think you should declare the format of your variable, for instance, gdp,as a quarterly variable, then use the following command in order to declare your quarterly time-series data.
          Code:
          tsset gdp, quarterly

          Comment

          Working...
          X