I would be grateful for general guidance/advice about data analysis with some data that is problematic for me because of the small sample size, and the large number of categorical data. I realize this question is a bit vague, but that's because I'm not sure what to do. I'd like to come up with some good descripive characterization of the data, and see if ther's any way to make any meaningful inferences.

Sample size = 13, number of variables 93 (81 categorical, only 12 numerical). In the past I've worked with mostly numeric data with large sample sizes so I'm not sure how to proceed.

Given the small sample, I don't feel I can make any assumptions about normality.

Other than generating basic descriptive statistics (mean, std dev for the numeric data, and tables for the categorical data) what else can I do to meaningfully summarize this data?

Is it possible to generate some reliable confidence intervals for the means via some nonparametric tests with such limited data?

In addition to descriptive statistics, I am also wondering about simple linear regression. From what I have read, automatic selection of relevant variables, say via stepwise regression, is questionable to start with, and especially with such a mall sample won't be reliable. Also, I'm not so much interested in prediction, as to exploration of the relationships between a numeric response variable and the rest of the data.

I also worry about detecting collinearity.

With numeric data I could generate a correlation matrix, not sure this makes sense with this small sample, nor am I certain how to do the equivalent for the large set of categorical data. So not sure if there is a any automatic or semi-automatic way for stats to guide me to the relevant variables as a start and then take it from there. I.e., other than manually considering various combinations of independent variables, is there another way?

I'm using R.

  • 1
    $\begingroup$ I upvoted the question as well-considered and well-written. Still, I think ultimately you'll want to have an in-depth conversation with a mentor or consultant rather than rely on Q&A here. That way the person could consider your goals, the audience for your analysis, the level of rigor you want to maintain, the amount of time you have to devote, and your level of expertise with different methods. $\endgroup$
    – rolando2
    Aug 16, 2014 at 12:47
  • $\begingroup$ @rolando2 I appreciate the comment (and the upvote). I didn't just plunk down the question, it took me quite a while to formulate it, so I am happy that's evident. I realize it's rather broad. I guess it boils down to what sort of descriptive stats can I generate for this data set, and is there any way through tests/procedures to help guide me in focusing on the relevant (or more relevant) subset of explanatory variables. My experience has been will larger samples, and exclusively numeric variables, so this throws me on both accounts. (Stats is pretty cool, ... $\endgroup$
    – Levon
    Aug 16, 2014 at 16:52
  • $\begingroup$ @rolando2 (con't) I wish I would have had this appreciation back when I took required stats classes in school -- I clearly did not :/ ) Do you think it would make sense to break this question down into parts and post those? I agree about talking to a mentor, problem is, I don't have someone easily accessible (but I'll look again). Thanks $\endgroup$
    – Levon
    Aug 16, 2014 at 16:53
  • 1
    $\begingroup$ Here is a similar question, to which I provided an answer that appeared useful, and the other answers were that you should try your best to find more data. stats.stackexchange.com/questions/110513/… $\endgroup$ Aug 17, 2014 at 0:20
  • 1
    $\begingroup$ @BrashEquilibrium Thanks again .. that was useful. The only thing I won't be able to do is collect more data as I'm working of a given dataset that was collected two years ago. $\endgroup$
    – Levon
    Aug 18, 2014 at 14:35

1 Answer 1


I guess you have some working hypothesis. I would work like in the "good old time" when you had no cheap computing power and powerful stats programs at hand: regroup categorical variables that fit together on substantial grounds linked to your working hypothesis, not because they correlate.

In any case with n=13 you can run an exploratory analysis, but not something more complicated.

Once you have somewhat reduced the number of variables and gotten more meaningful "factors" you can work as in qualitative data analysis: take a spreadsheet and you sort the cases in the rows on some major, substantial issue and put your regrouped categorical variables in the columns and sort them, too, on the basis of your knowledge of the research field. Do you see a pattern ? Maybe you have to eliminate further variables. Are your conceptions now confirmed ?

If you work in political science (for instance) the cases might come from two different sub-samples: from countries that are democracies and others that are run by dictators. So, you will do a sub-sorting for democracies and another one for dictatorships.

You can find more of these ideas in Miles & Huberman, 1994, Qalitative Data Analysis. Sage .

A statistical program that might help you because it is very visual and you have so few cases is the free ViSta from Forest Young. See http://www.uv.es/visualstats/Book/

I am also somewhat puzzeld about the people that demanded you to work with this data set. Do they know their stats ?

If you explain the type of data set you work with maybe you get better answers.

I wish you good luck, and data with an easy structure and no missings!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.