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
Multilevel ModelsHi; I am runing runing linear model with four levels. I have not been able to find out what the mean…
posterior means for crossed random effects from logistic random intercept modeldear statalist members, I am trying to estimate the posterior means of two crossed random effects f…
Highly Left Skewed variableHello, I wanted to run a panel logistic regression with dependent variable Y (0, 1) and an explanat…
How to test nonlinearity between hazard ratio and an Xvar after Cox regression with restricted cubic spline?Dear Statalist members, Recently I did a Cox regression with restricted cubic spline (mvrs) in orde…
add different suffixes to 1500+ variable names using foreachDear all, I have been trying to add different suffixes (numbers) to a set of variables named v1, v2…
Subscribe to:
Post Comments (Atom)
0 Response to Probably beginner question: How to format monthly dates
Post a Comment