Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: uniform distribution


From   "PAPANIKOLAOU P." <[email protected]>
To   <[email protected]>
Subject   st: uniform distribution
Date   Fri, 8 Nov 2013 18:09:47 -0000

Dear All,
Would you please be kind enough to provide me your feedback on the
following I would be most grateful.
I am a fairly new user to STATA. I have got to check whether each of
these two variables (column  2: MS_COHO; column 3: UK_MS) follow the
uniform distribution.
For each for them, I used the following code, properly adjusted:

egen n = count (mpg)  // use MS_COHO and UK_MS each time ... drop n i
surprisingly, the results were identical in both attempts, though the
script was applied to two different variables. 
MONTH  MS_COHO     UK_MS
Apri        396      62986 |
Aug        330      67503 |
Dec        342      65218 |
Feb        348   59491.83 |
Jan        379   65502.33 |
Jul        377    68214.5 |
Jun        368   65511.33 |
Mar        419   65112.17 |
May        423   66152.34 |
Nov        328   65107.67 |
Oct        347   68344.16 |
Sep        356   67597.34
Thank you so much
Panos


*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index