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
Bootstrapped SE with Two-Sample IV: "insufficient observations to compute bootstrap standard errors"I am not sure if this is kosher but I am trying to calculate bootstrapped standard errors for a two-…
Wilcoxon rank sum test for more than 3 groups?So Stata is not letting me do a rank sum test for more than 3 groups with the command: ranksum score…
Esttab - Compress labelsHi everyone, Is there a way to compress labels in esttab command? If two variables from two regress…
Replace missing values from a different rowI have data that are in long format where one ID has four rows of data. Only one row has information…
Code for Marginsplot Interaction Terms - Error/questionsHi all, I am trying to determine whether the effect of income (continuous var) on cash usage depend…
Subscribe to:
Post Comments (Atom)
0 Response to Using a td() Function with a min() Function with Local Macro
Post a Comment