I am attempting to display the minimum value of a local macro in a tm() format:
A. local VLM 720 725 726 727 729 730 731 732
display tm(min((`VLM'))
It returned an error - r(198)
I also tried the following:
B. local VLM 720 725 726 727 729 730 731 732
display format %tm_Mon_CCYY (min((`VLM'))
Also displays error r(198)
C. local VLM 720 725 726 727 729 730 731 732
display date("min((`VLM')","DMY")
This displayed .
D. local VLM 720 725 726 727 729 730 731 732
display (min((`VLM'))
This displays 720
Option D gives me hope but I can't seem to get past that level. Please help.
Related Posts with Using a td() Function with a min() Function with Local Macro
Regression with WeightDear STATA users, I am trying to replicate a paper. The authors investigate the relationship betwee…
Create another observation type as an average of other observationsHi All, I am having trouble creating another observation under one variable which will be an averag…
Does the drive Stata is installed on matter?Hi all, I'm trying to optimise my simulation study and was wondering if the location of the Stata in…
Display Median for Paired t testHello folks I have a data set with several observations at different times for companies. However, …
graph like this?Dear All, I was asked how to draw a graph like this. Array Unfortunately, no data is available at …
Subscribe to:
Post Comments (Atom)
0 Response to Using a td() Function with a min() Function with Local Macro
Post a Comment