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: R: re. Information - Bonferroni correction


From   "Carlo Lazzaro" <[email protected]>
To   <[email protected]>
Subject   st: R: re. Information - Bonferroni correction
Date   Sat, 30 Nov 2013 11:26:20 +0100

Dear Panos,
the following trivial code (Stata 12.1/SE) offers an example of one-way
ANOVA with Bonferroni correction for multiple comparisons:
-------------------------code
begins------------------------------------------------
set obs 400
g A=runiform() in 1/100
replace A=2+runiform() in 101/200
replace A=3+runiform() in 201/300
replace A=4+runiform() in 301/400
g Group=1  in 1/100
replace Group=2  in 101/200
replace Group=3  in 201/300
replace Group=4  in 301/400
oneway A Group, bonferroni
-------------------------- code ends
----------------------------------------------------------
Kind Regards,
Carlo
-----Messaggio originale-----
Da: [email protected]
[mailto:[email protected]] Per conto di PAPANIKOLAOU P.
Inviato: venerdì 29 novembre 2013 09:29
A: [email protected]
Oggetto: st: re. Information - Bonferroni correction

Dear All,
I understand that you need to apply bonferroni correction under certain
circumstances. I have got a nice dataset of cohort information (A, B; C, D /
where the letter refer to the collumns of the standard 2x2 tables in medical
statistics. What is the easiest and least painful way, through stata, to get
bonefrroni corrections, please?
many thanks
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/


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