Code:
if p_value < alpha /// { di "Reject null" } else { di "Do not reject null" }
Array
Is there a way to get Stata to run this "quietly" so that the only output on the screen is either "Reject null" or "Do not reject null"?
Specialized on Data processing, Data management Implementation plan, Data Collection tools - electronic and paper base, Data cleaning specifications, Data extraction, Data transformation, Data load, Analytical Datasets, and Data analysis. BJ Data Tech Solutions teaches on design and developing Electronic Data Collection Tools using CSPro, and STATA commands for data manipulation. Setting up Data Management systems using modern data technologies such as Relational Databases, C#, PHP and Android.
if p_value < alpha /// { di "Reject null" } else { di "Do not reject null" }
0 Response to Print conditional statement
Post a Comment