Contact Us

Welcome to the Real Statistics Using Excel website. As described on the Home page, this website provides the resources (tutorials and statistics software) necessary to perform statistical analysis in the Excel environment.

In order to make this website more valuable to the user community, we welcome your comments, suggestions and feedback. We would especially like to hear about any errors in the website, examples or software.  You can contact me as described below or by leaving a comment below or on any of the webpages.

Charles Zaiontz

My email:,
My profile: click here 

264 Responses to Contact Us

  1. Jude says:

    Goodmorning Prof,
    Am Jude,i want to do my thesis on generalized approach to the Analysis of Variance.Please sir,can you direct me on how to commence going about it?Thanks

  2. Lu says:

    Would you please help me figure out the appropriate test. I have results from satisfaction surveys for 2 different companies. 40 surveys per company. I want to find out if the satisfaction is the same or different. Would I run a two sample t test with equal variances? Thanks for any guidance you can give me.

    • Charles says:

      You can run a two sample t test. If the variances of the two samples are relatively similar you can use the equal variances version of the test; otherwise you should use the unequal variances version of the test. You should also make sure that the assumptions for the t test are met; otherwise you might use a nonparametric test such as Mann-Whitney. See t Test for details.

  3. Amy says:

    Dr. Zaiontz,

    Thank you. Your website is wonderful, as well as the Excel add-in. I believe I have correctly run a logistic regression on my relatively small data set (n ~140). One input, one output, pretest ~ course success (pass/fail).

    My question is: Can you recommend how I can find someone to double check my interpretation of the output? I did read your website and posted a question and if I interpreted your data set correctly, then I think I am doing my interpretation correct.

    Are there statisticians who will check my work affordably?

    • Charles says:

      I don-t have anyone to recommend. Perhaps someone reading your comment will have someone to recommend.
      In the meantime, I will respond to your other comment shortly.

  4. Mareike says:

    I would like to use the program, but I have the 64 bit version. Is there a way to use the program anyway?

  5. James says:

    Dear Dr. Zaiontz,

    I just wanted to say thank you for sharing so much of your knowledge on your website. I am a math/stat major, and I have repeatedly returned to your website to get fuller, more intuitive explanations of the concepts in my stat textbooks, which usually throw formula’s at you without much explanation of their derivation.

    A thousand thanks, Dr. Zaiontz!

    Best regards,

  6. Nura Idris Abdullahi says:

    Dear Charles,
    I am carrying out a research and want to analyse the effect of some meteorological parameters (temperature, relative humidity, evaporation, wind speed..) on river flow.
    Can you kindly assist me and suggest the best statistical method for such an analysis.

    Thank you

  7. Dan B says:

    Hi again Charles,

    Speaking of eVECTORS: the output of this array fn is a range of values, the first one being the eigenvalue and the rest being the coordinates of the (unit) eigenvector. Each time I use this function, I notice that the eigenvectors are listed in descending order with respect to the value of their corresponding eigenvalues. Is that a built-in feature of eVECTORS, such that I can trust that the output always will be organised that way (ie the highest eigenvalue first)? If so, that would simplify my calculations considerably.

    • Charles says:

      Hi Dan,

      The third parameter of the eVECTORS function describes the order in which the eigenvalues are listed.

      If order is TRUE or omitted then the eigenvalues are listed in order from highest in absolute value to smallest. If order is FALSE then they are listed in order from highest to lowest.


    • Catherine B says:

      Hi Charles;

      I’m getting an error message in trying to send you an email through your published addresses. I’m in need of guidance. I’m hoping you can help. I have a sample of passengers boarding a vehicle and how far they traveled. The samples were collected every 6th day for a year. I need to be able to prove (disprove) that these samples meet a minimum of 95% confidence; and minimum precision level of +/- 10%. How would I go about proving this.? There are so many tests, I get confused with them. Thank you for your help!

      • Charles says:

        I am sorry, but I am sure what you mean by “samples meet a minimum of 95% confidence” or have a “minimum precision level of +/- 10%”.
        Perhaps you mean that the population mean is the calculated sample mean with 95% confidence (?)

  8. Luis A. Afonso says:

    Bringing to light towards dismantling it, and it is our duty to do so…

    Douglas H. Johnson
    The Insignificance of Statistical Significance Testing (1999)

    1. Are Null Hypothesis Really True?

    “Most null hypotheses tested, however, state that some parameter equals zero, or some set of parameters are all equal. These hypotheses, called point null hypotheses, are almost invariably known to be false before any data are collected (Berkson 1938, Savage 1957, Johnson 1995)” [citation ended]

    My comment
    The parameter could very well be equal to zero and almost every time the observed value issued from data is different from zero: it is randomness acting. The A. is wrong, in fact we are completely unable by observation/experiment to state the true value of a parameter whatever. Using calculated Confidence Intervals for increasing sample sizes we obtain, progressively narrow intervals till a sufficiently low imprecision for practical intent is reached, in case of data homogeneity, and the test is strictly exact. On contrary with approximate test statistics it could very well happen that this final interval does not contain the true parameter value

    Note: I do not care at all though the Null is true or untrue. My intent is to choose judiciously between it and the alternative. From the test value I can discard H0 with sufficient confidence or alternatively fail to do so when p-value is larger than alpha, a value I chose to wrongly reject a really true parameter value.

    Luis A. Afonso

  9. Dan B says:

    Hi Charles,

    Thank you for these excel-lent (pun half-intended) stats tools. They work fine for me under MacOS 10 Yosemite apart from one major snag: execution of the functions take a very long time! Like half a minute or so. I seem to remember having similar problems with my own VBA macros in Excel until I put these code lines in at the start of every function:

    Application.EnableEvents = False
    Application.Calculation = xlCalculationManual

    and then ending with reversing them:

    Application.Calculation = xlCalculationAutomatic
    Application.EnableEvents = True

    Is there any way I can make the execution work faster without putting these lines into all the macros of RealStats? I guess there is something with the prefs of my Excel that brings this problem about, and that others don’t experience it. I would be very grateful for your comments. (btw, the RealStats VBA code i password-protected – do you distribute the password?

    • Charles says:

      Dan B,
      You won’t be able to make these changes yourself. I don’t distribute the password.
      MY experience in the past was that the execution was relatively fast. Which function was this slow?

      • Dan B says:

        Hi Charles,

        Thanks for the prompt reply. Since I posted my question, I have experimented with Excel preferences, and it works like this: if “Calculation” prefs are set to “Automatic”, then execution of the RealStats function “EVECTORS()” takes like 30 s. However, if I change the Excel Calculation prefs to “Manual”, I have to prompt the execution of all calculations using “Calc Now” or “Calc Sheet”, but the actual calculation is quite fast. I don’t know why this happens specifically to me (and presumably not others, since I imagine that most people have their prefs set to automatic calculation).

        • Charles says:

          Strange indeed. Since eVECTORS uses an iterative technique it could take some time to calculate for a large matrix, but in my experience to date, it is still pretty fast.

          • Dan B says:

            I don’t think it is specific to evectors, or even to RealStats. As I said, my own VBA macros behaved the same way, but there I could remedy it by putting in the code lines I mentioned earlier. So it’s probably not really a RealStats issue. I rather hoped you would know the solution. I guess I will have to search for the answer somewhere else or make do with manual calc.

  10. Mel Hayman says:

    Good morning Charles,
    I am hoping that you might be able to help me out. I have a mac and successfully manged to download the add-in and get it to run. However, when I try to run my analysis, irrespective of whether it is a t-test of a repeated-measures ANOVA, I keep getting the same error message appear “compile error in hidden module: Analysis”. I have checked all of the fields and believe I have entered and selected everything correctly, but can not seem to get rid of this error. Any assistance would be very much appreciated!

  11. rowena nakamura says:

    Informative article

    • Luis A. Afonso says:

      I do not care, at all, if the Null Hypothesis is true or not: the NHST
      measures in what measure H0 is unlike. If so p<alpha we reject it.
      if not we fail to reject. Never say that you accept H0. In effect, we are
      completely unable to state such a thing.

  12. Luis A. Afonso says:

    Gliner, Leech, Morgan [1] says as the major problem with NHST:

    “ Kirk (1996) [2] went on to explain that was a trivial exercise because the Null Hypothesis is always false, and reject it is merely a matter of having enough power ”.

    Our comment
    The stated null hypothesis concerning a parameter, H0: p=p0 against Ha: p=p1 where p0 and p1 are real numbers, , even that the p0 exact value be practically impossible to be attained: I let out a laud laugh. When the real matter is to reject or fail to reject the null, I do not care at all this imprecision because with sufficient power (sample size) it always possible, given , to decide between the two hypothesis, so performing a rational choice. In fact the Confidence Interval (CI) once found is decisive: the test statistics inside, fail to reject H0, outside reject it. We know that a Type I error can occur, i.e. H0 is true, however we reject, or Type II, we fail to reject when H0 is untrue.


    [1] – Problems With Null Hypothesis Significance Testing (NHST): What Do the Textbooks Say? Jeffrey A. Gliner, Nancy L. Leech, George A. Morgan. The Journal of Experimental Education, 2002, 7(1), 83-92.
    [2] – Practical significance: A concept whose time has come: Kirk R.E. Educational and Psychological Measurement. 56, 746-759.

  13. rahul hu says:

    if there is very large variable like 35 how to decide which variable is important
    which variable to include in model?

  14. Luis A. Afonso says:


    I am fully acquainted, you know, a set of people at war with NHST. However, items like the one I point out, borns the ridiculous.
    Such as [1]
    “ Because the proposed Null Hypothesis H0: p=p0, is practically impossible to be attained, therefore the Null Hypothesis is always false”. “If there is no expectation regarding the possible truth of Null Hypothesis its falsification by data is a redundant nonsense “. “If the probability of a point hypothesis is indeterminate, the empirical discovery that discovery that such a hypothesis is false is no discovery at all, and thus adds noting to what is already known”.

    No doubt a pearl of great price . . .

    The “author” makes confusion between“point estimation” and the practical impossibility to have certainty at the real probabilistic world.

    No matter . . . I guess that the fathers of NHST will be terrified to have found such argumentation.

    I am just starting not worry about . . .

    [1]- Null Hypothesis Significance Testing (On the Survival of a Flowed Method), Joachim Krueger (January 2001, American Psychologist, Vol. 56, No.16-26).


  15. Shiggy K. says:

    Thank you for helpful to our study, Charles.

    When I used QCRIT(x,y,z) in the tools, a compile error on lookup was occurred.
    On the Excel 2010 version 14.0.7166.5000 (old one of my PCs), it was no problem, but on the version 14.0.7166.5000 (the latest of my PCs, it’s used for my study), it caused a compatibility problem.
    How can I fix the error on latest Excel?
    Or, if you can, could you construct the compatible latest edition?

    Thank you for reading.

    • Charles says:

      The two Excel version numbers that you provided are identical.
      Which release of Real Statistics are you using?
      What are the values of x, y and z?

      • Shiggy K. says:

        Thank you for your reply, Charles
        Sorry, Excel version numbers are 14.0.7172.5000 and 14.7166.5000.
        I use Real Statistics that downloaded on Jun. 2016 for Excel version 14.0.7172.5000, and for Excel version 14.0.7166.5000, I use old one that downloaded on Nov. 2014.
        The values are x:6, y:12, z:0.05 for example, I can get the same error under the Real Statistics that downloaded on Jun. 2016 and Excel version 14.0.7172.5000.

        • Charles says:

          I don’t know why you are having this problem. I used the formula =QCRIT(6,12,0.05) in the latest release (Rel 4.9 of July 19) and get the answer 4.75. What do you see when you use the formula =VER()

          • Shiggy K. says:

            I try the old version add-in (3.2.2) that I used for past study to Excel version 14.0.7172.5000.
            In this case, I can get a correct value 4.75 by the formula =QCRIT(6,12,0.05).
            However, about the latest version (4.9), it seems to fail to read in Excel.
            So, for this time, I will use the version 3.2.2.
            Because this problem it may be proper problem due to the software constitution of my PC, I will ask to engineer of the our university about this problem.
            Thank you so much, Charles.

  16. Luis A. Afonso says:


    Would you so kind to send a comment, please?
    (This is only because some Psychologists as J. Cohen and similar fauna, does insist in swap NHST from literature, which, IMO, is too radical . . .)

    Thank you, so much


    A reasonable meaning of H0: p=p0

    a) In a real, probabilistic world, a no matter parameter when estimate through experimental/observational data, is by proper nature, errors caring, even the estimator is no biased,

    b) Remembering, if so, the aim is to get sufficient evidence to falsify the Null Hypothesis,

    c) Read, algebraically as an equation, H0: p=p0, leads directly to the absurd that there is no room for a difference even for a last decimal unit, and consequently the null hypothesis have not chance to be true.

    Because what is intended to find out a significant result, i.e., if p is sufficiently far from p0 that, given the observed data, we can state that the opposite complementary hypothesis, Ha: p p0 is true. In short, I think that H0: p=p0 must be understood as indicating an approximate equality, not statistically discernible, given the data. The same thing for two parameter values H0: p1=p2.

    • Charles says:

      A lot of people have criticized the null hypothesis approach to statistical analysis, and with good reason. Other approaches have been proposed and are used (e.g. Bayesian approach), but the null hypothesis approach is still the one that is most commonly used and so I have adopted this approach for the website.

  17. Chaminda says:


    I am analyzing wind speed data. I want to find weibull distribution of wind data. I have hourly averaged wind speed data for one year. I draw a graph for (Speed) vs ( Percentage of time). How can I find Alpha and Beta values of weibull distribution function. Thank You,

    • Charles says:

      If you know that the data follows a Weibull distribution, you can find the alpha and beta values that produces the minimum squared error (MSE) using Solver. This approach is illustrated in a number of places on the website. Using Solver for Logistic Regression, Using Solver for Exponential Regression and using Solver for Time Series Analysis.

  18. rahul gupta says:

    can we do knn in real stats software

  19. Michael Moore says:

    Hi, Charles.

    Thanks again for this great tool.

    Recently, when I open a new spreadsheet (also older files I’ve created using this Addin), the resource isn’t available because the macros have been disabled.

    Is this something I did or an update I’m missing? I never use to have this problem. Do you have a fix? Like I said, I have older files that make use of the resource in a template that I hope to automate.

    Thanks so much for your help.


    • Charles says:

      I am quite pleased that you like the tool.
      I don’t know any reason why the macros would be disabled (assuming that you didn’t disable them).
      If you have updated the Real Statistics software or moved the location of the software, then perhaps you need to tell an older file where to locate the add-in. You can do this exactly as described for the Real Statistics examples workbooks on the webpage:

  20. I liked the site for the clarity, rigor and explanation of the process.
    This is an excellent site for learning.

    I wish there were examples showing potential pitfalls of using an “apparently obvious” method and/or hints in each chapter indicating, “What to Watch For”.

  21. Georgios says:

    Dear Charles,
    I’d like to convey many thanks, once again, and many times more, if need be, for all your kind help.

    Unfortunately, following brief use of Real stats in Win 8.1, French, Excel 2007, Data section would no longer open, and would insted CRASH Excel….

    I can no longer install the add-in…. (be it 2003 or 2007 or some other one), in EITHER of the two files mentionned in other parts of this blog.

    Ἔῤῥωσθε! == keep well, in good health (take care, etc…)

  22. Ilya Tishchenko says:

    Mr. Zaiontz,
    I would appreciate in case you’ll find time to answer my question. I’m analyzing a big number of point-sets(I would call them attributes). Each of these attribute is in XYZ format. I’m doing it to measure the evaluation of the data therefore I want to analyse it through the flow where the data are changed. So I’m generating these attributes (XYZ, 90 attributes each time) for several stages during the changing of data.

    For each attribute I have statistics summarized with the following parameters: minimum, maximum, median, mean, standard deviation, skewnes, kurtosis. I would like to create a pdf function in excel based on these parameters as an input. So although I have the data points itself I don’t want to load them into excel (as it would be too many data) I want to use these extracted statistics to plot PDFs. Do you think it possible? Could you advise the workflow for this?

    • Charles says:

      Sorry, but I don’t know how you would be able to create a pdf based on the minimum, maximum, median, mean, standard deviation, skewness and kurtosis. This would give you the first four moments of the distribution, but not the moments after that. I would imagine you could make an estimate of a possible pdf, but I’m not sure how you would do that. Perhaps some other reader has an idea for how to do this.

  23. lisa says:

    HI Charles, loving your website by the way.
    I’m working on some time series data and using the TIme Series Testing tool; my question regards the output from the ADF test. The answer is most probably written somewhere, but I can’t find it…. under stationary (yes/no), aic, bic, there is a lags box. My data at diff 1 (with trend) comes back as stationary with lags 6, does this mean the data is stationary after 6 lags? I.e. Do I need to difference the original data 6 times before I can use it for other tests and comparisons?

    Thanks in advance, I think I’m having a dumb day!

  24. Alvin Tarrell says:

    Charles – great product that I use more and more – thanks so much for making and maintaining such a great product! I recently upgraded from Excel 2013 to Excel 2016, and now am having trouble making ‘Add-Ins’ appear on the ribbon. (Real Statistics is installed as an add-in and I can access it via Ctrl-m)

    It’s not a big deal (since I can always use Ctrl-m), but I was wondering if this is just an issue with Excel 2016 or if I am not doing something right.

    Thanks again,


    • Charles says:

      Sometimes the problem is the order in which the various addins need to be installed. I think the Analysis ToolPak needs to be installed first and then Solver and then Real Statistics. This may indeed be irrelevant to the problem you are having, but sometimes Excel is sensitive to these sorts of things.

  25. Ara says:

    I was looking for a non-parametric test equivalent to two-way ANOVA and thanks to your website I found how to conduct the Scheirer-Ray-Hare test.
    So first, thanks a lot!!!
    Second, I couldn’t find much information about this test, but I did find a comment saying it was not very robust… but which would be the alternatives, GLMs? I bet there are many cases out there where data with two factors do not follow normality, so I’m quite surprise not to find a clear pathway.
    And third, if this test is perfectly valid, could I use any post-hoc, to check where are the differences within factors (e.g. my two factors are location and month, and the interaction is significant so I want to see in which months that happens). Any suggestions?
    Thanks a lot in advance!

    • Ara says:

      Just an additional question I had doubts of… If we have missing data, I see it didn’t work leaving the cell blank, or with NA, it only works introducing “0”. Is it considering it as a value?
      Thanks again

    • Charles says:

      It is true that Scheirer-Ray-Hare test is not very robust. You can use the various post-hoc tests, provided their assumptions are met.

  26. Jane says:

    Hi, I just downloaded this Add-in today and I tried to use the one sample t-test (as described from your website). However, every time I enter the data range and the correct settings, I get this response when I click OK: “”A run time error has occurred. The analysis tool will be aborted. Unable to set the HorizontalAlignment property of the Range class””.

    What does this mean and how do I fix it so I can use the one sample t-test function?


    • Charles says:

      If you send me an Excel file with your data I will try to figure out what is going wrong. You can get my email address from the Contact Us webpage.

  27. SB says:

    Dear Sir,

    Currently I’m working on a schoolproject on forecasting the employee turnover of an organisation. To do this, I’m using a time series data of the employee turnover over the past 7 years. It is an annual data from 2009 to 2015. To make a good prediction it is also important to add some explanatory variable.

    I want to use multiple regression with ARMA errors. But i’m not sure how to use these error to do some prediction. Do I need to make a prediction of each of the explanatory variable on it’s own first. Then add this predicted value in the model to do the prediction of the employee turnover?
    Or will the model do alle the predictions of the dependent and independent variable and give me a predicted value of the dependent variable (turnover)?
    Or do you recommend using another model to do the forecasting with all the explanatory variable?

    I am really having a hard time putting all the variables in a model that gives me a good prediction. Also, the internal data has only a few observation, whereas the external data has more historical data? How can I combine these two data to do a multiple regression?

    Is it statistically correct to use only 7 observations to do some forecasting?

    Can u please help me out sir.

    Thanks very much in advance

    • Charles says:

      At present I only support time series for one variable. See Time Series Analysis.
      I will eventually add multivariate time series capabilities.
      Regarding your last question, you could make a forecast based on limited data; of course, the confidence interval of the prediction will be larger.

  28. blaise says:

    hi doc,
    I must say am inspired and helped in the write up on statistics. I may say am unfamiliar with statistics and am doing a research which involves statistics..yes I have used simple excel now am finding difficult in analyzing the p-value …and do a scientic analysis. I have sent u my results of the p valus in your email. thanks in anticipation

  29. Brian Wright says:

    Hi Charles,

    Appreciate your contributions to the statistics community.

    I am trying to regress roughly 150 dependent variables (150 mutual fund’s time series returns) against roughly 8 independent variables (the time series of various factors like the return from simply buying cheap stocks, or stocks that have gone up recently, etc.). Thoughts on ways to do this without drinking heavily?

  30. Sarah says:

    I don’t have the ability to interpolate on my Excel (Mac version) and have the following values. My W is 0.984 ,n = 30 and my p-values in between 0.9 (.983) and 0.95 (.985). I don’t have the interpolating feature on Excel and saw the equation you had on that page was a little confused as to what went where to calculate it correctly. Some help would be much appreciated 🙂

  31. Nur says:

    I am doing a research about GPA’s at my school. In my data sheet I have 50 samples, under each label I have less than 30 samples. I tried to use “t-test: Two-Sample Assuming Unequal Variances” because I don’t have the exact variances but I also know that I cannot use t-test if I have more than 30 samples. Since I don’t know the population variances I cannot use the z-test, too. Which test should I use in this case?
    Thank you in advance.

    • Charles says:


      Are you saying that you have 50 samples and each sample has fewer than 30 elements?

      The following statement that you made “I also know that I cannot use t-test if I have more than 30 samples” is not true. You can use the t-test for samples with more than 30 elements as well as for samples with fewer than 30 elements. You also don’t need to know the variances to use this test. I suggest that you look at the following webpage, especially the subpages about hypothesis testing

      t Distribution


  32. Grant says:

    Hi, I wanna say thank you for the add-in functions you provided for us!
    However, today when I’m using function nchisq_dist(9629.82651550155,0.06365952,9414.72191791204,TRUE), it returns 0 which seems incorrect. I input the same number in matlab to verify it while matlab returns 0.8659. Since I don’t have the password for that add-in, so could u plz help me out?

    • Charles says:

      Yes, there are limitations to the use of the NCHISQ_DIST function that I have provided. In Excel CHISQ.DIST generates an error value when df < 1. Since NCHISQ_DIST uses the Excel function CHISQ.DIST, it is not surprising that it does not return the correct value when df < 1. There are also limitations when x or lambda are large. I will try to explain these limitations on the website. Thanks for identifying this problem. Charles

  33. Isabel says:

    Hello Charles!
    I’m trying to compare two population proportions to see if there is a significant difference between the two proportions. I’m reading everywhere that I have to use the z-score to do so, but I can’t seem to find any good information on the quickest way to do this in excel. My goal would be to have a p-value in the end, telling me if the difference between the two population proportions is significant.
    Could you help me with this? Is there a page on your site on which this is explained?
    Thank you so much! Your website is very helpful!

  34. Maria says:

    Dear sir,
    Let’s suppose that someone uses a questionnaire with questions like this “How much do you think that X can influnce your life?” and the participants have to answer by choosing a number from 1 to 10. Could median be a meaningful measure in a case like this? Or the researcher should just stick to the mode?

    Thank you very much for your time.

    • Charles says:

      This all depends on the details of what you are trying to analyze. Usually the mean is used, sometimes the median, and only rarely is the mode used. But which you should use really depends on your specific research. It also depends on the test that you use. E.g. if you decide you want to analyze the data with the t test (assuming that this makes sense for your analysis and that the assumptions for the t test are met), then you probably want to focus on the mean. If it turns out that the assumptions for the t test are not met, then it would be common to use the median (and some nonparametric test) to do the analysis.

      • Maria says:

        Let’s say that the researcher wants to explore the ideas of some people about how environmental problems influence their own lives. So, he has a questionnaire with e.g. 10 questions. Each question has the same form (“How much do you think that X can influnce your life?”) and the same response options. These options range from 1 to 10, where 1 means “no influence” and 10 means “great influence”. So, 1-10 are not “real” numbers; theyare just the participants’ way to express what they think.

        In this case, when the researcher knows that e.g. 5 participants have ticked the option “1” and 10 ticked “2” …. etc., and does not plan to run any test at all, is there a real meaning for him to estimate the median? I mean, if he just wants to describe this kind of data, is median really applicable and meaningful?

        Thank you very much once more.

      • DESMOND says:

        Good day Dr

        First of all I would like to express my appreciation for the invaluable real statistic package which have help a lot of people already.

        However the subject of the matter is that I am carrying out a research on “The viability of crowdfunding to meet the funding needs of SMEs” and my main focus is on the supply side of funds, the investors. I am using a questionnaire to gather the data of the investors and the online questionnaire is on the following link

        After gathering the data and test on the viability, i decided to consider whether the potential investors would chose to invest or not(the propensity to invest). This would constitute my dependent variable. The independent variables include, investment capacity, which is a function of income and investment pledge, expected return surplus, payback period, there are other variables that i have considered such as internet connectivity, social media presence, access to a payment system as variable of consideration of crowd-funding etc

        I thought the logistic model was going to be most appropriate model to use considering the binary nature of most of my data and i chose it.

        however i have been following your video that you shared on YouTube on logistic regression model, after coding my data. I did run the analysis but i got errors in excel about the data format.

        May you please help in how i can address the error issue, where i should look at as well. I WOULD BE VERY, VERY HAPPY if you assist on the overall project by offering comments, insights and direction as well. I believe this project is of great importance to the SMEs in my home country and the nation as a whole and i would like it to be as informative as possible.

        Accompanying this mail is the Excel sheet with the responses and the data that i am trying to analyse.

        I am in much anticipation of your response

  35. Lis says:


    Do you know if its possible to do the exponential decay 3rd order in excel (y=yo+a*exp(-bx), fits for yo, a and b? I know I can do this in Origin or Sigmaplot, but it would make it easier if I could also integrate this on my excel sheet for the calculations I need.


  36. Rod says:

    Hi, Dr. Zaiontz!
    Have you given any thought to doing more with the Fast Fourier Transform (FFT) already provided in Excel?
    They really have not explained what to do with it after they generate the complex form. I have managed to compute the resulting magnitude (amplitude) and frequency from the complex form given but need help on how to interpret what I have…presumably the frequency spectrum. Ok, so I locate the dominant frequency after I graph the magnitude and frequency….now what? How do I go about combining the various frequencies to get a better fit and how do I come up with the parameters for the various cos and sin terms? Is there a short cut without having to construct it individually for each frequency?

  37. Mike says:

    I recently consulted with a statistician that informed me, I need to use Generalized Estimating Equations (GEE) on the data that I’ve been gathering.

    Does this excel add-in allow for GEE calculations?

    • Charles says:

      Sorry Mike, but the Real Statistics website and software doesn’t yet support GEE. This will be supported shortly.

  38. Ralph Shelton says:

    Thanks for the free software, it is appreciated, from someone who enjoys statistics, and occasionally needs to do analysis

  39. Tom says:

    I have an dependent variable and four independent variables.
    To do regression analysis using excel 2013, should I select all the FOUR independent variable together under Input X range, or I should do regression of the dependent variable against each independent variable, thus in all, four times?

    • Charles says:

      It all depends on what you want to accomplish, but I suggest that you perform the regression with all four independent variables and see which ones are not significant. These are candidates for elimination from the model.

  40. Craig says:

    I want to determine whether two sets of data (n = 12, for both) are statistically significantly different at P <=0.001 (two-tailed test). Should I run Mann-Whitney U test on the raw data, or should I first do a normality check and convert the data to a normal distribution? (say, by log, square-root, or exponential conversion).

    • Charles says:

      If the data is normally distributed then generally you should use the t test instead of Mann-Whitney. You should first check to see whether the data in each sample is normally distributed. If the departure from normality is not too severe then you can use the t test. Even relatively symmetric data should be ok. If the data is very skewed then you can use the Mann-Whitney test provided the distributions of the two samples are relatively similar (even if skewed).

      • Craig says:

        Very helpful — thanks! Follow-up question: If the data ARE skewed (i.e., not normally distributed) and I use Mann-Whitney, would I use it on the raw data, or on the data that are transformed by whichever transformation brings their distribution closest to normality?

  41. Sharon says:

    Hello Charles,

    I am having trouble finding a relatively recent academic reference to support the assertion that ‘MANOVA is not very sensitive to violations of multivariate normality provided there aren’t any (or at least many) outliers’. I have a large sample (n=955) with no outliers, but the assumption of multivariate normality is violated. I can proceed with the analyses if I can cite evidence that the MANOVA will remain robust. Could you recommend a citation?

    Kind regards,

  42. Pui-Shan says:


    I’ve just run the post hoc test (Games-Howell) along with a single factor ANOVA test, but I’ve got some odd results the post hoc test. I’m assuming that it’s because it’s not calculated the standard error, which is ultimately being driven by the values in the column labeled “C”, but I don’t know what this relates to, and is completely empty. Can you help, what should this contain? I’m not able to locate the formula for this test.

  43. sani says:

    Dear Charles

    Could I use K_S test on p value 0.01 ?

    Thanks a lot


  44. Monjurul says:

    Dear Charles,

    I wonder if you could help me on the followin:
    ” I have conducted a survey using likert scale – asked questions to a specific group, and received their feedback on my questions. My goal is to understand how perception of these group of people relates to my depepndent varible (DV). So, through Q1…..Q2 I would like to devise a conclusion/relationship to my DV. I am using EXCEL, and I believe, I should be using logistic regression as my data’s are ordinal.
    I wanted to do the linear regression first ( I know, I should not be doing this), just to get familiar with the process. It requires two variables as an input to perform linear regression. As I only have Q1…..Q2, I am not sure how to figure out the second variable. In my head, Q1….Q2 are just questions.

    Any help would be apprecited.

    • Charles says:

      Dear Monjurul,
      For linear regression you need at least one independent variable (IV) and a dependent variable (DV). This is also true of logistic regression (except that the dependent variable only takes two possible values). Do your questions provide some way of establishing a relationship between the IV and the DV?

      • Monjurul says:

        Dear Charles,
        I have sent you a mail – I wonder if you could look at it once time permit?
        Thanks in advance

        • Charles says:


          I have looked at the document that you sent me, but it doesn’t really help me very much. You need to do something first.

          Before deciding on which tests to use or how to run those tests, you need to decide what is the objective of your study and what hypotheses you want to prove or disprove. You don’t need to state these initially in statistical terms. In fact initially it may be better to state these in terms that are consistent with your domain of study/research (although these statements should be clear and potentially quantifiable).

          Only you can do this part.


  45. Hamed says:

    Hey Charles,
    Just to notify you, I have taken a good look over your site and have sent you an email. If you would like I could post my question up here

  46. Joseph says:


    Is it possible to use your functions with VBA code? Excel maths functions can be used with WorksheetFunction.Correl(x,y) for example. However, when I try it with your functions such as WorksheetFunction.durbin(x,y) it doesn’t work.

    Anyway of getting your functions to work in the macro VB code?



  47. I downloaded the EXCEL file Real Stat Using EXCEL for EXCEL 2007.
    When running it gives error: Can’t Find Project OR Library.

    Pl. advise

    Prof S Chandrasekhar
    Director Business Analytics
    IFIM Business School B”lore INDIA

    • Charles says:

      The most common reasons for getting this message are:

      1. The software was not installed properly. To find out if this is the problem, press Alt-TI and see whether RealStats is on the list of add-ins with a check mark next to it. If you don’t see RealStats on the list, you need to press the Browse button and locate where you stored the Real Statistics software on your computer.

      2. You are trying to open up the RealStats file (containing the software). You should not do this. Simply open any other Excel file.

      3. There is some other problem. In this case, please insert the formula =VER() in any cell on a blank spreadsheet and let me know what value you get.


  48. Anke says:

    Dear Charles,
    First of all, thank you very much for all those helpful calculations in Excel.
    There is one statistical test for which I did not find any help. It is the Cochran`s C test for homogeneity of variances. Could you perhaps help me, how to do the test statistics in Excel?
    Thanks a lot, Anke

    • Charles says:

      Sorry Anke, but at present I don’t support Cochran’s C test since I find Levene’s test to be more useful. Cochran’s C test tests to see if the variance of one of the samples is significantly different from the variance of the other samples. Thus it really tests that the one variance is an outlier compared to the others.

  49. Jordan Glaser says:

    Any way to get Odds Ratios from the excel linear regression program?

    • Charles says:

      You can get the odds ratio for logistic regression, but I am not familiar with the use of the odds ratio for linear regression.

  50. nagendra says:

    I installed the package 3 days back, everything was working fine. Suddenly there is some issue appearing MATRIX OPERATION – CORRELATION especialy when i am going to create matrix on new page. it is giving error as run time error and matrix is not created. However it is working if i select any particular cell in the same sheet

    • Charles says:

      I have just retested the Correlation option of the Matrix operation data analysis tool and it works fine.
      If you send me an Excel file with your data, I will try to figure out what is going wrong.

  51. Salma says:

    Hi Charles
    I wanted to reference this page, could you let me know what year this page was created

  52. Willie Bouwer says:

    Dear Sir,
    I am busy with research for my PhD and have been asked by the University to test the objectivity of my research art effects. The idea is to make 6 short films and then have them tested by 4 peer reviewers. I believe Fleiss’ Kappa will be the best to do that, but I’m rather unsure how to set it up. I think that I will have the reviewers watch the films and then respond to a questionnaire with seven closed-ended, scaled check box type questions. I will appreciate your input on this.
    Kind regards,
    Willie Bouwer

  53. Denise says:

    I’m no pro in statistics and am looking for a simple way to calculate the sample size when using a cohen’s kappa.

    • Charles says:

      It really depends on how you have stored your data. Generally in Excel you calculate the sample size using the COUNT function.

  54. Aquarius says:

    Hi Charles! I’d like to ask. What statistical technique should I use if I would like to check if there is a significant difference on the effect of the treatment and control group if I only have three trials but with ten specimens per trial.

    • Charles says:

      It really depends on what you mean by specimen and trial, and how you conduct the experiment. E.g., this could be a two factor ANOVA with factor A having two levels: Treatment and Control and factor B having three levels, one for each trial. This would mean a sample of 60 specimens (2*3*10).

  55. Karen says:


    I have Microsoft Excel for Mac ver 15.11.2 from 2015 and have installed the Real Statistics Add-On for Mac but am not able to find Frequency Table in my data analysis tools. Where should I be looking??

    • Charles says:


      First make sure that the Real Statistics add-in has been installed properly by inserting the formula =VER() in any cell. If you get the version number of the software, then that is a good sign.

      You won’t find the Real Statistic data analysis tools combined with the standard Excel data analysis tool. Instead, you can access the Real Statistics data analysis tools by entering Control-m (i.e. control key + m) or clicking on the Real Statistics menu.


  56. Annie says:


    Is there a way to remove the ctrl+m shortcut? I frequently use this shortcut for other macros and don’t mind navigating to the add-ins page to access the Real Statistics menu. Thanks for the great tool!

    • Charles says:

      I’ve been looking for a way for you to disable the Ctrl-m shortcut for Real Statistics. Unfortunately, I haven’t found a simple way for you to do this.
      Instead, I will provide such a capability in the next release of the software.

    • Charles says:

      This capability has been added to Release 4.4, which was released earlier today. See Blog for details.

  57. Akbarjon says:

    Your web page very useful appreciate it.

    How should I site/refer your web page (I am using Harvard referencing style).

    Thank you,

  58. Kamala Jayanthi says:

    Dear Sir

    thank you very much for your support through your valuable web page. I have a doubt. i did multiple choice test with individual insect providing 4 choices and recorded the data on amount of time spent in each treatment and also number of entries in to each treatment. Now i wrote the paper, reviewers are asking me to do non parametric analysis. Will you please advice me on this. i did ANOVA, the comment is since it is violating ANOVA assumptions (independency of samples), i have to use non parametric tests etc. Sir, pl advice me which analysis i can do? thanks in advance.

    • Charles says:

      If you performed one-way ANOVA with a fixed factor, then the usual nonparametric test is called Kruskal-Wallis.

      If you violated the independence of samples assumption, you should simply use a different form of ANOVA, namely ANOVA with repeated measures. The usual nonparametric version of this test is called Friedman’s test.


      • Kamala Jayanthi says:

        Thank you very much for your reply. In that case should i use the data (amount of time spent in minutes, number of entries) directly or should i convert them in to ranks and then subject to Freidman test or Repeated measures of ANOVA. Pl advice!

  59. Fred Cull says:

    I will have to check this out. If not, then I will go with Excel. I realize that you cannot be all things to all programs.



  60. Fred Cull says:

    I am re-learning statistics. My interest is real property valuation and analysis.

    My question is, “Will your Excel add-ons work with LibreOffice spreadsheets?” LibreOffice is an open-source product that seems to be very compatible with the Microsoft Office programs (Word, Excel, and the like).


    Fred Cull

    • Charles says:

      I have never used LibreOffice, but I doubt it will work since I don’t believe that LibreOffice supports VBA, which is the programming language that I used.

  61. Praveen Kakkan says:

    Dear Charles,
    I just came across your website when I was searching for information regarding intra-rater reliability. I find your website very informative and useful.

    Do you have any tools or recommendations on how to evaluate intra-rater reliability of One rater across a set of patients with multiple trials (around 6) done per patient?

    Thanks a lot,

    • Charles says:

      Sorry, but I don’t know how to calculate intra-rater reliability with one rater and multiple trials. Perhaps someone else in the community has some suggestions.

  62. Theo says:

    Dear Charles,

    Thank you for your prompt response.

    Kind regards,

  63. Theo says:

    Dear Charles,

    Im back with a bug. In the meantime I’m using the tools for teaching and I continue enjoying them. And so do the students.

    In the latest versions (e.g., 4.0, 4.1) the following problem occurs with the German Excel (2013): although, both at the OS (Windows) level and at the Excel level the decimal separator is set to dot (.) and the thousands separator to comma (,) on the GUI of the statistical tests the default alpha appears as 0,05. Accordingly, the test gives the correct results onyl if alpha is manually set to 0.05 (otherwise alpha is taken as 5)

    I don’t know exactly when this bug occured first, however, in the 2.14.1 version it does not happen, but it happens in 3.6.1.

    A “nice to have” would be for the “Descriptive Statistics and Normality” tool: here you have to select one input range. If you do the normality check, for the box plots and for Shapiro-Wilk the data is analyzed column-wise, i.e., for each column you get a test result and a box-plot, however for the QQ-plot the result is for the complete input range. It would be more appropriate to get the QQ-plots also for each column individually.
    I also think that “Use exclusive version of quartile” should be the default setting.

    Kind regards and thanks a lot for your great tools!


    • Charles says:


      Thanks for your support and for bringing these issues to my attention.

      This problem with 0.05 versus 0,05 has plagued me from the beginning. In reaction to problems that people were having I changed the way I handled the default for alpha many months ago. This probably helped some people and hurt others. I still haven’t been able to come up with the right solution. In the next release I will start testing the alpha value and give an error message when 0,05 is viewed as 5, which will at least alert people to manually insert the correct value.

      I added QQ-plots to the Descriptive Statistics and Normality tool a few releases ago, but was well aware that it was a short-term approach. I will eventually change the way QQ-plots are generated as you suggested, but there are always other things that seem to be more important to do.

      I keep the inclusive version of quartile as the default simply because Excel 2007 doesn’t support the exclusive version.


  64. Pedro says:


    My sincere congratulations for the amazing work you are doing. It has been extremely helpful for me. The tools are amazing and the tutorial very clear and didatic.

    Thank you a lot!


  65. Anton says:

    Dear Charles,

    I can not thank you enough for putting this website and resource pack together. I work for an important international organization, where due to budget cuts, SPSS has unicorn like qualities. Being able to use these statistics in Excel has been a lifesaver for us and I have made it part of the induction kit for our department.

    Yours truly,

    A very greatly international civil servant!

  66. Elise says:

    Thank you so much for making a palatable statistics website. I am definitely sharing this with all of my coworkers.

    Only issue with the software that I have encountered:
    Calculating the sample size needed for a given power level in a 2 sample t-test.
    All the fields are filled out properly and occasionally I get an “Overflow” error.

    I am not professing to be an IT expert, so if this is an issue with my PC, then I will have it addressed by our internal IT folks.

    Thank you again!

    • Charles says:

      Can you give me a specific example where you got the overflow message? For the 2 sample t test I need to know the effect size, power desired, # of tails, alpha, sample size ratio and sum count (if you changed it from the default of 40). With this information I can try to figure out what is causing the overflow and possibly fix it.

  67. Mike says:

    I tried posting this question, but it doesn’t seem to be showing up in the feed. My apologies if this ends up being a duplicate question. Anyway, I am having trouble with the Cluster Analysis data analysis tool. Specifically, I am unclear how to format my data, and I can’t seem to find any explanations on the website. Any chances there might be an explanation page added in the near future? Thanks!

    • Charles says:

      Sorry that you weren’t able to see your comment. This was because I lost my Internet connection this weekend and so hadn’t the opportunity to approve your comment for publication yet. Please see my response to your original comment.

  68. Mike says:

    I am trying to do K-Means cluster analyses using Real Statistics. I am unclear how to go about formatting entering my data, and I can’t seem to find anything on the website describing how to use the “Cluster Analysis” data analysis tool. In any case, thanks for creating this Add-In.

    • Charles says:

      The reason that you haven’t seen anything on the website about cluster analysis is that I haven’t yet issued the cluster analysis capabilities for general release. I plan to do this shortly (Release 3.9). The fact that some of the cluster analysis capabilities were included in the Release 3.7/3.8 software has indeed caused some confusion. Sorry about this; I plan to explain how to use the cluster analysis tools sometime next week.

  69. ali says:

    i am trying to make a mathematical model by Linear regression model and at end i calculated R value(regression coefficient).but i don’t know it is meaningful or not. tell me how i can know that it is a good regression coefficient?

    • Charles says:

      R is a correlation coefficient, and so takes values between -1 and 1. The closer R is to 1 the better that the linear regression model fits the data.

  70. Nidhi Bansal says:

    I would like to ask a question regarding data analysis. I am working on some data having 5 to 6 independent variables and 3 dependent variables. The data is panel with large n and t=10. The whole data is divided into two groups depending on the presence or absence of one of the independent variable in individuals. This division has made the groups unbalanced. Can you please suggest which data analysis tool would be appropriate in judging out the efficiency of the two groups (which of the two groups is better) and the relationship between dependent variables and independent variables.

    • Charles says:

      Sorry, but I don’t understand your question.

      • Nidhi Bansal says:

        I was telling that I am working on panel data having large n and t is 10 years. There are 6 independent variables and 3 dependent variables. One of the independent variable is discrete dummy variable. Like for example, whether a committee is present is a company or not is the observations. The observations found out that for some years, it was present and for other years it was not present. This was observed for n number of companies. Number of presence and absence of the committee is not same for all companies. Then I divided the whole data into two groups to find out whether the presence or absence of committee has any effect on my dependent variable or not. This has made both groups unbalanced, having different t for n. Individually I can run regression on both groups. But I wanted to know how can I compare two groups. Is there some better method or technique to find out the results.

        • Charles says:

          I have read your comment several times, but I don’t understand it. For one thing I don’t know what panel data is.

  71. Stephen Druley says:

    I am confused. I submitted a question on goodness of fit a few days ago and it appears that the question was deleted with no response.

    • Charles says:

      The question hasn’t been deleted, but I haven’t had time to respond yet.

      • Stephen Druley says:

        By transforming the x values as (LN(x)^2.8) + 2.8
        By transforming the y values as (LN(y))
        By setting the target cell to the Pearson Product Moment=-.993
        By using solver we can improve the Pearson to -.998148
        By inventing two additional poker hands we can fill in the gaps
        The result is a continuous poker rating equation that can be useful in a decision support process for players

        • Stephen Druley says:

          Left out a step…
          By setting the target cell to the square of the Pearson moment we eventually get a perfectly straight line with
          R^2 = .999_

  72. Stephen Druley says:

    Dr. Charles,

    This is a world-class web site. Even my associates in the Malcolm Baldrige community can’t argue with me.

    Dr. Stephen Druley

  73. Megan Petra says:

    Thank you! I’ll have my tester re-download the software and try again. In his most recent email to me he mentioned something about labels – maybe not all of the slots are labeled in a way that Jaws can read? I’m not sure. I’ll ask him to contact you to explain, if the problem still exists with the latest version.

    • Megan Petra says:

      Thank you for your work in re-doing the tab order for dialog boxes. I have some new accessibility info from my tester. He looked at the T-test and nonparametric equivalents dialog box. My tester said that, in order for Jaws to be able to read items in the dialog box to him, they have to be labeled. Everything that has a radio button or a check box is labeled (including “column headings included with data” check-box, “one-sample,” “two paired samples,” and “two independent samples” radio buttons, and “non-parametric,” “use ties correction,” and “include exact test” check boxes). Probably the “t-test” check box is also labeled but my tester didn’t mention it at all. These radio buttons & check boxes are grouped into themes that you and I can see (“options,” “non-parametric test options,” and “test type”) but there is no such group labeling that Jaws can see. Finally, all fill boxes (input range 1 box, input range 2 box, alpha box, hyp mean/median box, output range box) are not labeled – that is, he can tell that a fill box is there and can tell what is pre-filled-in, but does not know what the fill boxes are for. He wasn’t able to tell me what you would need to do to create labels for the fill boxes – he doesn’t do that kind of programming – but he said that Real Statistics was very close to being accessible to text readers. I would say that getting labels on fill boxes is most important, whereas getting group labeling is probably less critical. I assume that dialog boxes for other statistical tests have the same pattern of labeling, but I do not know for sure since my tester only looked at the T-test dialog box. Thanks again for your work in making it possible for folks with visual impairments to use Real Statistics!

      • Charles says:

        I am a bit confused. Check boxes like “one-sample” in some sense have a label, namely the words “one-sample”. What qualifies as a label? Inside the program all the fields have a label.

        • Megan Petra says:

          I’m a little confused, too, as I don’t do this kind of programming. I think the check-boxes and radio buttons all have labels that JAWS can read aloud. Somehow the fill boxes where you can type in cell ranges do not have any labels that JAWS can read. There must be something different about how you get Excel to put a fill box into your customized dialog box (as opposed to a check-box or radio button), and how you label them. Alternately, it’s possible JAWS has a glitch… I don’t know. As always, thanks for taking a look at this.

          • Charles says:


            The check-boxes, radio buttons and command buttons (e.g. the OK button) all have “captions”. These are what you are calling “labels”. The text boxes and refedit controls are the “fill boxes” and these don’t have captions. All of these “controls” are reachable using the Tab key.

            In addition to these controls is a control called a “label”. All the fill boxes have a label control to their left. These label controls do have a caption. While currently these label controls are not reachable via the Tab key, I can change this so that they are reachable via the Tab key. In this case when JAWS reads this caption out loud the next tabbed control will be one of the fill boxes (in fact this fill box can be identified by the caption of the label control).

            Another possible alternative approach is for JAWS to read the “control tip” instead of the caption (or at least read the control tip for a control without a caption). The fill boxes all have control tips.


  74. Cedric Marchessoux says:

    Dear Charles,

    Wouah impressed, yesterday I was looking desperately for some examples of multi reader multi cases Kappa statistics examples but not in SAS and not in SPSS software programing languages. And I found your fantastic website and the webpage:

    Not a big deal but there are some wrong references in two formulas:

    in case H9 for s.e.: it should be =B20*SQRT(SUMPRODUCT(B17:E17;(1-B17:E17))^2-SUMPRODUCT(B17:E17;1-B17:E17;1-2*B17:E17))/SUMPRODUCT(B17:E17;1-B17:E17)

    in case B18 (it should be B19) for k1: it should be =1-SUMPRODUCT(B4:B15;$H$4-B4:B15)/($H$4*$H$5*($H$4-1)*B17*(1-B17))

    Best regards
    Cédric Marchessoux

    • Charles says:

      Dear Cedric,
      Thanks for catching this. I had changed the worksheet, but forgot to update the formulas in the table. I have now updated the webpage using the formulas that are actually used.

  75. Megan Petra says:

    I will be teaching a statistics course in Spring 2015 and am looking for statistics software that is accessible for visually impaired folks who use text-reading software (such as Jaws). Jaws reads words available on an active window (such as options on menus) out loud for the user, and allows users to advance to and choose the desired option via keyboard shortcuts. I’ve been told that Excel is accessible but did not know if your tools were or not. Do you happen to know the answer to this?

    I came across your web site in my search for possible alternatives to SPSS and SAS University Edition. We have found that SPSS is not fully accessible, and are in the process of testing SAS University Edition. It would be great to have an alternative to SAS, since I am teaching social work students who would find the task of learning the programming language an additional burden on top of learning statistics. Another advantage of your software is that students would still be able to use your Excel tools once they are graduated and do not have access to university computers. But of course your tools would have to be fully accessible for all students or I could not use them for the class. Thank you for your help.

    • Charles says:

      I don’t know whether my software is accessible using Jaws or other text-reading software. You can download and install my statistics software in a few minutes and test it out yourself. Since all the user-related mechanisms used in my software are standard Excel, there is good chance that it will work if Jaws works with Excel. Let me know whether it works and let me know whether I need to modify anything to get it to work.

      • Megan Petra says:

        Thanks, Charles.

        I’ll have the tester at our school’s accessibility office test it out – it would be great if it would work! I’ll let you know.

        Megan Petra

        • Megan Petra says:

          Your software is almost (but not quite) accessible with Jaws. My understanding is that Jaws will read through options in a dialogue box, advancing from one thing to another via the tab key and choosing options via the space key.

          Try tabbing through the software’s t-test dialogue box. You’ll notice that, when you first call up the t-test dialogue box, the cursor is automatically active in the box where you enter the cell range for the first variable. If you tab, however, it doesn’t take you to the entry box for the second variable. It eventually gets there, but you have to tab through the rest of the dialogue box first. If the tab-order were logical, however, I could tell my student exactly how to move through a dialogue box and ask for a t-test (or whatever statistical procedure I was teaching). Some of the dialogue boxes I checked had logical tab orders and some did not.

          I think that is the only barrier to accessibility. I don’t know if changing the tabbing order in dialogue boxes is possible for you – but if it was, I think that might make Real Statistics accessible. Thanks for your consideration.

          Megan Petra

          • Charles says:


            I would be happy to change the tab order. I have been fixing this of late, but apparently I have missed a few of the dialog boxes.

            Can you help me by giving your opinion about the following:

            1. If there are two input fields (with two Fill buttons) should the tab order be (a) Input 1, Fill 1, Input 2, Fill 2 or (b) Input 1, Input 2, Fill 1, Fill 2 or (c) Input 1, Input 2 with Fill 1 and Fill 2 much later in the tab order?

            2. Should I generally use a tab order that goes from the top to the bottom? If so should I skip items (e.g. Alpha) that generally are not changed?

            3. Should the OK, Cancel and Help buttons be the last items in the tab order?

            Also please let me know of any dialog boxes that are in the correct order.


          • Charles says:

            I have revised the tab order on the dialog boxes in the latest release, Rel 3.2.2 (issued today). Please let me know if this order is acceptable.

  76. ndm says:

    Zaiontz: your tools that you are sharing with the world are so wonderful! thanks again. i feel ungrateful for even asking . . . but are you considering adding some clustering algorithms (k-means, &c) in the future? (that’d be so awesome!)

  77. Antonio Perez says:

    Dear Charles,

    I most confess that I am a huge fan of your website, the work you have done it’s simply amazing. Thank you so much for making your knowledge available to everyone.

    Greeting from México.

  78. Christopher says:

    Dear Dr. Zaiontz,
    I’m preparing a manuscript using analyses performed with your software. How should I cite Real Statistics?


    PS…Also, thank you for making this package available. This has saved me tons of time.

  79. Joanna says:

    Mr. Zaiontz,
    You have saved me so much time and energy with your real statistics add on package! Thank you so much for such an excellent tool! I am very grateful!

  80. Sam says:

    Dear Charles,

    Thanks for your response. I do get 2.16.2 when I check the version. However, when I launch the add-in either from the add-in menu or by ctrl-m I still get the error message.

    Apparently, it is not possible to reinstall the add-in, since this requires a password.

    Thanks for your advice,


    • Charles says:


      This seems strange to me. The add-in must be operational since you got 2.16.2. For some reason ctrl-m is generating an error message. I am using Excel 2010 on my computer without any problems, as well as many many other users.

      You never need the password. This is only needed to modify the software and not to use the software. I suggest that you delete the software from your computer and start all over again. I plan to issue a new release of the software this week (Release 2.17). Hopefully the problem doesn’t reappear.

      Another approach is to use the version of the software for Excel 2007, and see whether you get the same problem.



  81. Sam says:

    Dear Charles Zaiontz,

    I have followed your instructions for installation but when I try to run your macor (ctrl-m) and choose an analysis, I get an #424 error message (under excel 2010) saying “object required”. When I tried to remove the macro, it requires a password.

    Thanks for your help.


    • Charles says:

      It sounds like the Real Statistics Resource Pack was not installed properly. To find out for sure, enter the formula =VER() in any cell in an Excel worksheet. You should see the version number of the Real Statistics Resource Pack that you downloaded (e.g. 2.16.2). If you don’t see this, then the software is not recognized as an Excel add-in (which is what the installation instructions are intended to do). See the webpage for more details. The key step is described in Figure 2 on that webpage.

  82. Kumar says:

    Great work! Crisp and clear solutions to the example problems.
    Do you have any plans to add support for regression trees or random forests ?

    • Charles says:

      Thank you very much. I will add your ideas to the list of new potential enhancements. It is likely that these will be added at some future time. Stay tuned.

  83. John Cusack says:

    Dr. Charles Zaiontz,

    Your website and resources have been very helpful. I have taken econometrics in college but I am having some trouble. I have a large data set of customers with when they ordered products as well as the amount they ordered. I used basic excel linear regression to predict the amount of an order the model has a R squared of 92%. I used the same excel linear model to predict time between orders with a R squared of 95%. I want to predict if someone will order in the next X days as well as the amount they will order. What statistical package/ method do I use for this?

    Any help would be much appreciated.

    • Charles says:

      You can create two separate regression models using EXCEL or other tools. If you want a single regression model with two dependent variables then you probably want multivariate regression.
      R provides this capability.

  84. Theo says:

    Hi Charles,
    I’ve forgotten a question: are the new functions (WPROB, MPROB, SRankPROB, functions for power & sample size, etc…) documented in more detail (synthax) anywhere on the website?

  85. Leslie says:

    Re: Repeated measures Anova-

    Hi Charles,
    Can you tell me where you deal with the repeated measures Anova, for one intervention and one control group, pre and post-test?

    The paired-sample t-test takes care of the pre-post, but how to take simultaneously effect of the control-intervention issue?The research question is whether the mean change in the dependent variable from pre to post is different.

    If your package covers this case, can you kindly indicate how to input the data?
    Many thanks!

    • Charles says:

      Hi Leslie,

      Repeated Measures Anova is explained at the following webpage:

      To access the data analysis tool for repeated measures Anova (assuming the software is installed on your computer), press Ctrl-m and select Repeated Measures Anova on the dialog box that appears.


      • Theo says:

        Hello Charles,

        The last bugs I have reported (no reporting at all of critical values for non-parametric tests, problems when using either the Dunn/Sidak or Bonferroni correction) occur also with Windows7/Excel 2010.
        I have installed the Resource Pack on 3 computers, all running with Windows7 64 bit OS and having Excel 2010 installed:
        • One machine with 4 GB RAM runs under Windows 7 Home Premium
        • A notebook with 4 GB RAM runs under Windows 7 Professional
        • Finally, a workstation with 16 GB RAM running under Windows 7 Professional (my computer at work).

        The problems reported occur on the first two machines while the Resource Pack runs properly on the third machine. Also the permissions on the three machines appear to be the same. The only striking difference is the RAM.

        Kind regards,

        • Charles says:

          This is very strange. Since your original message I have tested the software on three computers all running Windows 7 with 4 GM RAM but with Excel 2007, 2010 and 2013. Only the last one had the problem.
          I am going to make a small change in the next release (Rel 2.15) and see if it makes a difference. I expect to issue this release either tomorrow or Wednesday.

        • Charles says:

          I have tried to correct the Dunn/Sidak or Bonferroni problem in the latest release (Rel 2.15). Do you see any change?

          • Theo says:

            Dear Charles,

            I think I have found the reason for the bugs, but so far I have checked just for Excel 2010: as soon as on the Windows level the decimal separator is set to period (.) and the group separator to comma (,) the tools work well, even for the previous release. The problems occur only if in the OS settings this is the other way round, i.e., decimal separator as ” ,” and group seprator as ” .”. In this case the problems persist in a different way.
            As soon as I’ll be back to work I will check it also for Excel 2013. I’ll send you a more detailed report of my test runs next week by email.

            Kind regards,

  86. Theo says:

    Hello Charles,

    I’m using periods (.) for decimal representations.
    Also, comming back to reporting critical values (T-crit, U-crit) for the nonparametrical tests: with Excel2013 /Windows 8 these are not reported at all (not even for small sample sizes).

    Best regards,

  87. Theo says:

    Hello Charles,
    Thanks a lot for correcting the above issues, I’m still very happy using your tools!
    Nevertheless I would like to report some “nice-to-haves” and two bugs I found while using/testing the software. The bugs apparently affect only the Windows 8 /Excel 2013 implementation. Let me start with the “nice-to-haves”:
    • Within the non-parametric methods the critical values for the test statistic (U-crit, T-crti, etc.) are not reported, only the value of the test static itself; although the tesing can be done using the p-values (which are, of course, reported), it would be nice to have also the critical values
    • The significance levels for the Shapiro-Wilk test can’t be set, a default of 0.05 is used
    And now the bugs:
    • With Windows 8 /Excel 2013 there is a bug in the Single factor Anova when using contrasts with corrections: Dunn/Sidak gives a runtime error (A run time error has occurred. The analysis tool will be aborted; Invalid procedure call or argument); while the Bonferroni correction gives a wrong alpha-value (166,666,666,666,667)
    • With Windows 8 /Excel 2013 after opening the tools and selecting a topic (Descriptive Statistics, T Tests, etc.) the window with the selected topic jumps behind the initial Resource Pack window and can be accessed only if one changes to another worksheet; an alternative is to move the initial Resource Pack window before selecting a topic from it; I’m not sure whether this is an Excel 2013 problem or it occurs only in combination Windows 8 /Excel 2013

    Many thanks and kind regards,

    • Charles says:


      Thanks for your comment. I appreciate your suggestions and especially your finding any bugs. This helps improve the website and is useful for the whole community of users. Regarding your specific points:

      – Critical values for non-parametric tests: The functions WCRIT, MCRIT, etc. give the critical values for small samples based on the tables of critical values. I suspect that what you want is different, namely to report the critical value for the specific test even for large samples where the normal approximation is used. I will add this capability to the software, probably in the next release.

      – Setting significance level for Shapiro-Wilk: You just need to compare the p-value with whatever significance level you like. You can perform the Shapiro-Wilk test from the Descriptive Statistics data analysis tool. That output from that tool will show the Alpha value with the default of .05. You merely have to change the .05 to any value you want right on the worksheet to obtain the result you are requesting.

      – Contrasts using a correction factor: I have just checked and, as you said, these errors don’t occur in Excel 2010. I don’t have a Windows 8 / Excel 2013 configuration currently, but will have access to one shortly. I will try to figure out what is happening. The software is really doing something very simple and so it is strange that this error is occurring.

      – Dialog box for the chosen analysis moves behind the initial dialog box: I have done most of the testing in an Excel 2010 environment and so didn’t catch this problem when I did testing in Windows 8 / Excel 2013. I will try to figure out what is happening.


    • Charles says:


      I have now gotten access to a computer that runs Windows 7 and Excel 2013. Both of the bugs that you referenced show up there as well, and so it looks like these are problems related to Excel 2013 (and not Windows 8). Unfortunately, I didn’t have time to resolve the problems yet, although I tried a few of the most obvious approaches for fixing the bugs, which didn’t work.

      The computer that I used does not use English, and so numbers interchange commas and periods (e.g. one quarter is represented as 0,25 instead of 0.25). I thought that this may potentially be the source of the problem. How are decimals represented on your computer (using commas or periods)?


  88. Leslie says:

    Hi again Charles,

    On issues:
    1- I found the package raeding this section…ctrl m.

    2- On the Manova, I need this repeated measures Manova because I have the same subjects taking pre and post-tests. Have you developped this test?

    I may also need a two-factor Manova because I have two factors, age (in months, these are children (5-6 years) and group (contrôle and test).


    • Charles says:


      I have developed Anova repeated measures capabilities, including pre and post tests. Although some of these may be useful for Manova follow-up testing, I have not as yet developed specific Manova repeated measures or two factor Manova capabilities yet. I plan to add these in the future.


  89. Leslie says:

    Hello Charles,

    First of all, Thank you!! for all your work. It is great that you have decided to help us with statistics and have made available your add-in.

    Now, the issues (sorry):
    1- The add-in is checked but it does not show in Data.
    2- I did a pre-post test and have to run a Revised measures anova (possibly manova), is it possible to do with Excel and your package? I have no local access to SPSS or other package.

    Many thanks!

    • Charles says:

      Hello Leslie,

      Thanks for bringing up the two issues. I am pleased when people make suggestions or find errors. This only makes the website better. Regarding your two issues:

      1. As you mentioned in your next comment, you can access the data analysis tools by pressing Ctrl-m. I would still like to make it available from one of the ribbons or quick access table, but so far I haven’t been able to figure out how to do it.

      2. I am not sure what you mean by “Revised measures anova”. In any case The Real Statistics Resource Pack provides a Manova data analysis tool. You can get more information about Manove at


  90. Theo says:

    Hi Charles,
    I have observed that the boxplot option from the resource pack gives slightly different results compared to other tools from the internet, GraphPad or SPSS. More precisely it’s the lenght of the box (i.e., the IQR) which is different. Considering for example the data 45, 46, 49, 54, 55, 53, 47, 48, all other tools give an IQR of 7.5, whereas the resource pack gives 6.5. The reason is that the resource pack uses QUARTILE.INC instead of QUARTILE.EXC (I have verified this with EXCEL). QUARTILE.INC includes the minimum and the maximum values as the 0-th and the 4-th quartile, respectively, and so these values are taken out when calculating Q1 and Q3. Therefore, I consider QUARTILE.EXC more apropriate for IQR calculation.
    All the best, Theo

    • Charles says:

      Hi Theo,
      It is interesting that you bring this issue up at this time. I am about to make the changes that you suggest. I plan to put these in the next release. Thanks for your suggestion.

      • Theo says:

        Hi Charles,
        Thanks a lot! You are really doing a fantastic job! With your Resource Pack Excel indeed becomes competitive to “professional” statistical packages. Many statistical tasks which can’t be done with EXCEL in a straightforward way (i.e., boxplots, but also many others) become available with your tools. This is extremely benificial, as EXCEL still is the most widely used data analysis tool in many companies and universities.
        Thanks again and much success for the future!

        • Charles says:

          Thanks for your very kind remarks.

          • Theo says:

            Hello Charles,
            I have an additional question and a remark which possibly can help improve your tools. I am really very much interested in removing possible bugs, since I extensively use Excel for statistical purposes and when I found the Resource Pack on your website it was a real treasure trove.
            The question: the 2-sample t-test for independent samples reports critical t-values, t-crit, for both the equal variance and the unequal variance case. However, only one value for the test statistic, t, namely that calculated for the unequal variance case, is reported. Wouldn’t it be more appropriate to report both t-values, as these are different for unequal sample sizes? For the following data (the numbers measuring some effect of a drug) I compared your tool with the corresponding standard Excel add-ins tool (confidence level 95%):
            Drug A: 10.5, 7.8, 9.3, 8.7, 10.2, 8.9, 7.4, 9.3, 8.7, 7.9
            Drug B: 11.2, 10.3, 9.2, 9.7, 8.9, 10.7, 9.9, 10.1

            Resource Pack: test statistic t: 2.723;
            Equal variance: t-crit (one): 1.746
            Unequal Variance: t-crit (one): 1.753
            Excel Add-in: Unequal variance: test statistic t: 2.723; t-crit (one): 1.746
            Equal variance: test statistic t: 2.634; t-crit (one): 1.746
            Since the test statistic for the equal variance case is different, I think it should be also reported.
            A second slight differences between the standard Excel add-in and the Resource Pack is t-crit for the unequal variance case (1.746 versus 1.753). This difference results from the fact that within the Resource Pack the number of degrees of freedom used to calculate t-crit is obtained by truncating the value of the Welch–Satterthwaite equation [=T.INV(1-0.05;TRUNC(15.96))= 1.75305036], whereas the Excel Add-in does this by rounding [=T.INV(1-0.05;ROUND(15.96;0))= 1.74588368].
            The remark, finally, concerns the one sample tests: the one sample t-test works well regardless whether the sample data are in a row or in a column, for the non-parametric alternative the sample data has to be in a column, otherwise the result is wrong (i.e., only one value from the sample data is considered resulting in count=1).

            Kind regards & all the best

          • Charles says:

            Hello Theo,
            Thanks for persisting with this. You are right. I was convinced that I had calculated the t-stat correctly, but you are correct that there is a bug in the software. I will be correcting the software shortly. Thanks very much for catching these errors.

  91. Kris says:


    I cannot thank you enough for creating this site and sharing your knowledge. This was so very helpful for me during a statistics course which required the use of excel.

    Thanks so much,
    Kris from the US

  92. Ivor says:


    A stunning website, well done.

    I have one suggestion for a minor addition: the Yates algorithm. It is so useful when analysing blocks.



  93. Ghada says:

    Really helpful website..keep up the good work

  94. Leigh says:

    Nice package. Have you been able to fix the getting the macro to show on the ribbon problem yet?


  95. Rich says:

    Have an enjoyable holiday season as well, Charles.

    Found an additional algorithm link for studentized ranges with some p-value specificity. The link is one from a larger collection of algorithms at:
    that you probably are aware of…

    in particular, for q-related item,

    Regards, Rich

    • Charles says:

      I was never able to get any of these algorithms to work properly or with sufficient accuracy. I found yet a different source and this algorithm works very well (except where df = 1 and in a few cases). I will include the new functions QDIST and QINV in the next release of the software). Thanks for getting me going on this issue.

  96. Rick Simmons says:

    I am attempting to create the Studentized Range q Table in Excel. What are the formulas I need to do this?



  97. Ricardo Carvalho (Lisbon, Portugal) says:

    Dear Dr. Charles Zaiontz, thanks for providing such an informative website, so useful for statistics studens and professionals. Best wishes from Lisbon, Portugal.

  98. Charlie Charoenwong says:

    This Excel add-in is so wonderful add-in. It makes my life a lot easier. I wonder whether you plan to add Cholesky Decomposition in the near future.


    • Charles says:

      Hi Charlie,
      Thank you for your comment. I am glad that the add-in has been useful to you. As for Cholesky Decomposition I will explore the possibility of including it after I finish some other things that I am working on.

    • Charles says:

      I have just added Cholesky Decomposition support to the Real Statistics Resource Pack. It is function CHOL in Release 2.13.

  99. Michael says:


    Great work!
    I was wondering if you have or are considering to add multi-level models?

    • Charles says:

      Thank you. I am now considering what to do next. I expect to add multi-level models eventually. My next focus will likely be to add more information and/or software capabilities related to reliability, two factor ANOVA, ordered logistic regression and Probit.

    • Charles says:

      I am starting to look into these now.

  100. Juan Carlos Bejarano says:

    Congratulations Charles:

    Real Statistics Using Excel it’s a really nice, practical and helpful website for learning statistics.

    I’ll recommend your website with all my co-workers and classmates

  101. Edward says:

    I’m very much happy to have seen your website on Real Statistics Using Excel. It helped me a lot in my statistical calculations.
    Thank you for this wonderful site.
    Cognizant to this, may I also inquire, if you have some notes on Sample Size determination (i.e. when and how to use it).
    Thank you in advance.

  102. Muhammad Afzal says:

    You have done an excellent job in putting together calculation of Statistics in Excel as most business folks especially in Finance uses excel as their main tool.

Leave a Reply

Your email address will not be published. Required fields are marked *