I have a stata program that displays a twoway bar graph and I want to add a t-test to the program, but the t-test has to be optional. I am a bit confused because I was under the impression that the program syntax applied to the command that was being used, in this case -twoway bar-. Can you put the t-test into the program syntax with [] to specify that the t-test is optional or is there some other argument farther into the code that I need to use to specify that the t-test is optional?
Related Posts with Add Optional t-test to Stata Program
Plotting adjusted means as a bar graphHi, I am trying to plot the adjusted means (in the form of a bar graph as both predictors are categ…
xtreg how to see estimated coefficient for each obserevationDear Stata users, I'm using xtreg and need to generate a variable to give the estimated coefficient …
reshape help - error 101 variable already definedHi, I am trying to reshape this data, so that I have Country and Year both as a Columns. I imported …
predict after xtlogit with fixed effectI am running a two-stage regression to account for the endogeneity issue. In the first stage I use x…
Rename help: can I reapply existing variable names with a suffix?I've been given some wide panel data where the names of the first 28 variables were simply repeated …
Subscribe to:
Post Comments (Atom)
0 Response to Add Optional t-test to Stata Program
Post a Comment