Hi there,
I am new to Stata and I started last week as a total newbie.
What I want to do is to check the connection of the exchange rate to the demand of hotel bookings of foreigners. I have the data from hotel nights and the exchange rate on a monthly basis (end of month). However, Stata does not seem to understand the dates that I imported from Excel (formatted there as dates).
I tried to change the properties of the variable that I called "month" but it seems not to work (type is "int" and format is set to: "%tmCCYY-NN".
It looks like this:
month
3332-04
3334-08
3337-03
3342-04
I read in the help section and searched on youtube but did not find a solution. I guess it is probably easy to solve this but currently I am lost.
What can I do?
Any help very much appreciated...
Michael
Related Posts with Probably beginner question: How to format monthly dates
how to graph t test results with mean, confidence interval, and significance levelI saw a nice graph in a paper, do we have user-written command to graph t test results with mean, co…
Bar Chart categorical variables. BeginnerHi everyone! I'm Stata beginner, don't know all the features. I do need help with research task. My…
byable problemI have a program pf that folks at Stata help me write to compute variations on probit and I just tri…
How to interpret xtsktest results of panel dataHow to interpret xtsktest results of panel data and is it okay to run without OLS and Random Effect …
changing string to floatHi all, greetings! I have a variable named "pcgdp" stored as string. Observations are numeric values…
Subscribe to:
Post Comments (Atom)
0 Response to Probably beginner question: How to format monthly dates
Post a Comment