Escolar Documentos
Profissional Documentos
Cultura Documentos
It is assumed that every student has a basic knowledge of excel: how to enter data, how to enter
equations, how to call functions, how to make graphs, etc. Below are some additional tips that you
may not know yet. Please refer to the help file of excel itself for more detailed information. You can
also find many hands-on webpages to help you on the way.
Installing Add-ins (see movie on Blackboard: solver and data analysis installation in excel.avi)
For the course you have to install some Add-ins, in any case the Add-ins ‘Data Analysis’ and the
‘Solver’ (they may have been installed already, check this under the Tab Data). If not, go to the ribbon
File, Options, Add-ins and choose Data Analysis. Do the same for the Add-in Solver. To use these
Add-ins go to the ribbon and click on the Tab Data, then you should find them ready for use.
Statistical functions
Excel has an enormous amount of statistical functions. Some you may need to install such as Data
Analysis and the Solver (described above). With Data Analysis you can do such things as linear
regression, make histograms, apply descriptive statistics, among many other things.
Solver is needed to do nonlinear regression.
When you want to calculate probabilities you have to indicate confidence levels or the uncertainty
level and the degrees of freedom df (number of data points minus the number of parameters). These
two are complimentary, for instance an assumed uncertainty α=0.05 corresponds to a confidence level
of 1- α = 0.95 (95%). So, the Student t-function t(α,df) can be called as =TINV(α,df) in older versions
of Excel or with the equivalent new function =T.INV.2T(α,df) (two-tailed t-values). The Fisher
function F(α,1,df) = FINV(α,1,df) for older versions and the equivalent new function is F.INV(1-
α,1,df).
Data table
The function data table is useful to recalculate a function for a range of values of a parameter, you can
do that for one and for two parameters. Click the tab Data and then What-if analysis and the Data
table. See the pdf file Resampling with Excel by Derek Christie, Teaching Statistics 26(2004)9-14,
uploaded to Blackboard.
1
Random Numbers and Resampling methods
The function =Rand() produces random numbers from a uniform distribution between 0 and 1
(uniform means: all values have an equal chance of being selected). The function =Randbetween(x,y)
produces random numbers between x and y. You can convert a uniform distribution to a normal
distribution via the function =norminv(Rand(), mean, stdev). For instance, the function
=norminv(rand(), 100,10) generates a normal distribution of random numbers, i.e. centered on the
mean 100 with a standard deviation of 10.
The function =Index() can be used to find values in a range or an array, which is useful for
resampling. The data table is also used for resampling.
Naming cells
It can be helpful to refer to an array of cells via a name, it makes the spreadsheet much more readable.
Choose a name that reminds you of what the name refers to (e.g., MatrixA for a matrix). Highlight an
array, then go to Insert -> Name
Array operations
Functions operating on an array (such as matrix operations) must be entered with the command Crtl-
Shift-Enter (so not just by Enter).
Transformation to a No
Homoscedastic ? Heteroscedastic? linear model? transformation
Correct for
transformation by Homoscedastic ? Heteroscedastic?
deriving weights
Evaluate residuals, the estimates and their uncertainties, check for parameter correlations, make contour plots
In the case of more models, use Akaike to evaluate model performance, and make a choice
R. de Levie, Advanced Excel for scientific data analysis, 3rd Edition, Atlantic Academic, 2012.
E.J. Billo, Excel for Scientists and Engineers. Wiley, 2007
E.J. Billo, Excel for Chemists, 3rd Edition, Wiley, 2011
D.M. Bourg, Excel Scientific and Engineering Cookbook., O’Reilly, 2006