-ksmirnov- expects the data to be in "long" format rather than "wide" format. You can easily get from one to the other with the -reshape- command, e.g.
gen id=_n
reshape long v, i(id) j(group)
ksmirnov v, by(group)
Hope this helps
David
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: 29 April 2005 01:30
To: [email protected]
Subject: st: help with ksmirnov
I'm a graduate student working on my thesis and am having trouble
with syntax. I would like to use ksmirnov to compare variable
called "v2" (my data) with variable called "v1" (national data).
Both groups are made up of ages. Any suggestions? Thank you.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/