[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Translating an R expression (diff <- pchisq(d, p) - (0.5:n)/n) into Stata code
From |
"Ben Dwamena" <[email protected]> |
To |
<[email protected]> |
Subject |
st: Translating an R expression (diff <- pchisq(d, p) - (0.5:n)/n) into Stata code |
Date |
Sat, 30 May 2009 02:28:44 -0400 |
Dear Listers with R experience,
What is an equivalent Stata code for the following R expression:
diff <- pchisq(d, p) - (0.5:n)/n
where x is dataset (n x p)
n is number of rows of x
p is number of columns of x
Thanks,
Ben
**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues
*
* 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/