Forum Replies Created
-
AuthorPosts
-
in reply to: bysort and if don’t get along #17646
Hi Dr. Shah — this is true for me too, but when using list and tabdisp. Any help would be appreciated!
– Kevin
EDIT: Fixed! I was separating the
addparts, notes
andaddparts, title
into two commands. Putting both under the sameflexmat addparts
command fixed it.in reply to: Indent in Specific Cells Using Flexmat? #17632Ah — that makes sense! Thanks for letting me know. 🙂
in reply to: Indent in Specific Cells Using Flexmat? #17630Hi Dr. Shah — I’m finding that the text directors are inconsistent in flexmat. Sometimes they work, other times they don’t. For example, in the code below, using
\b
and\i
,\b
works in Line 5, but nowhere else. And\i
doesn’t work at all. Any ideas?local r = 1 asdocx setfile, save(Table1) flexmat reset flexmat addrow, data(\b Day,\b Sample Size,\b Needed At Least 1 Medication) r(`r') flexmat addrow, data(\b Day 1, , ) r(`++r') emptyok flexmat addrow, data(\indent_4 \i WEBTips, 250 (50%),137 (54.8%)) r(`++r') flexmat addrow, data(\indent_4 \i WEBInfo, 250 (50%),154 (61.6%)) r(`++r')
Perfect. Thank you!
Hi there — this is from the help file:
missings report
issues a report on the number of missing values in varlist. By default, counts of missings are given by variables; optionally, counts are given by observations. Options: ... ... observations (missings report) indicates counting of missing values by observations, not the default of counting by variables. ... ... identify(varlist) or identify(varname) (missings report, missings list, and missings table) insists on showing varlist or varname in the display of results. This can be especially useful to show (for example) identifier variables, which typically will not be missing, or key categorical variables such as education or gender. With missings report, observations and missings list, varlist is included in the list results. With missings table, varname is used to produce a two-way table in contrast to a one-way table; two or more variables may not be specified.So, the code I’ve used is:
missings report [variable of interest], obs identify(studyid)
Seems to work well without the
asdocx
prefix.Hi Dr. Shah — I had the opportunity to try out the
asdocx missings report
command, and I got an error regarding one of themissings report
options:identify()
. The error reads: “option identify() not allowed”. I know that not all subcommands ofmissings
are featured, but does that also incluse certainmissings report
options?Unbelievably responsive — thank you!
in reply to: Indent in Specific Cells Using Flexmat? #17544Fantastic. I thought something like this existed, but couldn’t find it. Makes sense to find out it is undocumented!
– Kevin
Thank you! So great.
You are awesome. Thanks!
That’s good news! I think keeping things simple (i.e. not re-writing things from scratch) is the way to go. Perhaps this thread can serve as the “running list”?
If that works for you, here’s my first contribution (and again, not time sensitive! Simply a “nice to have”):
fre
mrtab
tabcount
missings
statmis
Dr. Shah — THANK YOU! And the acknowledgement is so kind. Really though, you deserve all the credit with this great program!
I think I found a bug:
The
addparts, title()
function used in previousflexmat
commands/files doesn’t seem to carry over to appended tables when using the `appendmat’ function. The table title is replaced with “Table: Results”The changes to the help file makes a huge difference. Tested and works GREAT! Seriously, thank you.
-
AuthorPosts