{{attachment:mrclogo.gif}}
= Frequently Asked Questions =
1. [[FAQ/distFAQ|Questions about distributions of random variables]]
1. [[FAQ/anovaFAQ|Questions involving analysis of variance and t-tests]]
1. [[FAQ/graphFAQ|Questions about graphics and file handling]]
1. [[FAQ/corrsFAQ|Questions about correlations]]
1. [[FAQ/regFAQ|Questions about regression]]
1. [[FAQ/cdaFAQ|Questions about categorical data analysis]]
1. [[FAQ/powerFAQ|Questions about p-values, significance, or power of tests]]
1. [[FAQ/nonpFAQ|Questions about nonparametric tests]]
1. [[FAQ/mvFAQ|Questions about multivariate analyses]]
1. [[FAQ/TimeSeries|Questions about time series]]
The FAQs below will be divided into categories including those above. Some of the FAQs have a few mathematical formulae which may be seen using mathplayer which may be downloaded for free from [[http://www.dessci.com/en/products/mathplayer/upgrade.htm|here.]] Computer code is featured in some of the FAQs and is highlighted in a (grey coloured) text box. This code can be copied directly to your personal PC file (e.g. into a SPSS syntax file) however you also need to copy any small piece of text immediately ''outside'' the text box when you copy the code in order to copy over the linebreaks or else you will find the text is copied over as a single line!
If you wish to search for a particular word and are using Internet Explorer just press Control-f and a 'find' slot will appear above the page in your browser. Also please note that macros in the EXCEL spreadsheets will not work (by default) unless they are [[FAQ/macros| enabled.]]
1. [[FAQ/normN|How many observations do I need to make z-scoring (assuming Normality) feasible?]]
1. [[FAQ/stables | Are there any on-line statistical tables for commonly used distributions?]]
1. [[FAQ/Sattherthwaite|Why are the degrees of freedom not whole numbers?]]
1. [[FAQ/ztcF|What is the relationship between the z, t, chi-square and F distributions?]]
1. [[attachment:asymmetry.pdf|A Normalising transformation of ratios of form (L-R)/(L+R)]]
1. [[FAQ/Combinatorics|What is the probability of a repetition in a sequence of size k taken from K stimuli?]]
1. [[FAQ/multi|How do I evaluate Multinomial probabilities of pooled trial frequencies of locations of peaks which can occur in one of K positions in each trial?]]
1. [[FAQ/wblfit|How do I fit a Weibull distribution to scores over time using MATLAB and notes on using non-linear least squares?]]
1. [[FAQ/recode|How do I recode levels of a group variable in SPSS?]]
1. [[FAQ/stars|Why does SPSS give a row of asterisks instead of a mean in the outputted pivot table?]]
1. [[FAQ/E|What does a number containing an 'E' signify and how do I remove it?]]
1. [[FAQ/itt|What is an intention to treat analysis?]]
1. [[FAQ/aster|How do I evaluate a number to a general power in SPSS?]]
1. [[FAQ/pearson|What is the relationship between the Pearson zero-order correlation and a simple regression estimate?]]
1. [[FAQ/suppress|What is the relationship between predictor variable correlations and the presence of a suppressor variable?]]
1. [[FAQ/studentres|How do I check for outliers in a simple regression with one predictor variable?]]
1. [[FAQ/LogitNPlusHalf|How do I explain adding 0.5 to the cells for the odds ratio, d' (dprime) or logit transform?]]
1. [[FAQ/OLSvML|Can I use an ordinary linear regression instead of logistic regression to test inference about proportions?]]
1. [[FAQ/heterogeneity| What is heterogeneity of variance in SPSS Probit and Logit (and Poisson) Regressions?]]
1. [[FAQ/overdis| What is overdispersion in handling proportions or count data and how do I handle it?]]
1. [[FAQ/marginhom| How do I perform tests of Marginal Homogeneity between two raters measuring the same items?]]
1. [[FAQ/Jaeger| When should I use a logit analysis as opposed to an arcsine transformed ANOVA?]]
1. [[FAQ/probitv6| Why don't I see fiducial confidence intervals doing a probit analysis in version 16 of SPSS?]]
1. [[FAQ/meta| Meta-analysis issues: 1) How do I measure publication bias? 2) How do I obtain a confidence interval for pooled estimates from sets of log odds, Cohen's d and Pearson correlations using a) meta-analysis and b)for Cohen's d as suggested for combining two studies to assess replication of a result?]]
1. [[FAQ/MatchedPairs| How do I do a matched pairs comparison on dichotomous data using covariates in SPSS?]]
1. [[FAQ/Messy| How do I handle messy data in SPSS to produce duration times from dates and frequencies from strings?]]
1. [[FAQ/ttestEXC|How do I compare a mean to a constant in EXCEL (one-sample t)?]]
1. [[FAQ/ciplots|How do I calculate a 95% confidence interval for the group means from one-way ANOVAs (using either a within or between subjects factor)?]]
1. [[FAQ/ttst|How do I compute a t-test and F ratio using only summary measures in 2x2 between and within subjects ANOVAs?]]
1. [[FAQ/Solomon| A two-way analysis of variance to assess treatment and pre-test effects (Solomon's four group design)]]
1. [[FAQ/df|How do I work out degrees of freedom for terms in an ANOVA?]]
1. [[FAQ/SumsOfSquaresTypes|In ANOVA and Regression, what do the various different types of Sums of Squares mean, and does the choice matter?]]
1. [[FAQ/subsrandom|Can I use subjects as a random or fixed factor in an ANOVA?]]
1. [[FAQ/Rss|Sums of squares used by R in lm, lmer and aov]]
1. [[FAQ/wmeans|A note about unequal group sizes in ANOVA]]
1. [[FAQ/sstypes|A note about different sums of squares in unbalanced factorial ANOVAs]]
1. [[FAQ/cis|A note on comparing confidence intervals and statistical significance]]
1. [[FAQ/poolse|How do I obtain a pooled standard error of the mean?]]
1. [[FAQ/semsd|How do I obtain the standard deviation from the standard error of the mean (s.e.m.) and how does this and the mean vary with sample size?]]
1. [[FAQ/FVars| What is the variance of the mean of my transformed data and the variance of combinations of means?]]
1. [[FAQ/VarMSE| What is the value of the error variance for raw data using that of its scalar transformed data?]]
1. [[FAQ/wttest| How do I do a t-test between two weighted means?]]
1. [[FAQ/meanmed|What is the relationship between the mean and the median from a sample and how do I compute 95% CIs for the median?]]
1. [[FAQ/thirds|What is an optimal cut-off for the discretization/splitting of a continuous variable and how do we use this in a regression?]]
1. [[FAQ/eorder| A quick approximation for Normally distributed expected order statistics]]
1. [[FAQ/zpercs| How do I convert a z-score into a percentile in SPSS?]]
1. [[FAQ/subscale| How do I derive an expected total for a subset of items based on the expected overall total?]]
1. [[FAQ/absdiff| How do I compute a difference in errors adjusted for overall number of errors when the errors have different signs?]]
1. [[FAQ/rmform| How do I format data for input into a repeated measures analysis in SPSS?]]
1. [[FAQ/transp| What does the TRANSPOSE ALL DATA option in the RESTRUCTURE menu do in SPSS?]]
1. [[FAQ/restwb| Using the VARSTOCASES command in SPSS to convert repeated measures formatted data to a random effects (including multilevel) model format (and the CASESTOVARS command for the reverse operation).]]
1. [[FAQ/glmrm| How do I perform a repeated measures analysis of variance in SPSS?]]
1. [[FAQ/glm99rm| How do I perform a repeated measures analysis of variance in SPSS involving repeated measures factors with more than 99 levels?]]
1. [[FAQ/anovaR| How do I perform a repeated measures analysis of variance in R including correcting for sphericity?]]
1. [[FAQ/aovgens| How do I perform a repeated measures analysis of variance in GENSTAT (and MATLAB)?]]
1. [[FAQ/aovmtb| How do I perform a repeated measures analysis of variance in MINITAB (and use an analogous procedure in SPSS to produce post-hocs on a repeated measures factor)?]]
1. [[FAQ/rpcon| How do I perform a non-standard comparison of means in a repeated measures anova in SPSS?]]
1. [[FAQ/Interaction|How do I work out the meaning of a significant interaction?]]
1. [[FAQ/Int4|How do I interpret a four-way interaction?]]
1. [[FAQ/bwss| What is the effect of dropping a between by within subjects interaction on other terms in a mixed anova?]]
1. [[FAQ/contint|How do I test for an interaction involving a continuous variable (moderation analysis)?]]
1. [[FAQ/hier|What is the difference between a hierarchical and a stepwise regression? Also:a reference for an alternative, decision trees]]
1. [[FAQ/stepints|How do I perform a stepwise regression in SPSS involving interactions?]]
1. [[FAQ/SpssMancova|Aspects of ANCOVA (Analysis of Covariance)]]
1. [[http://www.theanalysisfactor.com/assumptions-of-ancova/ | Why don't I need to use a covariate which differs between randomised groups in an ANCOVA?]]
1. [[FAQ/ancrm|Comparing ANCOVA to Repeated Measures ANOVA]]
1. [[FAQ/ancreg|Can I do an analysis of covariance using a regression (including computation of covariate adjusted means) and use this to adjust for regression to the mean?]]
1. [[FAQ/ANORES|ANCOVA versus Analysis of Residuals]]
1. [[FAQ/errsvars|How do I handle errors in variables to estimate slopes and intercepts in a linear regression?]]
1. [[FAQ/constantcov|Inappropriate use of a constant covariate in repeated measures ANCOVA]]
1. [[FAQ/Manova|How do I adjust for varying covariates in a repeated measures ANOVA in SPSS?]]
1. [[FAQ/Manzeroes|How do I obtain an interaction in SPSS to describe how a fixed covariate influences a repeated measures interaction?]]
1. [[FAQ/Auc| What summary measures can I use to describe repeated measures?]]
1. [[FAQ/polybs| How do I test for a trend, or contrast, between group means in a one-way ANOVA representing different subjects and also check location of asymptotes on a curve?]]
1. [[FAQ/intercept| Interpreting the intercept term in a regression when covarying out predictors of within-subject difference scores]]
1. [[FAQ/intuni| What is the importance of including an intercept term in the SPSS (between subjects ANOVA) univariate procedure?]]
1. [[FAQ/constregSPSS| How do I obtain covariance terms involving the intercept term in a linear regression using SPSS?]]
1. [[FAQ/singcaserefs| Are there any primer publications explaining rationale and application of single case studies?]]
1. [[FAQ/beta| How do I compute linear trend coefficients for single cases?]]
1. [[FAQ/singcase| How do I compare a within subjects group difference to that of a single case?]]
1. [[FAQ/Tukey| How do I interpret subsets in Tukey's HSD output?]]
1. [[FAQ/TukeyKramer| How do I compare all pairwise comparisons in a between subjects anova (and in a repeated measures anova)?]]
1. [[FAQ/SimpleMainEffects|Why won't SPSS let me do post hoc tests involving a within-subjects factor?]]
1. [[FAQ/SimpleEffs|How do I do a simple effects analysis in SPSS?]]
1. [[FAQ/SobelTest|How do I test whether one independent variable has an influence on a dependent variable other than via the mediation of a second independent variable? (Sobel Test)]]
1. [[FAQ/causation|Can I fit two-way links between variables in a path model?]]
1. [[FAQ/ChiSquaredSpss|How do I get SPSS to do a Chi-squared analysis of a two-way frequency table?]]
1. [[FAQ/onechi|How do I compare a list of observed frequencies with a list of my own expected frequencies?]]
1. [[FAQ/ChiEqual|Using a chi-square to see if two or more proportions are equal]]
1. [[FAQ/AdjRes|How do I know which elements contribute to a relationship in a two-way frequency table?]]
1. [[FAQ/ChiExact| When do I use Fisher's exact test instead of chi-square?]]
1. [[FAQ/chiwww| How do I obtain Fisher's exact test and chi-square for a two-way table in EXCEL or a 2x2 table on the web?]]
1. [[FAQ/yates| When do I use the correction for continuity when performing a chi-square analysis on a 2x2 table?]]
1. [[FAQ/ChiTrend|How do I do a linear trend of proportions in a Chi-squared analysis in SPSS?]]
1. [[FAQ/ChiMono|How do I test for a strictly increasing or decreasing series on a set of individuals (not necessarily linear)?]]
1. [[FAQ/ChiMono2|How do I test for the presence of an unknown ordering across subjects using 2 Dimensional data?]]
1. [[FAQ/RepeatedMeasuer|Repeated measures, Mixed models and Split-plot designs: A Rant]]
1. [[FAQ/Mauchly|What is the formula for Mauchly's W used for testing sphericity in univariate repeated measures anova?]]
1. [[FAQ/excmac|Why do I get a NAME? appearing in cells when I try to run an EXCEL spreadsheet program?]]
1. [[FAQ/split|How do I split comma delimited data occurring in a single cell into separate columns in EXCEL?]]
1. [[FAQ/ref|How do I make bibliographic citations of a SPSS or R procedure?]]
1. [[FAQ/screen|How do I copy a SPSS window into a document?]]
1. [[FAQ/compute|Why does SPSS give me a file definition error message when I run syntax?]]
1. [[FAQ/SPSSout| How do I get my SPSS output file to open in a new version of SPSS?]]
1. [[FAQ/emailSpo|How do I e-mail a SPSS output file?]]
1. [[FAQ/port|How do I e-mail a SPSS data file created on a PC so that it is readable on a MAC (and vice-versa)?]]
1. [[FAQ/Rin|How do I read R syntax code into a R session and obtain primers on other issues to get started with R?]]
1. [[FAQ/Rpackin|How do I download R libraries?]]
1. [[http://www.harding.edu/fmccown/R/|A primer on producing plots (and pdf copies) in R.]]
1. [[FAQ/Ratomic|How to avoid "$ operator is invalid for atomic vectors" in R]]
1. [[FAQ/spsssas|How do I read a SPSS data file into SAS?]]
1. [[FAQ/pdfs|How do I convert a Microsoft file application (e.g. powerpoint) into a pdf file?]]
1. [[FAQ/sumifs|How do I recode ACE-R scores (prior to summing) in EXCEL?]]
1. [[FAQ/ExcelErrorBars|How do I put error bars on an EXCEL bar and line graphs?]]
1. [[FAQ/SPSSErrorBars|How do I produce interaction plots in SPSS?]]
1. [[FAQ/ExcelErrorBarPlot|How do I plot boxplots in EXCEL?]]
1. [[FAQ/points|How do I scatterplot observations which have the same set of co-ordinates?]]
1. [[faq/excelplot|How can I distinguish groups on a scatterplot in Excel?]]
1. [[FAQ/lines|How do I do a multiple line plot of cluster profiles for different factors in SPSS?]]
1. [[FAQ/bar|How do I produce a bar chart including one with empty categories and other features in SPSS?]]
1. [[FAQ/BinomialConfidence|Improved Confidence Limits for a binomial proportion and differences in binomial proportions]]
1. [[FAQ/Poisson|How do I compare observed numbers correct to those expected by chance in a multi-choice task?]]
1. [[FAQ/barpercent|How do I produce an interactive bar chart of percentages in SPSS?]]
1. [[FAQ/regline|How do I put one or more regression lines on a scatterplot in SPSS Version 12.0 and above and in R?]]
1. [[FAQ/reglineR|How do I plot user defined regression lines (such as those from ANCOVA) in R?]]
1. [[FAQ/intcptr2|Why does the R-squared change when I fix the intercept in my regression line from its least squares value?]]
1. [[FAQ/box|How do I produce a clustered boxplot and other more advanced graphics in SPSS?]]
1. [[FAQ/pdfword|How do I convert a pdf file into a MSWord or MSPowerpoint file?]]
1. [[FAQ/ppts|How do I convert a powerpoint show file so it can print handouts?]]
1. [[FAQ/pphttp|How do I activate a hypertext link in powerpoint?]]
1. [[FAQ/toolkit|How do I add in the analysis toolkit (and other add-ins) into EXCEL?]]
1. [[FAQ/skew|How should I deal with outliers when doing correlations?]]
1. [[FAQ/rankit|Rank-based and other correlations (percentage bend) which are robust to non-Normal data]]
1. [[FAQ/rt1d|How do I correlate change in score with score at baseline?]]
1. [[FAQ/balt|How do I measure agreement to see if two measures are measuring the same thing (Bland and Altman plots)?]]
1. [[FAQ/constr|Can I do a correlation between two variables where one variable is less than or equal to the other?]]
1. [[FAQ/partsp|How do I produce nonparametric Spearman partial correlations using SPSS?]]
1. [[FAQ/Collinearity|What is Collinearity in multiple regression, and what do I do about it?]]
1. [[FAQ/condnoR| How do I find the condition number of a matrix using R?]]
1. [[FAQ/facnum| How do I convert a factor variable into a numeric in R?]]
1. [[FAQ/nom| How do I perform a regression with a categorical outcome?]]
1. [[FAQ/iso| How do I look for the best fitting model with an unknown changepoints on ordered data?]]
1. [[FAQ/dummyCor|Regression diagnostics for categorical variables]]
1. [[FAQ/CounterBalancing|How can I design an experiment so that conditions are counterbalanced for order?]]
1. [[FAQ/wald|What is the Wald statistic?]]
1. [[FAQ/x1se|How do I compute the standard error of X1 in a regression also featuring X2?]]
1. [[FAQ/ab-a|What is the relationship between regressions involving variables A and B to those involving B-A and A+B in predicting an outcome?]]
1. [[FAQ/covary|How do I test to see if a mean adjusted for a covariate equals zero in a single group?]]
1. [[FAQ/betase|How do I compute the standard error of ''beta'' in a linear regression in SPSS?]]
1. [[FAQ/ResidualsNonNormality|Residuals and (Non-)Normality]]
1. [[FAQ/AICreg|How do I compute Akaike's and Bayesian information criteria (AIC, BIC) to compare regression models and how do I interpret them?]]
1. [[FAQ/ResidsRepMeas|How do I check Normality assumptions in repeated measures analyses in SPSS?]]
1. [[FAQ/WsubEffects| What is the difference between within subjects effects and within subjects contrasts in SPSS?]]
1. [[FAQ/MANOVA|When should I use a Multivariate Analysis of Variance (MANOVA)?]]
1. [[FAQ/Simon|Testing normality including rules of thumb for skew, kurtosis in SPSS]]
1. [[FAQ/Winsor|Methods of handling outliers.]]
1. [[FAQ/paranp|Are there any references suggesting advantages to using parametric tests as opposed to nonparametric ones?]]
1. [[FAQ/kw|How do I compare a specific pair of groups post-hoc in SPSS using the Kruskal-Wallis test?]]
1. [[FAQ/sgn|How do I compare the distributions and magnitudes of a set of positive and negative values (including accessing results from nonparametric tests in SPSS 19 and later)?]]
1. [[FAQ/fried|Post-hoc nonparametric pairwise comparisons of a one-way within subjects factor]]
1. [[FAQ/mwp|How do I know whether to use an exact or asymptotic p-value with a Mann-Whitney or Kruskal-Wallis test?]]
1. [[FAQ/npreg|Is there such a thing as a nonparametric regression?]]
1. [[FAQ/nonpmainf|A note about using ranked outcomes in t-tests and ANOVAs including nonparametric interactions and Quade's test]]
1. [[FAQ/npexact|Performing randomisation tests using nonparametric methods]]
1. [[FAQ/ranksum|What is the expected total discrepancy score in a R choice task?]]
1. [[FAQ/pvs|How do I adjust p-values for number of comparisons using SPSS and R?]]
1. [[FAQ/SpssBonferroni|What are adjusted p-values in SPSS?]]
1. [[FAQ/CombiningPvalues|Combining p-values by Fisher's and Stouffer's methods]]
1. [[FAQ/CombiningZandT|Summing z values and summing t values]]
1. [[FAQ/Fdfs|Why does the value of one in the F distribution have a p-value which is less than 1?]]
1. [[FAQ/BinomialConfidence|Improved Confidence Limits for a binomial proportion]]
1. [[FAQ/RatCaseVar|Is there an optimal ratio of cases to predictor variables I should have before doing a multivariate analysis or any guide as to total sample size?]]
1. [[FAQ/RegCor|What is the relationship between significance tests of regression coefficients and of correlation coefficients?]]
1. [[FAQ/semiprinR|How do I compute the semi-partial correlation coefficient in R?]]
1. [[FAQ/rsqdiff|How do I compare two squared (semi-partial) correlation coefficients (R-squareds) from different samples?]]
1. [[FAQ/cohenrsq|How do I compare two squared (semi-partial) correlation coefficients from the same sample?]]
1. [[FAQ/rsqadj|How do I adjust R-squareds for the number of predictors in a model?]]
1. [[FAQ/multilevel| What are random effect and multilevel models, when do I use them and are there effect sizes?]]
1. [[FAQ/mixedR| Where can I find out about using random effects (including multilevel) models in R (including obtaining proportion of variance explained by a variable) & in SPSS?]]
1. [[FAQ/hess| What does an error message concerning the Hessian matrix suggest when running a mixed (random effects) model?]]
1. [[FAQ/ssq| What does 's' denote in describing a General Linear Model (GLM) and a note on Generalized Linear Models in SPSS?]]
1. [[FAQ/gam| What is a Generalized Additive (Mixed) Model (GA(M)M) and when do I use it?]]
1. [[FAQ/subsets| How do I perform all possible subsets regression in SPSS?]]
1. [[FAQ/AdequateFit|How well does a regression line fit?]]
1. [[FAQ/dummy| How do I construct dummy variables for use in SPSS linear regression?]]
1. [[FAQ/RegressionOutliers|Checking for outliers in regression]]
1. [[FAQ/RegressionPart|What is the role of a Part or Semi-Partial Correlation in a regression?]]
1. [[FAQ/avcor|How do I obtain an average correlation?]]
1. [[FAQ/corrs|How do I test if a correlation is zero and compute its confidence interval?]]
1. [[FAQ/corrdf|How many degrees of freedom are associated with a test of whether a zero-order or multiple correlation equals zero?]]
1. [[FAQ/rdf|How do I estimate a pooled correlation using multiple scores from a set of subjects?]]
1. [[FAQ/pvs|How do I adjust p-values to test if more than one correlation is zero?]]
1. [[FAQ/corrsCi|How do I obtain a 95% confidence interval for a correlation (or slope in a simple regression) in SPSS?]]
1. [[FAQ/adjgp|How do I adjust a correlation for group differences (using partial/semi-partial correlations)?]]
1. [[FAQ/WilliamsSPSS|How do I compare a pair of correlations?]]
1. [[FAQ/cronr|How do I work out reliability for three or more items? (Cronbach's alpha, composite reliability and Raykov's rho)]]
1. [[FAQ/conval | What thresholds should I use for convergent validity?]]
1. [[FAQ/pilot| Can I combine pilot data with main study data?]]
1. [[FAQ/onesp| When and how do I evaluate a one-sided p-value and quote a one-sided 95% confidence interval?]]
1. [[FAQ/powtabs| What sample sizes do I need for doing tests with a given power?]]
1. [[FAQ/studyN| General rules of thumb for sample sizes in pilot studies]]
1. [[FAQ/polychoric| What are polychoric correlations and how do I compute them and use in SPSS?]]
1. [[FAQ/patternMatrix| Which matrix of loadings do I use doing a principal components extraction or non-PC analysis with a direct oblimin rotation when doing a factor analysis?]]
1. [[http://pareonline.net/getvn.asp?v=14&n=20| A guide to the pros and cons of choosing a method for producing factor scores from a factor analysis]]
1. [[FAQ/thresholds| What thresholds should I use for factor loading cut-offs?]]
1. [[FAQ/congruenceC| How do I compare a pair of factor loadings?]]
1. [[FAQ/structure|How do I assess the importance of variables in a Normal Discriminant analysis?]]
1. [[FAQ/compare| What is the difference between principal components analysis, principal axis analysis and other factor extraction methods?]]
1. [[FAQ/PlusFac| How do I interpret variables which load on more than one factor?]]
1. [[FAQ/NoFactors| How many factors/components should I retain in a factor/principal components analysis?]]
1. [[FAQ/Cronbach| A note on Cronbach's Alpha.]]
1. [[FAQ/PlusFac| How do I interpret variables which load on more than one factor?]]
1. [[FAQ/cancorr| What is canonical correlation and where can I use it?]]
1. [[FAQ/mds| What is multidimensional scaling and how do I do it?]]
1. [[FAQ/missing|How do I handle missing data in multivariate analyses in SPSS?]]
1. [[FAQ/locf|Using SPSS syntax to impute last observation carried forward (LOCF) for missing values in SPSS]]
1. [[FAQ/cc|How do I find complete cases in SPSS and R?]]
1. [[FAQ/lag|How can I detect identical cases (duplicates) in SPSS without having an ID number?]]
1. [[FAQ/EXponential| How do I produce truncated exponential random variables using MATLAB?]]
1. [[FAQ/mixtures| How do I obtain parameter estimates for finite Normal mixture distributions using SPSS and BMDP?]]
1. [[FAQ/rand| How do I generate a random sample in EXCEL?]]
1. [[FAQ/randall| Matching groups and randomized allocation to groups]]
1. [[FAQ/rtest| Some thoughts on testing for randomness]]
1. [[FAQ/perc| How do I find out how many people have a score above a certain value?]]
1. [[FAQ/percentile| How do I compute percentile thresholds for exponential data and use these in outlier detection?]]
1. [[FAQ/kappa| Additional kappa statistic evaluation in SPSS, benchmarks on size and a measure of inter-rater agreement based on Euclidean distances]]
1. [[FAQ/icc| What is an intraclass correlation and how do I use it?]]
1. [[FAQ/multiicc | How do I compute consistency across subjects using an intraclass correlation?]]
1. [[FAQ/rest| A note on correcting for restriction of ranges which underestimate Pearson correlations]]
1. [[FAQ/rescore|How do I sum rescored scales in SPSS?]]
1. [[FAQ/summiss|How do I obtain sums and means of partially complete cases in SPSS?]]
1. [[FAQ/MeanSum|How do I obtain the mean of several variables, each minus the same constant?]]
1. [[FAQ/zscore|How do I compute z-scores in SPSS and what is their relationship to comparing group means?]]
1. [[FAQ/signt|Why does my t-statistic have a negative sign?]]
1. [[FAQ/pvals|How do I use cumulative distribution functions to compute p-values in SPSS, EXCEL and R?]]
1. [[FAQ/surv|How do I adjust for age in comparing survival times of two different groups?]]
1. [[FAQ/t1t2|What is the relationship between intercept and slope for scores at two time points?]]
1. [[FAQ/atan|Arctan functions in EXCEL.]]
1. [[FAQ/cdfs| How do I obtain statistical distributions in MATLAB?]]
1. [[FAQ/gamma|How do I produce random variables which follow a negative skew distribution?]]
1. [[FAQ/boot| Simulations sampling from data with replacement (bootstrapping)]]
1. [[FAQ/secretS| Bootstrapping without replacement (Secret Santa) in R]]
1. [[FAQ/mvngen| Generating multivariate data with a required correlation matrix]]
1. [[FAQ/formulae| How do I obtain the formulae behind statistics outputted by SPSS algorithms?]]
1. [[FAQ/lrchi| How do I summarise a fit for a logistic regression model?]]
1. [[FAQ/looe| How do I compute a leaving-one-out error rate for a logistic regression in SPSS?]]
1. [[FAQ/infmles|Why are the standard errors so large in logistic regression?]]
1. [[FAQ/logrrsq|How do I choose between different logistic regression models?]]
1. [[FAQ//mlr|How do I interpret output from a Multinomial logistic regression?]]
1. [[FAQ/OddsRa| Using an Odds Ratio to summarise a 2x2 frequency table]]
1. [[FAQ/oddsr|How do I test an odds ratio?]]
1. [[FAQ/addcounts|How do I combine proportions?]]
1. [[FAQ/cluster|How do I perform a cluster analysis in R?]]
1. [[FAQ/threshold|Which discriminant analysis should I use to obtain thresholds to indicate levels of abnormality using a single variable?]]
1. [[FAQ/roc|How do I plot and interpret a ROC curve in assessing strength in two group prediction?]]
1. [[FAQ/criteria|Can you recommend any two group discriminant diagnostics?]]
1. [[FAQ/NDcasestat|Which output criteria should I use when using the casewise results option with the Normal discriminant method in SPSS?]]
1. [[FAQ/sigdet|How do I compute signal detection diagnostics?]]
1. [[FAQ/sem|Structural equation modelling in R]]
1. [[FAQ/euclid|What is Euclidean distance and how do I compute it?]]
1. [[FAQ/mahal|How do I detect multivariate outliers?]]
1. [[FAQ/texts| Can you recommend any statistical textbooks?]]
1. [[FAQ/mvnormc|How do I check for multivariate normality?]]
1. [[FAQ/uneqcovs|What do I do if I have unequal group covariance matrices when doing a MANOVA?]]
1. [[FAQ/pvalues|How do I find p-values using critical values as input in SPSS?]]
1. [[FAQ/SpssBonferroni|Adjusted p-values]]
1. [[FAQ/FDR|How do I do False Discovery Rate (FDR) corrections for multiple tests?]]
1. [[FAQ/Bayes|How do I calculate and interpret conditional probabilities?]]
1. [[FAQ/pvalsdef|What is a p-value?]]
1. [[FAQ/word|How do I produce equations using MS Word?]]
1. [[FAQ/effectSize| A guide to magnitudes of effect size]]
1. [[FAQ/prep| Problems using p-rep, the Probability of Replication]]
1. [[FAQ/dunlap| A quick guide to choice of sample sizes for Cohen's effect sizes]]
1. [[FAQ/comparezt|A note on comparing z and t statistics and their p-values?]]
1. [[FAQ/td| How do I convert a t-statistic (and an Odds Ratio) into an effect size?]]
1. [[FAQ/cd| How do I compute Cohen's d in SPSS and EXCEL and its and eta-squared confidence interval in SPSS, R or EXCEL?]]
1. [[FAQ/hedgeg| How do I compute Hedge's g from Cohen's d?]]
1. [[FAQ/mse| How do I compute Mean Square Error (MSE) in EXCEL or SPSS?]]
1. [[FAQ/effcis| A guide to obtaining confidence intervals for effect sizes]]
1. [[FAQ/Escomp| How do I compute effect sizes (including variance adjusted ones)?]]
1. [[FAQ/powprogs|How do I do power calculations in SPSS, EXCEL, R and using web freeware?]]
1. [[FAQ/powposi|How do I do power (sample size) calculations on Poisson counts?]]
1. [[FAQ/pownp| How do I do power calculations using formulae for one sample t and sign tests?]]
1. [[attachment:senspN.xls|How do I work out sample size for apriori specificities and sensitivities?]]
1. [[FAQ/equival|How do I compute statistical tests of equivalence?]]
1. [[FAQ/SPSSpow|Computing Power for ANOVAs using the SPSS GLM procedure]]
1. [[attachment:MANpow.pdf|Computing Power for ANOVAs using the SPSS MANOVA procedure]]
1. [[FAQ/JonckheereTrendTest| Jonckheere's and Page's L Trend Tests]]
1. [[FAQ/orthopolys|Fitting linear orthogonal polynomials]]
1. [[FAQ/lincon|How do I compare group means in a non-standard post-hoc contrast?]]
1. [[FAQ/Dunnett|How do I compare a set of group means with a control group mean?]]
1. [[FAQ/intsg|How do I manually compute t-statistics to compare means in a repeated measures ANOVA having 3 or more groups?]]
1. [[FAQ/ss|Formulae for interaction sums of squares in balanced designs]]
1. [[FAQ/TimeSeries/GrangerCausality|Information about Granger Causality]]
----
[[CbuStatistics|Return to Statistics main page]]
[[http://www.mrc-cbu.cam.ac.uk/|Return to CBU main page]]
These pages are maintained by [[mailto:ian.nimmo-smith@mrc-cbu.cam.ac.uk|Ian Nimmo-Smith]] and [[mailto:peter.watson@mrc-cbu.cam.ac.uk|Peter Watson]] (/center)
[Last updated on 1 July 2006]