FAQ 
Calendar 


#1




Fairly basic statistics question.
Okay, so as a professional biologist it pains me to admit this, but I know little to nothing about statistics. I can do a Chisquared analysis on Mendelian ratios and a MannWhitley Utest for a single parameter, but that's about it.
So I currently have a data set that has two parameters  age of the mouse embryo, and length of a particular tissue  with three different mutant genotypes. When I do a scatter plot of the data, it looks like this. The different colors represent different genotypes (I had Excel add "Trend lines", whatever the hell those are.) So, to my eye, there is no difference between the different genotypes (colors), but I need someone to point me towards the right test to use to actually get a pvalue out of that subjective judgment. Anyone want to lend a hand? Thanks, mischievous 
#2




I assume you're trying to determine whether the association between age and tissue length differs across the three genotypes. If that's correct, you want to do a regression model (probably a linear regression) in which the dependent variable (the thing you are trying to predict) is presumably tissue length, and the predictor variables are age, genotype, and the interaction of age by genotype. (The interaction is the effect you are interested in.) The one thing that is a bit tricky is that the genotype variable has to be represented by a set of two indicator, or "dummy", variables, which will mean that the interaction effect will also be represented by two dummy variables. It might be better to find someone who can walk you through that in person. (You could avoid that problem by running a set of three models, each comparing one pair of genotypes  A vs. B, B vs. C, and A vs. C... that's not the standard way of doing it, though, because it raises the issue of what is called "multiple comparisons". Generally, when you do that, you correct for it by using a more stringent criterion of significance than you otherwise would.)
Hope this helps... 
#3




Actually, the thing I'm trying to establish is whether genotype makes a difference, i.e. whether the length of the tissue is longer or grows faster in some mutants than in others.
I think (if I understand it correctly) that linear regression will tell me how fast the tissue is growing in each genotype (i.e. the slope of the line), but will not tell me if the lines for each genotype are the same. Is that correct? 
#4




Quote:
Last edited by cjepson; 12022009 at 04:58 PM. 


#5




cjepson's suggestion to use dummy variables is the simplest way to approach this, but you can't do multiple regression in Excel. What else do you have access to?

#6




I'm not sure  I don't even know what to look for. I work at the NIH, which has site licenses to a fair amount of software, if you could suggest some names I could go looking for.

#7




look for stata, spss, sas, R. The problem is, you need to know what you are doing (ie know the software). For the record I would also try the proposed regression model, just make sure you have one dummy less than you have categories (so in your case only 2 dummies and interaction effects) the result you get will tell you hwo that particular category does compared to the one you didn't include...this also means that one model will not tell you whether the two categories that you did give a dummy are different from each other. In order to know this you need to run another model where one of the other categories is the one that is the base (so not with a dummy). I must say that at a glance there seems to be little difference...but if your sample is large enough there might still be significant outcomes.
ps I think I once heard somebody talk about doing regressions in excel, so it might be possible, don't ask me how tough. 
#8




Quote:
ETA: SPSS has a free trial download. Last edited by xash; 12022009 at 07:18 PM. 
#9




Quote:

#11




Okay, tomorrow I'll go looking for some software. I'm sure I'll have a million questions once I get that far.
Dammit, isn't there an easy way? 
#12




You might have trouble looking for new versions of SPSS. It's called PASW now.

#13




You can do multiple regression in Excel, unless I misunderstand what you mean (multiple independent variables, one dependent variable, right?). I did this in a course I took in forecasting a few years back but haven't used it since. There is a regression tool built into the Analysis ToolPack which ships with Excel, but isn't installed by default. It's more powerful than the TREND function and will give you a sheet with all the parameters for the model, like R^{2}. I think you can even do multiple regression with TREND if you set the columns up right. But frankly this is a little like removing a screw with a pair of pliers.

#14




Okay, well, I'm an idiot. It turns out that my facility has fulltime statistics support.
I have an appointment in an hour with a statistician who says he'll lead me through the process stepbystep. Bless him. Thanks for all of the ideas, guys, and I'll keep them in mind for the next time I run into trouble. 
Reply 
Thread Tools  
Display Modes  

