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
Assistance with dow commandHello, I am working with a dataset from 2016 and would like to identify the day of the week from the…
Problem to replicate anova with mvreg Dear Stata listers I'm a little confused. I want to calculate a manova with imputed data (mi e…
Looping over observationHi, I want to run one-sample test of proportion using following data and save p-val for each obs. pr…
gsem fail to converge with cov optionHello everyone, I try to estimate a generalized structural equation model. I have multilevel data (…
log transformationAs i am not a statistician i have a naive question. i have 50 dependent variables that i want to reg…
Subscribe to:
Post Comments (Atom)
0 Response to Using a td() Function with a min() Function with Local Macro
Post a Comment