Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Nick Cox <njcoxstata@gmail.com> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: sthlp file not displaying correctly |

Date |
Fri, 9 Nov 2012 14:44:39 +0000 |

. ssc inst charlist for one tool that may help if hidden characters are the problem. On 9 Nov 2012, at 14:24, Sunil Kumar <stuff.sunil@googlemail.com> wrote:

Thank you Daniel and Nick. But the problem still continues (I've tried with cmd in place of cmdab). If there are any tips on detecting/getting rid of hidden characters then I'd be grateful. I have tried writing the sthlp file with Textedit (A Notepad-like program on mac) as well as with the Stata do-file editor, but the same problem results. On Thu, Nov 8, 2012 at 5:34 PM, Nick Cox <njcoxstata@gmail.com> wrote:I can't reproduce this, although I am not on Mac. I suspect hiddencharacters.A secondary point is that you invoke {cmdab:} but don't indicate allowed abbreviation. NickOn Thu, Nov 8, 2012 at 5:22 PM, Sunil Kumar <stuff.sunil@googlemail.com> wrote:Hello all,I am trying to write an sthlp file for an ado command. But, itdoesn'tseem to display correctly. I'm using Stata 12.1 for Mac. In the sthlp file, I have the following text: {phang}{cmdab:gamma}{cmd:(}{it:numlist}{cmd:)} is required, and specifiesthevalues of Gamma at which Rosenbaum's sensitivity bounds are to becalculated. {it: numlist} must contain 1, the level of Gamma atwhichallocation to treatment is assumed to be independent ofunobservables.{p_end}But, when I access the file through Stata (typing -helpmycommand-) itappears as gamma(numlist) is required, and specifies the values of Gamma at which Rosenbaum's sensitivity bounds are to be calculated. numlistmust contain 1, the level of Gamma at which allocation totreatment isassumed to b ndent of unobservables. The offending bit is towards the end: "assumed to be independent ofunobservables" displays as "assumed to b ndent of unobservables".Thispattern continues even if I substitute other text in between, assomeor other part always manages to disappear. What am I doing wrong here?* * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/* * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**References**:**st: sthlp file not displaying correctly***From:*Sunil Kumar <stuff.sunil@googlemail.com>

**Re: st: sthlp file not displaying correctly***From:*Nick Cox <njcoxstata@gmail.com>

**st: sthlp file not displaying correctly***From:*Sunil Kumar <stuff.sunil@googlemail.com>

- Prev by Date:
**st: sthlp file not displaying correctly** - Next by Date:
**st: Job -BRC Statistician (Psychometrician)** - Previous by thread:
**st: sthlp file not displaying correctly** - Next by thread:
**Re: st: sthlp file not displaying correctly** - Index(es):