Thanks for the reply. The punctuation syntax suggestion worked. Off to
muddle through the next transformation.
Scott
On 14 February 2010 09:00, Scott Graham <[email protected]> wrote:
> Hello:
>
> I am using Stata 9.2 Intercooled. I am trying to use the DIGDIS ado from
> http://ideas.repec.org/c/boc/bocode/s456853.html.
>
> The data set has the following variables:
>
> licenceid (Licence number of a fisherman)
> totalkgs (the weight of the fish landed by the fisherman)
>
> I am trying to get the Benford distribution of the first digits of the
> variable totalkgs, and have that result saved into a new variable.
>
> The way that I am structuring the syntax is:
>
> digdis totalkgs, by(licenceid), generate(b1)
>
>
> My understanding is that I have to specify one "newvar" for each input
> variable. I am new to Stata and I am not sure i have the syntax correct.
>
> Any thoughts? Thanks,
>
> Scott
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/