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
Probit Interaction Marginal EffectsI would like to test if the "gap" in a discrete variable,Y, changes between two groups from year to …
Calculate mean when values are missingI need to create a variable that is the mean of the observations from three other variables. I did t…
forbidden regression (quadratic regression)Dear All, Suppose that I regress y on x and x^2, along with other covariates. In addition, x is endo…
Error in -merge- commandHi, I have to merge about 40 datasets using a key ID. The "hhid" variable present in all datasets, b…
How to use esttab with psmatch2?Hi everyone, I am using propensity score matching for my research. I wanted to use esttab to create…
Subscribe to:
Post Comments (Atom)
0 Response to Using a td() Function with a min() Function with Local Macro
Post a Comment